package
4.38.1
Repository: https://github.com/pulumi/pulumi-aws.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Use this data source to get the ID of a registered AMI for use in other resources.
Use this data source to get a list of AMI IDs matching the specified criteria.
No description provided by the author
No description provided by the author
Parses an Amazon Resource Name (ARN) into its constituent parts.
No description provided by the author
The Autoscaling Groups data source allows access to the list of AWS ASGs within a specific region.
No description provided by the author
`getAvailabilityZone` provides details about a specific availability zone (AZ) in the current region.
No description provided by the author
The Availability Zones data source allows access to the list of AWS Availability Zones which can be accessed by an AWS account within the region configured in the provider.
No description provided by the author
Use this data source to get the Account ID of the [AWS Billing and Cost Management Service Account](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-getting-started.html#step-2) for the purpose of permitting in S3 bucket policy.
Use this data source to get the access to the effective Account ID, User ID, and ARN in which this provider is authorized.
The Canonical User ID data source allows access to the [canonical user ID](http://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html) for the effective account in which this provider is working.
## Example Usage ### Basic Usage ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := aws.GetDefaultTags(ctx, nil, nil) if err != nil { return err } return nil }) } ```.
No description provided by the author
`ec2.Eip` provides details about a specific Elastic IP.
No description provided by the author
Use this data source to get the IP ranges of various AWS products and services.
No description provided by the author
Use this data source to lookup current AWS partition in which this provider is working ## Example Usage ```go package main import ( "fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := aws.GetPartition(ctx, nil, nil) if err != nil { return err } _, err = iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Actions: []string{ "s3:ListBucket", }, Resources: []string{ fmt.Sprintf("%v%v%v", "arn:", current.Partition, ":s3:::my-bucket"), }, Sid: pulumi.StringRef("1"), }, }, }, nil) if err != nil { return err } return nil }) } ```.
## Example Usage ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { privateS3VpcEndpoint, err := ec2.NewVpcEndpoint(ctx, "privateS3VpcEndpoint", &ec2.VpcEndpointArgs{ VpcId: pulumi.Any(aws_vpc.Foo.Id), ServiceName: pulumi.String("com.amazonaws.us-west-2.s3"), }) if err != nil { return err } privateS3PrefixList := ec2.GetPrefixListOutput(ctx, ec2.GetPrefixListOutputArgs{ PrefixListId: privateS3VpcEndpoint.PrefixListId, }, nil) bar, err := ec2.NewNetworkAcl(ctx, "bar", &ec2.NetworkAclArgs{ VpcId: pulumi.Any(aws_vpc.Foo.Id), }) if err != nil { return err } _, err = ec2.NewNetworkAclRule(ctx, "privateS3NetworkAclRule", &ec2.NetworkAclRuleArgs{ NetworkAclId: bar.ID(), RuleNumber: pulumi.Int(200), Egress: pulumi.Bool(false), Protocol: pulumi.String("tcp"), RuleAction: pulumi.String("allow"), CidrBlock: privateS3PrefixList.ApplyT(func(privateS3PrefixList ec2.GetPrefixListResult) (string, error) { return privateS3PrefixList.CidrBlocks[0], nil }).(pulumi.StringOutput), FromPort: pulumi.Int(443), ToPort: pulumi.Int(443), }) if err != nil { return err } return nil }) } ``` ### Filter ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2.GetPrefixList(ctx, &ec2.GetPrefixListArgs{ Filters: []ec2.GetPrefixListFilter{ ec2.GetPrefixListFilter{ Name: "prefix-list-id", Values: []string{ "pl-68a54001", }, }, }, }, nil) if err != nil { return err } return nil }) } ``` Deprecated: aws.getPrefixList has been deprecated in favor of aws.ec2.getPrefixList.
No description provided by the author
`getRegion` provides details about a specific AWS region.
No description provided by the author
Provides information about AWS Regions.
No description provided by the author
NewProvider registers a new resource with the given unique name, arguments, and options.
PkgVersion uses reflection to determine the version of the current package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

A collection of arguments for invoking getAmi.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getAmiIds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getAmiIds.
A collection of values returned by getAmiIds.
A collection of values returned by getAmiIds.
A collection of arguments for invoking getAmi.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of values returned by getAmi.
A collection of values returned by getAmi.
A collection of arguments for invoking getArn.
A collection of arguments for invoking getArn.
A collection of values returned by getArn.
A collection of values returned by getArn.
A collection of arguments for invoking getAutoscalingGroups.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getAutoscalingGroups.
A collection of values returned by getAutoscalingGroups.
A collection of values returned by getAutoscalingGroups.
A collection of arguments for invoking getAvailabilityZone.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getAvailabilityZone.
A collection of values returned by getAvailabilityZone.
A collection of values returned by getAvailabilityZone.
A collection of arguments for invoking getAvailabilityZones.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getAvailabilityZones.
A collection of values returned by getAvailabilityZones.
A collection of values returned by getAvailabilityZones.
A collection of values returned by getBillingServiceAccount.
A collection of values returned by getCallerIdentity.
A collection of values returned by getCanonicalUserId.
A collection of arguments for invoking getDefaultTags.
A collection of arguments for invoking getDefaultTags.
A collection of values returned by getDefaultTags.
A collection of values returned by getDefaultTags.
A collection of arguments for invoking getElasticIp.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getElasticIp.
A collection of values returned by getElasticIp.
A collection of values returned by getElasticIp.
A collection of arguments for invoking getIpRanges.
A collection of arguments for invoking getIpRanges.
A collection of values returned by getIpRanges.
A collection of values returned by getIpRanges.
A collection of values returned by getPartition.
A collection of arguments for invoking getPrefixList.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getPrefixList.
A collection of values returned by getPrefixList.
A collection of values returned by getPrefixList.
A collection of arguments for invoking getRegion.
A collection of arguments for invoking getRegion.
A collection of values returned by getRegion.
A collection of values returned by getRegion.
A collection of arguments for invoking getRegions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getRegions.
A collection of values returned by getRegions.
A collection of values returned by getRegions.
The provider type for the aws package.
The set of arguments for constructing a Provider resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

GetAmiBlockDeviceMappingArrayInput is an input type that accepts GetAmiBlockDeviceMappingArray and GetAmiBlockDeviceMappingArrayOutput values.
GetAmiBlockDeviceMappingInput is an input type that accepts GetAmiBlockDeviceMappingArgs and GetAmiBlockDeviceMappingOutput values.
GetAmiFilterArrayInput is an input type that accepts GetAmiFilterArray and GetAmiFilterArrayOutput values.
GetAmiFilterInput is an input type that accepts GetAmiFilterArgs and GetAmiFilterOutput values.
GetAmiIdsFilterArrayInput is an input type that accepts GetAmiIdsFilterArray and GetAmiIdsFilterArrayOutput values.
GetAmiIdsFilterInput is an input type that accepts GetAmiIdsFilterArgs and GetAmiIdsFilterOutput values.
GetAmiProductCodeArrayInput is an input type that accepts GetAmiProductCodeArray and GetAmiProductCodeArrayOutput values.
GetAmiProductCodeInput is an input type that accepts GetAmiProductCodeArgs and GetAmiProductCodeOutput values.
GetAutoscalingGroupsFilterArrayInput is an input type that accepts GetAutoscalingGroupsFilterArray and GetAutoscalingGroupsFilterArrayOutput values.
GetAutoscalingGroupsFilterInput is an input type that accepts GetAutoscalingGroupsFilterArgs and GetAutoscalingGroupsFilterOutput values.
GetAvailabilityZoneFilterArrayInput is an input type that accepts GetAvailabilityZoneFilterArray and GetAvailabilityZoneFilterArrayOutput values.
GetAvailabilityZoneFilterInput is an input type that accepts GetAvailabilityZoneFilterArgs and GetAvailabilityZoneFilterOutput values.
GetAvailabilityZonesFilterArrayInput is an input type that accepts GetAvailabilityZonesFilterArray and GetAvailabilityZonesFilterArrayOutput values.
GetAvailabilityZonesFilterInput is an input type that accepts GetAvailabilityZonesFilterArgs and GetAvailabilityZonesFilterOutput values.
GetElasticIpFilterArrayInput is an input type that accepts GetElasticIpFilterArray and GetElasticIpFilterArrayOutput values.
GetElasticIpFilterInput is an input type that accepts GetElasticIpFilterArgs and GetElasticIpFilterOutput values.
GetPrefixListFilterArrayInput is an input type that accepts GetPrefixListFilterArray and GetPrefixListFilterArrayOutput values.
GetPrefixListFilterInput is an input type that accepts GetPrefixListFilterArgs and GetPrefixListFilterOutput values.
GetRegionsFilterArrayInput is an input type that accepts GetRegionsFilterArray and GetRegionsFilterArrayOutput values.
GetRegionsFilterInput is an input type that accepts GetRegionsFilterArgs and GetRegionsFilterOutput values.
ProviderAssumeRoleInput is an input type that accepts ProviderAssumeRoleArgs and ProviderAssumeRoleOutput values.
ProviderAssumeRolePtrInput is an input type that accepts ProviderAssumeRoleArgs, ProviderAssumeRolePtr and ProviderAssumeRolePtrOutput values.
ProviderDefaultTagsInput is an input type that accepts ProviderDefaultTagsArgs and ProviderDefaultTagsOutput values.
ProviderDefaultTagsPtrInput is an input type that accepts ProviderDefaultTagsArgs, ProviderDefaultTagsPtr and ProviderDefaultTagsPtrOutput values.
ProviderEndpointArrayInput is an input type that accepts ProviderEndpointArray and ProviderEndpointArrayOutput values.
ProviderEndpointInput is an input type that accepts ProviderEndpointArgs and ProviderEndpointOutput values.
ProviderIgnoreTagsInput is an input type that accepts ProviderIgnoreTagsArgs and ProviderIgnoreTagsOutput values.
ProviderIgnoreTagsPtrInput is an input type that accepts ProviderIgnoreTagsArgs, ProviderIgnoreTagsPtr and ProviderIgnoreTagsPtrOutput values.
No description provided by the author
RegionInput is an input type that accepts RegionArgs and RegionOutput values.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Region represents any valid Amazon region that may be targeted with deployments.