How to use the @pulumi/pulumi.runtime function in @pulumi/pulumi

To help you get started, we’ve selected a few @pulumi/pulumi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pulumi / pulumi-aws / sdk / nodejs / ebs / getVolume.ts View on Github external
export function getVolume(args?: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise {
    args = args || {};
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:ebs/getVolume:getVolume", {
        "filters": args.filters,
        "mostRecent": args.mostRecent,
        "tags": args.tags,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / codestarconnections / getConnection.ts View on Github external
export function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise {
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:codestarconnections/getConnection:getConnection", {
        "arn": args.arn,
        "tags": args.tags,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / cognito / getUserPools.ts View on Github external
export function getUserPools(args: GetUserPoolsArgs, opts?: pulumi.InvokeOptions): Promise {
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:cognito/getUserPools:getUserPools", {
        "name": args.name,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / organizations / getDelegatedServices.ts View on Github external
export function getDelegatedServices(args: GetDelegatedServicesArgs, opts?: pulumi.InvokeOptions): Promise {
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:organizations/getDelegatedServices:getDelegatedServices", {
        "accountId": args.accountId,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / redshift / getServiceAccount.ts View on Github external
export function getServiceAccount(args?: GetServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise {
    args = args || {};
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:redshift/getServiceAccount:getServiceAccount", {
        "region": args.region,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / ec2 / getLocalGatewayRouteTable.ts View on Github external
export function getLocalGatewayRouteTable(args?: GetLocalGatewayRouteTableArgs, opts?: pulumi.InvokeOptions): Promise {
    args = args || {};
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:ec2/getLocalGatewayRouteTable:getLocalGatewayRouteTable", {
        "filters": args.filters,
        "localGatewayId": args.localGatewayId,
        "localGatewayRouteTableId": args.localGatewayRouteTableId,
        "outpostArn": args.outpostArn,
        "state": args.state,
        "tags": args.tags,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / cur / getReportDefinition.ts View on Github external
export function getReportDefinition(args: GetReportDefinitionArgs, opts?: pulumi.InvokeOptions): Promise {
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:cur/getReportDefinition:getReportDefinition", {
        "reportName": args.reportName,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / elasticbeanstalk / getHostedZone.ts View on Github external
export function getHostedZone(args?: GetHostedZoneArgs, opts?: pulumi.InvokeOptions): Promise {
    args = args || {};
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:elasticbeanstalk/getHostedZone:getHostedZone", {
        "region": args.region,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / elasticloadbalancingv2 / getListener.ts View on Github external
export function getListener(args?: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise {
    pulumi.log.warn("getListener is deprecated: aws.elasticloadbalancingv2.getListener has been deprecated in favor of aws.lb.getListener")
    args = args || {};
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:elasticloadbalancingv2/getListener:getListener", {
        "arn": args.arn,
        "loadBalancerArn": args.loadBalancerArn,
        "port": args.port,
        "tags": args.tags,
    }, opts);
}
github pulumi / pulumi-aws / sdk / nodejs / workspaces / getDirectory.ts View on Github external
export function getDirectory(args: GetDirectoryArgs, opts?: pulumi.InvokeOptions): Promise {
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("aws:workspaces/getDirectory:getDirectory", {
        "directoryId": args.directoryId,
        "tags": args.tags,
    }, opts);
}