Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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);
}
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);
}
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);
}
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);
}
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);
}
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);
}
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);
}
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);
}
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);
}
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);
}