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

# Functions

No description provided by the author
GetCloudFormationType gets an existing CloudFormationType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
The CloudFormation Export data source allows access to stack exports specified in the [Output](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html) section of the Cloudformation Template using the optional Export Property.
No description provided by the author
GetStack gets an existing Stack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetStackInstances gets an existing StackInstances resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetStackSet gets an existing StackSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetStackSetInstance gets an existing StackSetInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Provides details about a CloudFormation Type.
No description provided by the author
The CloudFormation Stack data source allows access to stack outputs and other useful data including the template body.
No description provided by the author
NewCloudFormationType registers a new resource with the given unique name, arguments, and options.
NewStack registers a new resource with the given unique name, arguments, and options.
NewStackInstances registers a new resource with the given unique name, arguments, and options.
NewStackSet registers a new resource with the given unique name, arguments, and options.
NewStackSetInstance registers a new resource with the given unique name, arguments, and options.
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

Manages a version of a CloudFormation Type.
The set of arguments for constructing a CloudFormationType 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
A collection of arguments for invoking getExport.
A collection of arguments for invoking getExport.
A collection of values returned by getExport.
A collection of values returned by getExport.
A collection of arguments for invoking getCloudFormationType.
A collection of arguments for invoking getCloudFormationType.
A collection of values returned by getCloudFormationType.
A collection of values returned by getCloudFormationType.
A collection of arguments for invoking getStack.
A collection of arguments for invoking getStack.
A collection of values returned by getStack.
A collection of values returned by getStack.
Provides a CloudFormation Stack resource.
The set of arguments for constructing a Stack resource.
No description provided by the author
## Example Usage ### Basic Usage ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudformation" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudformation.NewStackInstances(ctx, "example", &cloudformation.StackInstancesArgs{ Accounts: pulumi.StringArray{ pulumi.String("123456789012"), pulumi.String("234567890123"), }, Regions: pulumi.StringArray{ pulumi.String("us-east-1"), pulumi.String("us-west-2"), }, StackSetName: pulumi.Any(exampleAwsCloudformationStackSet.Name), }) if err != nil { return err } return nil }) } ``` ### Example IAM Setup in Target Account ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { aWSCloudFormationStackSetExecutionRoleAssumeRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Actions: []string{ "sts:AssumeRole", }, Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Identifiers: interface{}{ aWSCloudFormationStackSetAdministrationRole.Arn, }, Type: "AWS", }, }, }, }, }, nil); if err != nil { return err } aWSCloudFormationStackSetExecutionRole, err := iam.NewRole(ctx, "AWSCloudFormationStackSetExecutionRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(aWSCloudFormationStackSetExecutionRoleAssumeRolePolicy.Json), Name: pulumi.String("AWSCloudFormationStackSetExecutionRole"), }) if err != nil { return err } // Documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html // Additional IAM permissions necessary depend on the resources defined in the StackSet template aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Actions: []string{ "cloudformation:*", "s3:*", "sns:*", }, Effect: pulumi.StringRef("Allow"), Resources: []string{ "*", }, }, }, }, nil); if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "AWSCloudFormationStackSetExecutionRole_MinimumExecutionPolicy", &iam.RolePolicyArgs{ Name: pulumi.String("MinimumExecutionPolicy"), Policy: pulumi.String(aWSCloudFormationStackSetExecutionRoleMinimumExecutionPolicy.Json), Role: aWSCloudFormationStackSetExecutionRole.Name, }) if err != nil { return err } return nil }) } ``` ### Example Deployment across Organizations account ```go package main import ( "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudformation" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudformation.NewStackInstances(ctx, "example", &cloudformation.StackInstancesArgs{ DeploymentTargets: &cloudformation.StackInstancesDeploymentTargetsArgs{ OrganizationalUnitIds: pulumi.StringArray{ exampleAwsOrganizationsOrganization.Roots[0].Id, }, }, Regions: pulumi.StringArray{ pulumi.String("us-west-2"), pulumi.String("us-east-1"), }, StackSetName: pulumi.Any(exampleAwsCloudformationStackSet.Name), }) if err != nil { return err } return nil }) } ``` ## Import Import CloudFormation stack instances that target OUs, using the stack set name, `call_as`, and "OU" separated by commas (`,`).
The set of arguments for constructing a StackInstances 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
Manages a CloudFormation StackSet.
The set of arguments for constructing a StackSet 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
Manages a CloudFormation StackSet Instance.
The set of arguments for constructing a StackSetInstance 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
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

CloudFormationTypeArrayInput is an input type that accepts CloudFormationTypeArray and CloudFormationTypeArrayOutput values.
No description provided by the author
CloudFormationTypeLoggingConfigInput is an input type that accepts CloudFormationTypeLoggingConfigArgs and CloudFormationTypeLoggingConfigOutput values.
CloudFormationTypeLoggingConfigPtrInput is an input type that accepts CloudFormationTypeLoggingConfigArgs, CloudFormationTypeLoggingConfigPtr and CloudFormationTypeLoggingConfigPtrOutput values.
CloudFormationTypeMapInput is an input type that accepts CloudFormationTypeMap and CloudFormationTypeMapOutput values.
GetCloudFormationTypeLoggingConfigArrayInput is an input type that accepts GetCloudFormationTypeLoggingConfigArray and GetCloudFormationTypeLoggingConfigArrayOutput values.
GetCloudFormationTypeLoggingConfigInput is an input type that accepts GetCloudFormationTypeLoggingConfigArgs and GetCloudFormationTypeLoggingConfigOutput values.
StackArrayInput is an input type that accepts StackArray and StackArrayOutput values.
No description provided by the author
StackInstancesArrayInput is an input type that accepts StackInstancesArray and StackInstancesArrayOutput values.
StackInstancesDeploymentTargetsInput is an input type that accepts StackInstancesDeploymentTargetsArgs and StackInstancesDeploymentTargetsOutput values.
StackInstancesDeploymentTargetsPtrInput is an input type that accepts StackInstancesDeploymentTargetsArgs, StackInstancesDeploymentTargetsPtr and StackInstancesDeploymentTargetsPtrOutput values.
No description provided by the author
StackInstancesMapInput is an input type that accepts StackInstancesMap and StackInstancesMapOutput values.
StackInstancesOperationPreferencesInput is an input type that accepts StackInstancesOperationPreferencesArgs and StackInstancesOperationPreferencesOutput values.
StackInstancesOperationPreferencesPtrInput is an input type that accepts StackInstancesOperationPreferencesArgs, StackInstancesOperationPreferencesPtr and StackInstancesOperationPreferencesPtrOutput values.
StackInstancesStackInstanceSummaryArrayInput is an input type that accepts StackInstancesStackInstanceSummaryArray and StackInstancesStackInstanceSummaryArrayOutput values.
StackInstancesStackInstanceSummaryInput is an input type that accepts StackInstancesStackInstanceSummaryArgs and StackInstancesStackInstanceSummaryOutput values.
StackMapInput is an input type that accepts StackMap and StackMapOutput values.
StackSetArrayInput is an input type that accepts StackSetArray and StackSetArrayOutput values.
StackSetAutoDeploymentInput is an input type that accepts StackSetAutoDeploymentArgs and StackSetAutoDeploymentOutput values.
StackSetAutoDeploymentPtrInput is an input type that accepts StackSetAutoDeploymentArgs, StackSetAutoDeploymentPtr and StackSetAutoDeploymentPtrOutput values.
No description provided by the author
StackSetInstanceArrayInput is an input type that accepts StackSetInstanceArray and StackSetInstanceArrayOutput values.
StackSetInstanceDeploymentTargetsInput is an input type that accepts StackSetInstanceDeploymentTargetsArgs and StackSetInstanceDeploymentTargetsOutput values.
StackSetInstanceDeploymentTargetsPtrInput is an input type that accepts StackSetInstanceDeploymentTargetsArgs, StackSetInstanceDeploymentTargetsPtr and StackSetInstanceDeploymentTargetsPtrOutput values.
No description provided by the author
StackSetInstanceMapInput is an input type that accepts StackSetInstanceMap and StackSetInstanceMapOutput values.
StackSetInstanceOperationPreferencesInput is an input type that accepts StackSetInstanceOperationPreferencesArgs and StackSetInstanceOperationPreferencesOutput values.
StackSetInstanceOperationPreferencesPtrInput is an input type that accepts StackSetInstanceOperationPreferencesArgs, StackSetInstanceOperationPreferencesPtr and StackSetInstanceOperationPreferencesPtrOutput values.
StackSetInstanceStackInstanceSummaryArrayInput is an input type that accepts StackSetInstanceStackInstanceSummaryArray and StackSetInstanceStackInstanceSummaryArrayOutput values.
StackSetInstanceStackInstanceSummaryInput is an input type that accepts StackSetInstanceStackInstanceSummaryArgs and StackSetInstanceStackInstanceSummaryOutput values.
StackSetManagedExecutionInput is an input type that accepts StackSetManagedExecutionArgs and StackSetManagedExecutionOutput values.
StackSetManagedExecutionPtrInput is an input type that accepts StackSetManagedExecutionArgs, StackSetManagedExecutionPtr and StackSetManagedExecutionPtrOutput values.
StackSetMapInput is an input type that accepts StackSetMap and StackSetMapOutput values.
StackSetOperationPreferencesInput is an input type that accepts StackSetOperationPreferencesArgs and StackSetOperationPreferencesOutput values.
StackSetOperationPreferencesPtrInput is an input type that accepts StackSetOperationPreferencesArgs, StackSetOperationPreferencesPtr and StackSetOperationPreferencesPtrOutput values.

# 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
No description provided by the author
No description provided by the author