cloudformation

package
v6.66.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFormationType

type CloudFormationType struct {
	pulumi.CustomResourceState

	// (Optional) Amazon Resource Name (ARN) of the CloudFormation Type version. See also `typeArn`.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Identifier of the CloudFormation Type default version.
	DefaultVersionId pulumi.StringOutput `pulumi:"defaultVersionId"`
	// Deprecation status of the version.
	DeprecatedStatus pulumi.StringOutput `pulumi:"deprecatedStatus"`
	// Description of the version.
	Description pulumi.StringOutput `pulumi:"description"`
	// URL of the documentation for the CloudFormation Type.
	DocumentationUrl pulumi.StringOutput `pulumi:"documentationUrl"`
	// Amazon Resource Name (ARN) of the IAM Role for CloudFormation to assume when invoking the extension. If your extension calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the extension handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the extension handler, thereby supplying your extension with the appropriate credentials.
	ExecutionRoleArn pulumi.StringPtrOutput `pulumi:"executionRoleArn"`
	// Whether the CloudFormation Type version is the default version.
	IsDefaultVersion pulumi.BoolOutput `pulumi:"isDefaultVersion"`
	// Configuration block containing logging configuration.
	LoggingConfig CloudFormationTypeLoggingConfigPtrOutput `pulumi:"loggingConfig"`
	// Provisioning behavior of the CloudFormation Type.
	ProvisioningType pulumi.StringOutput `pulumi:"provisioningType"`
	// JSON document of the CloudFormation Type schema.
	Schema pulumi.StringOutput `pulumi:"schema"`
	// URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. Must begin with `s3://` or `https://`. For example, `s3://example-bucket/example-object`.
	SchemaHandlerPackage pulumi.StringOutput `pulumi:"schemaHandlerPackage"`
	// URL of the source code for the CloudFormation Type.
	SourceUrl pulumi.StringOutput `pulumi:"sourceUrl"`
	// CloudFormation Registry Type. For example, `RESOURCE` or `MODULE`.
	Type pulumi.StringOutput `pulumi:"type"`
	// (Optional) Amazon Resource Name (ARN) of the CloudFormation Type. See also `arn`.
	TypeArn pulumi.StringOutput `pulumi:"typeArn"`
	// CloudFormation Type name. For example, `ExampleCompany::ExampleService::ExampleResource`.
	TypeName pulumi.StringOutput `pulumi:"typeName"`
	// (Optional) Identifier of the CloudFormation Type version.
	VersionId pulumi.StringOutput `pulumi:"versionId"`
	// Scope of the CloudFormation Type.
	Visibility pulumi.StringOutput `pulumi:"visibility"`
}

Manages a version of a CloudFormation Type.

## Import

Using `pulumi import`, import `aws_cloudformation_type` using the type version Amazon Resource Name (ARN). For example:

```sh $ pulumi import aws:cloudformation/cloudFormationType:CloudFormationType example arn:aws:cloudformation:us-east-1:123456789012:type/resource/ExampleCompany-ExampleService-ExampleType/1 ```

func GetCloudFormationType

func GetCloudFormationType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudFormationTypeState, opts ...pulumi.ResourceOption) (*CloudFormationType, error)

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).

func NewCloudFormationType

func NewCloudFormationType(ctx *pulumi.Context,
	name string, args *CloudFormationTypeArgs, opts ...pulumi.ResourceOption) (*CloudFormationType, error)

NewCloudFormationType registers a new resource with the given unique name, arguments, and options.

func (*CloudFormationType) ElementType

func (*CloudFormationType) ElementType() reflect.Type

func (*CloudFormationType) ToCloudFormationTypeOutput

func (i *CloudFormationType) ToCloudFormationTypeOutput() CloudFormationTypeOutput

func (*CloudFormationType) ToCloudFormationTypeOutputWithContext

func (i *CloudFormationType) ToCloudFormationTypeOutputWithContext(ctx context.Context) CloudFormationTypeOutput

type CloudFormationTypeArgs

type CloudFormationTypeArgs struct {
	// Amazon Resource Name (ARN) of the IAM Role for CloudFormation to assume when invoking the extension. If your extension calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the extension handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the extension handler, thereby supplying your extension with the appropriate credentials.
	ExecutionRoleArn pulumi.StringPtrInput
	// Configuration block containing logging configuration.
	LoggingConfig CloudFormationTypeLoggingConfigPtrInput
	// URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. Must begin with `s3://` or `https://`. For example, `s3://example-bucket/example-object`.
	SchemaHandlerPackage pulumi.StringInput
	// CloudFormation Registry Type. For example, `RESOURCE` or `MODULE`.
	Type pulumi.StringPtrInput
	// CloudFormation Type name. For example, `ExampleCompany::ExampleService::ExampleResource`.
	TypeName pulumi.StringInput
}

The set of arguments for constructing a CloudFormationType resource.

func (CloudFormationTypeArgs) ElementType

func (CloudFormationTypeArgs) ElementType() reflect.Type

type CloudFormationTypeArray

type CloudFormationTypeArray []CloudFormationTypeInput

func (CloudFormationTypeArray) ElementType

func (CloudFormationTypeArray) ElementType() reflect.Type

func (CloudFormationTypeArray) ToCloudFormationTypeArrayOutput

func (i CloudFormationTypeArray) ToCloudFormationTypeArrayOutput() CloudFormationTypeArrayOutput

func (CloudFormationTypeArray) ToCloudFormationTypeArrayOutputWithContext

func (i CloudFormationTypeArray) ToCloudFormationTypeArrayOutputWithContext(ctx context.Context) CloudFormationTypeArrayOutput

type CloudFormationTypeArrayInput

type CloudFormationTypeArrayInput interface {
	pulumi.Input

	ToCloudFormationTypeArrayOutput() CloudFormationTypeArrayOutput
	ToCloudFormationTypeArrayOutputWithContext(context.Context) CloudFormationTypeArrayOutput
}

CloudFormationTypeArrayInput is an input type that accepts CloudFormationTypeArray and CloudFormationTypeArrayOutput values. You can construct a concrete instance of `CloudFormationTypeArrayInput` via:

CloudFormationTypeArray{ CloudFormationTypeArgs{...} }

type CloudFormationTypeArrayOutput

type CloudFormationTypeArrayOutput struct{ *pulumi.OutputState }

func (CloudFormationTypeArrayOutput) ElementType

func (CloudFormationTypeArrayOutput) Index

func (CloudFormationTypeArrayOutput) ToCloudFormationTypeArrayOutput

func (o CloudFormationTypeArrayOutput) ToCloudFormationTypeArrayOutput() CloudFormationTypeArrayOutput

func (CloudFormationTypeArrayOutput) ToCloudFormationTypeArrayOutputWithContext

func (o CloudFormationTypeArrayOutput) ToCloudFormationTypeArrayOutputWithContext(ctx context.Context) CloudFormationTypeArrayOutput

type CloudFormationTypeInput

type CloudFormationTypeInput interface {
	pulumi.Input

	ToCloudFormationTypeOutput() CloudFormationTypeOutput
	ToCloudFormationTypeOutputWithContext(ctx context.Context) CloudFormationTypeOutput
}

type CloudFormationTypeLoggingConfig

type CloudFormationTypeLoggingConfig struct {
	// Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.
	LogGroupName string `pulumi:"logGroupName"`
	// Amazon Resource Name (ARN) of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.
	LogRoleArn string `pulumi:"logRoleArn"`
}

type CloudFormationTypeLoggingConfigArgs

type CloudFormationTypeLoggingConfigArgs struct {
	// Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.
	LogGroupName pulumi.StringInput `pulumi:"logGroupName"`
	// Amazon Resource Name (ARN) of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.
	LogRoleArn pulumi.StringInput `pulumi:"logRoleArn"`
}

func (CloudFormationTypeLoggingConfigArgs) ElementType

func (CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigOutput

func (i CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigOutput() CloudFormationTypeLoggingConfigOutput

func (CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigOutputWithContext

func (i CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigOutputWithContext(ctx context.Context) CloudFormationTypeLoggingConfigOutput

func (CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigPtrOutput

func (i CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigPtrOutput() CloudFormationTypeLoggingConfigPtrOutput

func (CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigPtrOutputWithContext

func (i CloudFormationTypeLoggingConfigArgs) ToCloudFormationTypeLoggingConfigPtrOutputWithContext(ctx context.Context) CloudFormationTypeLoggingConfigPtrOutput

type CloudFormationTypeLoggingConfigInput

type CloudFormationTypeLoggingConfigInput interface {
	pulumi.Input

	ToCloudFormationTypeLoggingConfigOutput() CloudFormationTypeLoggingConfigOutput
	ToCloudFormationTypeLoggingConfigOutputWithContext(context.Context) CloudFormationTypeLoggingConfigOutput
}

CloudFormationTypeLoggingConfigInput is an input type that accepts CloudFormationTypeLoggingConfigArgs and CloudFormationTypeLoggingConfigOutput values. You can construct a concrete instance of `CloudFormationTypeLoggingConfigInput` via:

CloudFormationTypeLoggingConfigArgs{...}

type CloudFormationTypeLoggingConfigOutput

type CloudFormationTypeLoggingConfigOutput struct{ *pulumi.OutputState }

func (CloudFormationTypeLoggingConfigOutput) ElementType

func (CloudFormationTypeLoggingConfigOutput) LogGroupName

Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.

func (CloudFormationTypeLoggingConfigOutput) LogRoleArn

Amazon Resource Name (ARN) of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.

func (CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigOutput

func (o CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigOutput() CloudFormationTypeLoggingConfigOutput

func (CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigOutputWithContext

func (o CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigOutputWithContext(ctx context.Context) CloudFormationTypeLoggingConfigOutput

func (CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigPtrOutput

func (o CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigPtrOutput() CloudFormationTypeLoggingConfigPtrOutput

func (CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigPtrOutputWithContext

func (o CloudFormationTypeLoggingConfigOutput) ToCloudFormationTypeLoggingConfigPtrOutputWithContext(ctx context.Context) CloudFormationTypeLoggingConfigPtrOutput

type CloudFormationTypeLoggingConfigPtrInput

type CloudFormationTypeLoggingConfigPtrInput interface {
	pulumi.Input

	ToCloudFormationTypeLoggingConfigPtrOutput() CloudFormationTypeLoggingConfigPtrOutput
	ToCloudFormationTypeLoggingConfigPtrOutputWithContext(context.Context) CloudFormationTypeLoggingConfigPtrOutput
}

CloudFormationTypeLoggingConfigPtrInput is an input type that accepts CloudFormationTypeLoggingConfigArgs, CloudFormationTypeLoggingConfigPtr and CloudFormationTypeLoggingConfigPtrOutput values. You can construct a concrete instance of `CloudFormationTypeLoggingConfigPtrInput` via:

        CloudFormationTypeLoggingConfigArgs{...}

or:

        nil

type CloudFormationTypeLoggingConfigPtrOutput

type CloudFormationTypeLoggingConfigPtrOutput struct{ *pulumi.OutputState }

func (CloudFormationTypeLoggingConfigPtrOutput) Elem

func (CloudFormationTypeLoggingConfigPtrOutput) ElementType

func (CloudFormationTypeLoggingConfigPtrOutput) LogGroupName

Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.

func (CloudFormationTypeLoggingConfigPtrOutput) LogRoleArn

Amazon Resource Name (ARN) of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.

func (CloudFormationTypeLoggingConfigPtrOutput) ToCloudFormationTypeLoggingConfigPtrOutput

func (o CloudFormationTypeLoggingConfigPtrOutput) ToCloudFormationTypeLoggingConfigPtrOutput() CloudFormationTypeLoggingConfigPtrOutput

func (CloudFormationTypeLoggingConfigPtrOutput) ToCloudFormationTypeLoggingConfigPtrOutputWithContext

func (o CloudFormationTypeLoggingConfigPtrOutput) ToCloudFormationTypeLoggingConfigPtrOutputWithContext(ctx context.Context) CloudFormationTypeLoggingConfigPtrOutput

type CloudFormationTypeMap

type CloudFormationTypeMap map[string]CloudFormationTypeInput

func (CloudFormationTypeMap) ElementType

func (CloudFormationTypeMap) ElementType() reflect.Type

func (CloudFormationTypeMap) ToCloudFormationTypeMapOutput

func (i CloudFormationTypeMap) ToCloudFormationTypeMapOutput() CloudFormationTypeMapOutput

func (CloudFormationTypeMap) ToCloudFormationTypeMapOutputWithContext

func (i CloudFormationTypeMap) ToCloudFormationTypeMapOutputWithContext(ctx context.Context) CloudFormationTypeMapOutput

type CloudFormationTypeMapInput

type CloudFormationTypeMapInput interface {
	pulumi.Input

	ToCloudFormationTypeMapOutput() CloudFormationTypeMapOutput
	ToCloudFormationTypeMapOutputWithContext(context.Context) CloudFormationTypeMapOutput
}

CloudFormationTypeMapInput is an input type that accepts CloudFormationTypeMap and CloudFormationTypeMapOutput values. You can construct a concrete instance of `CloudFormationTypeMapInput` via:

CloudFormationTypeMap{ "key": CloudFormationTypeArgs{...} }

type CloudFormationTypeMapOutput

type CloudFormationTypeMapOutput struct{ *pulumi.OutputState }

func (CloudFormationTypeMapOutput) ElementType

func (CloudFormationTypeMapOutput) MapIndex

func (CloudFormationTypeMapOutput) ToCloudFormationTypeMapOutput

func (o CloudFormationTypeMapOutput) ToCloudFormationTypeMapOutput() CloudFormationTypeMapOutput

func (CloudFormationTypeMapOutput) ToCloudFormationTypeMapOutputWithContext

func (o CloudFormationTypeMapOutput) ToCloudFormationTypeMapOutputWithContext(ctx context.Context) CloudFormationTypeMapOutput

type CloudFormationTypeOutput

type CloudFormationTypeOutput struct{ *pulumi.OutputState }

func (CloudFormationTypeOutput) Arn

(Optional) Amazon Resource Name (ARN) of the CloudFormation Type version. See also `typeArn`.

func (CloudFormationTypeOutput) DefaultVersionId

func (o CloudFormationTypeOutput) DefaultVersionId() pulumi.StringOutput

Identifier of the CloudFormation Type default version.

func (CloudFormationTypeOutput) DeprecatedStatus

func (o CloudFormationTypeOutput) DeprecatedStatus() pulumi.StringOutput

Deprecation status of the version.

func (CloudFormationTypeOutput) Description

Description of the version.

func (CloudFormationTypeOutput) DocumentationUrl

func (o CloudFormationTypeOutput) DocumentationUrl() pulumi.StringOutput

URL of the documentation for the CloudFormation Type.

func (CloudFormationTypeOutput) ElementType

func (CloudFormationTypeOutput) ElementType() reflect.Type

func (CloudFormationTypeOutput) ExecutionRoleArn

func (o CloudFormationTypeOutput) ExecutionRoleArn() pulumi.StringPtrOutput

Amazon Resource Name (ARN) of the IAM Role for CloudFormation to assume when invoking the extension. If your extension calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the extension handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the extension handler, thereby supplying your extension with the appropriate credentials.

func (CloudFormationTypeOutput) IsDefaultVersion

func (o CloudFormationTypeOutput) IsDefaultVersion() pulumi.BoolOutput

Whether the CloudFormation Type version is the default version.

func (CloudFormationTypeOutput) LoggingConfig

Configuration block containing logging configuration.

func (CloudFormationTypeOutput) ProvisioningType

func (o CloudFormationTypeOutput) ProvisioningType() pulumi.StringOutput

Provisioning behavior of the CloudFormation Type.

func (CloudFormationTypeOutput) Schema

JSON document of the CloudFormation Type schema.

func (CloudFormationTypeOutput) SchemaHandlerPackage

func (o CloudFormationTypeOutput) SchemaHandlerPackage() pulumi.StringOutput

URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. Must begin with `s3://` or `https://`. For example, `s3://example-bucket/example-object`.

func (CloudFormationTypeOutput) SourceUrl

URL of the source code for the CloudFormation Type.

func (CloudFormationTypeOutput) ToCloudFormationTypeOutput

func (o CloudFormationTypeOutput) ToCloudFormationTypeOutput() CloudFormationTypeOutput

func (CloudFormationTypeOutput) ToCloudFormationTypeOutputWithContext

func (o CloudFormationTypeOutput) ToCloudFormationTypeOutputWithContext(ctx context.Context) CloudFormationTypeOutput

func (CloudFormationTypeOutput) Type

CloudFormation Registry Type. For example, `RESOURCE` or `MODULE`.

func (CloudFormationTypeOutput) TypeArn

(Optional) Amazon Resource Name (ARN) of the CloudFormation Type. See also `arn`.

func (CloudFormationTypeOutput) TypeName

CloudFormation Type name. For example, `ExampleCompany::ExampleService::ExampleResource`.

func (CloudFormationTypeOutput) VersionId

(Optional) Identifier of the CloudFormation Type version.

func (CloudFormationTypeOutput) Visibility

Scope of the CloudFormation Type.

type CloudFormationTypeState

type CloudFormationTypeState struct {
	// (Optional) Amazon Resource Name (ARN) of the CloudFormation Type version. See also `typeArn`.
	Arn pulumi.StringPtrInput
	// Identifier of the CloudFormation Type default version.
	DefaultVersionId pulumi.StringPtrInput
	// Deprecation status of the version.
	DeprecatedStatus pulumi.StringPtrInput
	// Description of the version.
	Description pulumi.StringPtrInput
	// URL of the documentation for the CloudFormation Type.
	DocumentationUrl pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the IAM Role for CloudFormation to assume when invoking the extension. If your extension calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the extension handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the extension handler, thereby supplying your extension with the appropriate credentials.
	ExecutionRoleArn pulumi.StringPtrInput
	// Whether the CloudFormation Type version is the default version.
	IsDefaultVersion pulumi.BoolPtrInput
	// Configuration block containing logging configuration.
	LoggingConfig CloudFormationTypeLoggingConfigPtrInput
	// Provisioning behavior of the CloudFormation Type.
	ProvisioningType pulumi.StringPtrInput
	// JSON document of the CloudFormation Type schema.
	Schema pulumi.StringPtrInput
	// URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. Must begin with `s3://` or `https://`. For example, `s3://example-bucket/example-object`.
	SchemaHandlerPackage pulumi.StringPtrInput
	// URL of the source code for the CloudFormation Type.
	SourceUrl pulumi.StringPtrInput
	// CloudFormation Registry Type. For example, `RESOURCE` or `MODULE`.
	Type pulumi.StringPtrInput
	// (Optional) Amazon Resource Name (ARN) of the CloudFormation Type. See also `arn`.
	TypeArn pulumi.StringPtrInput
	// CloudFormation Type name. For example, `ExampleCompany::ExampleService::ExampleResource`.
	TypeName pulumi.StringPtrInput
	// (Optional) Identifier of the CloudFormation Type version.
	VersionId pulumi.StringPtrInput
	// Scope of the CloudFormation Type.
	Visibility pulumi.StringPtrInput
}

func (CloudFormationTypeState) ElementType

func (CloudFormationTypeState) ElementType() reflect.Type

type GetCloudFormationTypeLoggingConfig

type GetCloudFormationTypeLoggingConfig struct {
	// Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.
	LogGroupName string `pulumi:"logGroupName"`
	// ARN of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.
	LogRoleArn string `pulumi:"logRoleArn"`
}

type GetCloudFormationTypeLoggingConfigArgs

type GetCloudFormationTypeLoggingConfigArgs struct {
	// Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.
	LogGroupName pulumi.StringInput `pulumi:"logGroupName"`
	// ARN of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.
	LogRoleArn pulumi.StringInput `pulumi:"logRoleArn"`
}

func (GetCloudFormationTypeLoggingConfigArgs) ElementType

func (GetCloudFormationTypeLoggingConfigArgs) ToGetCloudFormationTypeLoggingConfigOutput

func (i GetCloudFormationTypeLoggingConfigArgs) ToGetCloudFormationTypeLoggingConfigOutput() GetCloudFormationTypeLoggingConfigOutput

func (GetCloudFormationTypeLoggingConfigArgs) ToGetCloudFormationTypeLoggingConfigOutputWithContext

func (i GetCloudFormationTypeLoggingConfigArgs) ToGetCloudFormationTypeLoggingConfigOutputWithContext(ctx context.Context) GetCloudFormationTypeLoggingConfigOutput

type GetCloudFormationTypeLoggingConfigArray

type GetCloudFormationTypeLoggingConfigArray []GetCloudFormationTypeLoggingConfigInput

func (GetCloudFormationTypeLoggingConfigArray) ElementType

func (GetCloudFormationTypeLoggingConfigArray) ToGetCloudFormationTypeLoggingConfigArrayOutput

func (i GetCloudFormationTypeLoggingConfigArray) ToGetCloudFormationTypeLoggingConfigArrayOutput() GetCloudFormationTypeLoggingConfigArrayOutput

func (GetCloudFormationTypeLoggingConfigArray) ToGetCloudFormationTypeLoggingConfigArrayOutputWithContext

func (i GetCloudFormationTypeLoggingConfigArray) ToGetCloudFormationTypeLoggingConfigArrayOutputWithContext(ctx context.Context) GetCloudFormationTypeLoggingConfigArrayOutput

type GetCloudFormationTypeLoggingConfigArrayInput

type GetCloudFormationTypeLoggingConfigArrayInput interface {
	pulumi.Input

	ToGetCloudFormationTypeLoggingConfigArrayOutput() GetCloudFormationTypeLoggingConfigArrayOutput
	ToGetCloudFormationTypeLoggingConfigArrayOutputWithContext(context.Context) GetCloudFormationTypeLoggingConfigArrayOutput
}

GetCloudFormationTypeLoggingConfigArrayInput is an input type that accepts GetCloudFormationTypeLoggingConfigArray and GetCloudFormationTypeLoggingConfigArrayOutput values. You can construct a concrete instance of `GetCloudFormationTypeLoggingConfigArrayInput` via:

GetCloudFormationTypeLoggingConfigArray{ GetCloudFormationTypeLoggingConfigArgs{...} }

type GetCloudFormationTypeLoggingConfigArrayOutput

type GetCloudFormationTypeLoggingConfigArrayOutput struct{ *pulumi.OutputState }

func (GetCloudFormationTypeLoggingConfigArrayOutput) ElementType

func (GetCloudFormationTypeLoggingConfigArrayOutput) Index

func (GetCloudFormationTypeLoggingConfigArrayOutput) ToGetCloudFormationTypeLoggingConfigArrayOutput

func (o GetCloudFormationTypeLoggingConfigArrayOutput) ToGetCloudFormationTypeLoggingConfigArrayOutput() GetCloudFormationTypeLoggingConfigArrayOutput

func (GetCloudFormationTypeLoggingConfigArrayOutput) ToGetCloudFormationTypeLoggingConfigArrayOutputWithContext

func (o GetCloudFormationTypeLoggingConfigArrayOutput) ToGetCloudFormationTypeLoggingConfigArrayOutputWithContext(ctx context.Context) GetCloudFormationTypeLoggingConfigArrayOutput

type GetCloudFormationTypeLoggingConfigInput

type GetCloudFormationTypeLoggingConfigInput interface {
	pulumi.Input

	ToGetCloudFormationTypeLoggingConfigOutput() GetCloudFormationTypeLoggingConfigOutput
	ToGetCloudFormationTypeLoggingConfigOutputWithContext(context.Context) GetCloudFormationTypeLoggingConfigOutput
}

GetCloudFormationTypeLoggingConfigInput is an input type that accepts GetCloudFormationTypeLoggingConfigArgs and GetCloudFormationTypeLoggingConfigOutput values. You can construct a concrete instance of `GetCloudFormationTypeLoggingConfigInput` via:

GetCloudFormationTypeLoggingConfigArgs{...}

type GetCloudFormationTypeLoggingConfigOutput

type GetCloudFormationTypeLoggingConfigOutput struct{ *pulumi.OutputState }

func (GetCloudFormationTypeLoggingConfigOutput) ElementType

func (GetCloudFormationTypeLoggingConfigOutput) LogGroupName

Name of the CloudWatch Log Group where CloudFormation sends error logging information when invoking the type's handlers.

func (GetCloudFormationTypeLoggingConfigOutput) LogRoleArn

ARN of the IAM Role CloudFormation assumes when sending error logging information to CloudWatch Logs.

func (GetCloudFormationTypeLoggingConfigOutput) ToGetCloudFormationTypeLoggingConfigOutput

func (o GetCloudFormationTypeLoggingConfigOutput) ToGetCloudFormationTypeLoggingConfigOutput() GetCloudFormationTypeLoggingConfigOutput

func (GetCloudFormationTypeLoggingConfigOutput) ToGetCloudFormationTypeLoggingConfigOutputWithContext

func (o GetCloudFormationTypeLoggingConfigOutput) ToGetCloudFormationTypeLoggingConfigOutputWithContext(ctx context.Context) GetCloudFormationTypeLoggingConfigOutput

type GetExportArgs

type GetExportArgs struct {
	// Name of the export as it appears in the console or from [list-exports](http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-exports.html)
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getExport.

type GetExportOutputArgs

type GetExportOutputArgs struct {
	// Name of the export as it appears in the console or from [list-exports](http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-exports.html)
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getExport.

func (GetExportOutputArgs) ElementType

func (GetExportOutputArgs) ElementType() reflect.Type

type GetExportResult

type GetExportResult struct {
	// ARN of stack that contains the exported output name and value.
	ExportingStackId string `pulumi:"exportingStackId"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// Value from Cloudformation export identified by the export name found from [list-exports](http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-exports.html)
	Value string `pulumi:"value"`
}

A collection of values returned by getExport.

func GetExport

func GetExport(ctx *pulumi.Context, args *GetExportArgs, opts ...pulumi.InvokeOption) (*GetExportResult, error)

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.

> Note: If you are trying to use a value from a Cloudformation Stack in the same deployment please use normal interpolation or Cloudformation Outputs.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudformation"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		subnetId, err := cloudformation.GetExport(ctx, &cloudformation.GetExportArgs{
			Name: "mySubnetIdExportName",
		}, nil)
		if err != nil {
			return err
		}
		_, err = ec2.NewInstance(ctx, "web", &ec2.InstanceArgs{
			Ami:          pulumi.String("ami-abb07bcb"),
			InstanceType: pulumi.String(ec2.InstanceType_T2_Micro),
			SubnetId:     pulumi.String(subnetId.Value),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetExportResultOutput

type GetExportResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getExport.

func (GetExportResultOutput) ElementType

func (GetExportResultOutput) ElementType() reflect.Type

func (GetExportResultOutput) ExportingStackId

func (o GetExportResultOutput) ExportingStackId() pulumi.StringOutput

ARN of stack that contains the exported output name and value.

func (GetExportResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetExportResultOutput) Name

func (GetExportResultOutput) ToGetExportResultOutput

func (o GetExportResultOutput) ToGetExportResultOutput() GetExportResultOutput

func (GetExportResultOutput) ToGetExportResultOutputWithContext

func (o GetExportResultOutput) ToGetExportResultOutputWithContext(ctx context.Context) GetExportResultOutput

func (GetExportResultOutput) Value

Value from Cloudformation export identified by the export name found from [list-exports](http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-exports.html)

type LookupCloudFormationTypeArgs

type LookupCloudFormationTypeArgs struct {
	// ARN of the CloudFormation Type. For example, `arn:aws:cloudformation:us-west-2::type/resource/AWS-EC2-VPC`.
	Arn *string `pulumi:"arn"`
	// CloudFormation Registry Type. For example, `RESOURCE`.
	Type *string `pulumi:"type"`
	// CloudFormation Type name. For example, `AWS::EC2::VPC`.
	TypeName *string `pulumi:"typeName"`
	// Identifier of the CloudFormation Type version.
	VersionId *string `pulumi:"versionId"`
}

A collection of arguments for invoking getCloudFormationType.

type LookupCloudFormationTypeOutputArgs

type LookupCloudFormationTypeOutputArgs struct {
	// ARN of the CloudFormation Type. For example, `arn:aws:cloudformation:us-west-2::type/resource/AWS-EC2-VPC`.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// CloudFormation Registry Type. For example, `RESOURCE`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// CloudFormation Type name. For example, `AWS::EC2::VPC`.
	TypeName pulumi.StringPtrInput `pulumi:"typeName"`
	// Identifier of the CloudFormation Type version.
	VersionId pulumi.StringPtrInput `pulumi:"versionId"`
}

A collection of arguments for invoking getCloudFormationType.

func (LookupCloudFormationTypeOutputArgs) ElementType

type LookupCloudFormationTypeResult

type LookupCloudFormationTypeResult struct {
	Arn string `pulumi:"arn"`
	// Identifier of the CloudFormation Type default version.
	DefaultVersionId string `pulumi:"defaultVersionId"`
	// Deprecation status of the CloudFormation Type.
	DeprecatedStatus string `pulumi:"deprecatedStatus"`
	// Description of the CloudFormation Type.
	Description string `pulumi:"description"`
	// URL of the documentation for the CloudFormation Type.
	DocumentationUrl string `pulumi:"documentationUrl"`
	// ARN of the IAM Role used to register the CloudFormation Type.
	ExecutionRoleArn string `pulumi:"executionRoleArn"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Whether the CloudFormation Type version is the default version.
	IsDefaultVersion bool `pulumi:"isDefaultVersion"`
	// List of objects containing logging configuration.
	LoggingConfigs []GetCloudFormationTypeLoggingConfig `pulumi:"loggingConfigs"`
	// Provisioning behavior of the CloudFormation Type.
	ProvisioningType string `pulumi:"provisioningType"`
	// JSON document of the CloudFormation Type schema.
	Schema string `pulumi:"schema"`
	// URL of the source code for the CloudFormation Type.
	SourceUrl string  `pulumi:"sourceUrl"`
	Type      string  `pulumi:"type"`
	TypeArn   string  `pulumi:"typeArn"`
	TypeName  string  `pulumi:"typeName"`
	VersionId *string `pulumi:"versionId"`
	// Scope of the CloudFormation Type.
	Visibility string `pulumi:"visibility"`
}

A collection of values returned by getCloudFormationType.

func LookupCloudFormationType

func LookupCloudFormationType(ctx *pulumi.Context, args *LookupCloudFormationTypeArgs, opts ...pulumi.InvokeOption) (*LookupCloudFormationTypeResult, error)

Provides details about a CloudFormation Type.

## Example 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.LookupCloudFormationType(ctx, &cloudformation.LookupCloudFormationTypeArgs{
			Type:     pulumi.StringRef("RESOURCE"),
			TypeName: pulumi.StringRef("AWS::Athena::WorkGroup"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCloudFormationTypeResultOutput

type LookupCloudFormationTypeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCloudFormationType.

func (LookupCloudFormationTypeResultOutput) Arn

func (LookupCloudFormationTypeResultOutput) DefaultVersionId

Identifier of the CloudFormation Type default version.

func (LookupCloudFormationTypeResultOutput) DeprecatedStatus

Deprecation status of the CloudFormation Type.

func (LookupCloudFormationTypeResultOutput) Description

Description of the CloudFormation Type.

func (LookupCloudFormationTypeResultOutput) DocumentationUrl

URL of the documentation for the CloudFormation Type.

func (LookupCloudFormationTypeResultOutput) ElementType

func (LookupCloudFormationTypeResultOutput) ExecutionRoleArn

ARN of the IAM Role used to register the CloudFormation Type.

func (LookupCloudFormationTypeResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCloudFormationTypeResultOutput) IsDefaultVersion

Whether the CloudFormation Type version is the default version.

func (LookupCloudFormationTypeResultOutput) LoggingConfigs

List of objects containing logging configuration.

func (LookupCloudFormationTypeResultOutput) ProvisioningType

Provisioning behavior of the CloudFormation Type.

func (LookupCloudFormationTypeResultOutput) Schema

JSON document of the CloudFormation Type schema.

func (LookupCloudFormationTypeResultOutput) SourceUrl

URL of the source code for the CloudFormation Type.

func (LookupCloudFormationTypeResultOutput) ToLookupCloudFormationTypeResultOutput

func (o LookupCloudFormationTypeResultOutput) ToLookupCloudFormationTypeResultOutput() LookupCloudFormationTypeResultOutput

func (LookupCloudFormationTypeResultOutput) ToLookupCloudFormationTypeResultOutputWithContext

func (o LookupCloudFormationTypeResultOutput) ToLookupCloudFormationTypeResultOutputWithContext(ctx context.Context) LookupCloudFormationTypeResultOutput

func (LookupCloudFormationTypeResultOutput) Type

func (LookupCloudFormationTypeResultOutput) TypeArn

func (LookupCloudFormationTypeResultOutput) TypeName

func (LookupCloudFormationTypeResultOutput) VersionId

func (LookupCloudFormationTypeResultOutput) Visibility

Scope of the CloudFormation Type.

type LookupStackArgs

type LookupStackArgs struct {
	// Name of the stack
	Name string `pulumi:"name"`
	// Map of tags associated with this stack.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getStack.

type LookupStackOutputArgs

type LookupStackOutputArgs struct {
	// Name of the stack
	Name pulumi.StringInput `pulumi:"name"`
	// Map of tags associated with this stack.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getStack.

func (LookupStackOutputArgs) ElementType

func (LookupStackOutputArgs) ElementType() reflect.Type

type LookupStackResult

type LookupStackResult struct {
	// List of capabilities
	Capabilities []string `pulumi:"capabilities"`
	// Description of the stack
	Description string `pulumi:"description"`
	// Whether the rollback of the stack is disabled when stack creation fails
	DisableRollback bool `pulumi:"disableRollback"`
	// ARN of the IAM role used to create the stack.
	IamRoleArn string `pulumi:"iamRoleArn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// List of SNS topic ARNs to publish stack related events
	NotificationArns []string `pulumi:"notificationArns"`
	// Map of outputs from the stack.
	Outputs map[string]string `pulumi:"outputs"`
	// Map of parameters that specify input parameters for the stack.
	Parameters map[string]string `pulumi:"parameters"`
	// Map of tags associated with this stack.
	Tags map[string]string `pulumi:"tags"`
	// Structure containing the template body.
	TemplateBody string `pulumi:"templateBody"`
	// Amount of time that can pass before the stack status becomes `CREATE_FAILED`
	TimeoutInMinutes int `pulumi:"timeoutInMinutes"`
}

A collection of values returned by getStack.

func LookupStack

func LookupStack(ctx *pulumi.Context, args *LookupStackArgs, opts ...pulumi.InvokeOption) (*LookupStackResult, error)

The CloudFormation Stack data source allows access to stack outputs and other useful data including the template body.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudformation"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network, err := cloudformation.LookupStack(ctx, &cloudformation.LookupStackArgs{
			Name: "my-network-stack",
		}, nil)
		if err != nil {
			return err
		}
		_, err = ec2.NewInstance(ctx, "web", &ec2.InstanceArgs{
			Ami:          pulumi.String("ami-abb07bcb"),
			InstanceType: pulumi.String(ec2.InstanceType_T2_Micro),
			SubnetId:     pulumi.String(network.Outputs.SubnetId),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("HelloWorld"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupStackResultOutput

type LookupStackResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStack.

func (LookupStackResultOutput) Capabilities

List of capabilities

func (LookupStackResultOutput) Description

Description of the stack

func (LookupStackResultOutput) DisableRollback

func (o LookupStackResultOutput) DisableRollback() pulumi.BoolOutput

Whether the rollback of the stack is disabled when stack creation fails

func (LookupStackResultOutput) ElementType

func (LookupStackResultOutput) ElementType() reflect.Type

func (LookupStackResultOutput) IamRoleArn

ARN of the IAM role used to create the stack.

func (LookupStackResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupStackResultOutput) Name

func (LookupStackResultOutput) NotificationArns

func (o LookupStackResultOutput) NotificationArns() pulumi.StringArrayOutput

List of SNS topic ARNs to publish stack related events

func (LookupStackResultOutput) Outputs

Map of outputs from the stack.

func (LookupStackResultOutput) Parameters

Map of parameters that specify input parameters for the stack.

func (LookupStackResultOutput) Tags

Map of tags associated with this stack.

func (LookupStackResultOutput) TemplateBody

func (o LookupStackResultOutput) TemplateBody() pulumi.StringOutput

Structure containing the template body.

func (LookupStackResultOutput) TimeoutInMinutes

func (o LookupStackResultOutput) TimeoutInMinutes() pulumi.IntOutput

Amount of time that can pass before the stack status becomes `CREATE_FAILED`

func (LookupStackResultOutput) ToLookupStackResultOutput

func (o LookupStackResultOutput) ToLookupStackResultOutput() LookupStackResultOutput

func (LookupStackResultOutput) ToLookupStackResultOutputWithContext

func (o LookupStackResultOutput) ToLookupStackResultOutputWithContext(ctx context.Context) LookupStackResultOutput

type Stack

type Stack struct {
	pulumi.CustomResourceState

	// A list of capabilities.
	// Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, or `CAPABILITY_AUTO_EXPAND`
	Capabilities pulumi.StringArrayOutput `pulumi:"capabilities"`
	// Set to true to disable rollback of the stack if stack creation failed.
	// Conflicts with `onFailure`.
	DisableRollback pulumi.BoolPtrOutput `pulumi:"disableRollback"`
	// The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
	IamRoleArn pulumi.StringPtrOutput `pulumi:"iamRoleArn"`
	// Stack name.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of SNS topic ARNs to publish stack related events.
	NotificationArns pulumi.StringArrayOutput `pulumi:"notificationArns"`
	// Action to be taken if stack creation fails. This must be
	// one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disableRollback`.
	OnFailure pulumi.StringPtrOutput `pulumi:"onFailure"`
	// A map of outputs from the stack.
	Outputs pulumi.StringMapOutput `pulumi:"outputs"`
	// A map of Parameter structures that specify input parameters for the stack.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// Structure containing the stack policy body.
	// Conflicts w/ `policyUrl`.
	PolicyBody pulumi.StringOutput `pulumi:"policyBody"`
	// Location of a file containing the stack policy.
	// Conflicts w/ `policyBody`.
	PolicyUrl pulumi.StringPtrOutput `pulumi:"policyUrl"`
	// Map of resource tags to associate with this stack. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Structure containing the template body (max size: 51,200 bytes).
	TemplateBody pulumi.StringOutput `pulumi:"templateBody"`
	// Location of a file containing the template body (max size: 460,800 bytes).
	TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"`
	// The amount of time that can pass before the stack status becomes `CREATE_FAILED`.
	TimeoutInMinutes pulumi.IntPtrOutput `pulumi:"timeoutInMinutes"`
}

Provides a CloudFormation Stack resource.

## Example Usage

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Parameters": map[string]interface{}{
				"VPCCidr": map[string]interface{}{
					"Type":        "String",
					"Default":     "10.0.0.0/16",
					"Description": "Enter the CIDR block for the VPC. Default is 10.0.0.0/16.",
				},
			},
			"Resources": map[string]interface{}{
				"myVpc": map[string]interface{}{
					"Type": "AWS::EC2::VPC",
					"Properties": map[string]interface{}{
						"CidrBlock": map[string]interface{}{
							"Ref": "VPCCidr",
						},
						"Tags": []map[string]interface{}{
							map[string]interface{}{
								"Key":   "Name",
								"Value": "Primary_CF_VPC",
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cloudformation.NewStack(ctx, "network", &cloudformation.StackArgs{
			Name: pulumi.String("networking-stack"),
			Parameters: pulumi.StringMap{
				"VPCCidr": pulumi.String("10.0.0.0/16"),
			},
			TemplateBody: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Cloudformation Stacks using the `name`. For example:

```sh $ pulumi import aws:cloudformation/stack:Stack stack networking-stack ```

func GetStack

func GetStack(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackState, opts ...pulumi.ResourceOption) (*Stack, error)

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).

func NewStack

func NewStack(ctx *pulumi.Context,
	name string, args *StackArgs, opts ...pulumi.ResourceOption) (*Stack, error)

NewStack registers a new resource with the given unique name, arguments, and options.

func (*Stack) ElementType

func (*Stack) ElementType() reflect.Type

func (*Stack) ToStackOutput

func (i *Stack) ToStackOutput() StackOutput

func (*Stack) ToStackOutputWithContext

func (i *Stack) ToStackOutputWithContext(ctx context.Context) StackOutput

type StackArgs

type StackArgs struct {
	// A list of capabilities.
	// Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, or `CAPABILITY_AUTO_EXPAND`
	Capabilities pulumi.StringArrayInput
	// Set to true to disable rollback of the stack if stack creation failed.
	// Conflicts with `onFailure`.
	DisableRollback pulumi.BoolPtrInput
	// The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
	IamRoleArn pulumi.StringPtrInput
	// Stack name.
	Name pulumi.StringPtrInput
	// A list of SNS topic ARNs to publish stack related events.
	NotificationArns pulumi.StringArrayInput
	// Action to be taken if stack creation fails. This must be
	// one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disableRollback`.
	OnFailure pulumi.StringPtrInput
	// A map of Parameter structures that specify input parameters for the stack.
	Parameters pulumi.StringMapInput
	// Structure containing the stack policy body.
	// Conflicts w/ `policyUrl`.
	PolicyBody pulumi.StringPtrInput
	// Location of a file containing the stack policy.
	// Conflicts w/ `policyBody`.
	PolicyUrl pulumi.StringPtrInput
	// Map of resource tags to associate with this stack. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Structure containing the template body (max size: 51,200 bytes).
	TemplateBody pulumi.StringPtrInput
	// Location of a file containing the template body (max size: 460,800 bytes).
	TemplateUrl pulumi.StringPtrInput
	// The amount of time that can pass before the stack status becomes `CREATE_FAILED`.
	TimeoutInMinutes pulumi.IntPtrInput
}

The set of arguments for constructing a Stack resource.

func (StackArgs) ElementType

func (StackArgs) ElementType() reflect.Type

type StackArray

type StackArray []StackInput

func (StackArray) ElementType

func (StackArray) ElementType() reflect.Type

func (StackArray) ToStackArrayOutput

func (i StackArray) ToStackArrayOutput() StackArrayOutput

func (StackArray) ToStackArrayOutputWithContext

func (i StackArray) ToStackArrayOutputWithContext(ctx context.Context) StackArrayOutput

type StackArrayInput

type StackArrayInput interface {
	pulumi.Input

	ToStackArrayOutput() StackArrayOutput
	ToStackArrayOutputWithContext(context.Context) StackArrayOutput
}

StackArrayInput is an input type that accepts StackArray and StackArrayOutput values. You can construct a concrete instance of `StackArrayInput` via:

StackArray{ StackArgs{...} }

type StackArrayOutput

type StackArrayOutput struct{ *pulumi.OutputState }

func (StackArrayOutput) ElementType

func (StackArrayOutput) ElementType() reflect.Type

func (StackArrayOutput) Index

func (StackArrayOutput) ToStackArrayOutput

func (o StackArrayOutput) ToStackArrayOutput() StackArrayOutput

func (StackArrayOutput) ToStackArrayOutputWithContext

func (o StackArrayOutput) ToStackArrayOutputWithContext(ctx context.Context) StackArrayOutput

type StackInput

type StackInput interface {
	pulumi.Input

	ToStackOutput() StackOutput
	ToStackOutputWithContext(ctx context.Context) StackOutput
}

type StackInstances added in v6.52.0

type StackInstances struct {
	pulumi.CustomResourceState

	// Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.
	Accounts pulumi.StringArrayOutput `pulumi:"accounts"`
	// Whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrOutput `pulumi:"callAs"`
	// AWS Organizations accounts for which to create stack instances in the `regions`. stack sets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for most of this argument. See deploymentTargets below.
	DeploymentTargets StackInstancesDeploymentTargetsPtrOutput `pulumi:"deploymentTargets"`
	// Preferences for how AWS CloudFormation performs a stack set operation. See operationPreferences below.
	OperationPreferences StackInstancesOperationPreferencesPtrOutput `pulumi:"operationPreferences"`
	// Key-value map of input parameters to override from the stack set for these instances. This argument's drift detection is limited to the first account and region since each instance can have unique parameters.
	ParameterOverrides pulumi.StringMapOutput `pulumi:"parameterOverrides"`
	// Regions where you want to create stack instances in the specified `accounts`.
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// Whether to remove the stack instances from the stack set, but not delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. To retain the stack, ensure `retainStacks = true` has been successfully applied _before_ an apply that would destroy the resource. Defaults to `false`.
	RetainStacks pulumi.BoolPtrOutput `pulumi:"retainStacks"`
	// List of stack instances created from an organizational unit deployment target. This may not always be set depending on whether CloudFormation returns summaries for your configuration. See `stackInstanceSummaries`.
	StackInstanceSummaries StackInstancesStackInstanceSummaryArrayOutput `pulumi:"stackInstanceSummaries"`
	// Name or unique ID of the stack set that the stack instance is associated with.
	StackSetId pulumi.StringOutput `pulumi:"stackSetId"`
	// Name of the stack set.
	//
	// The following arguments are optional:
	StackSetName pulumi.StringOutput `pulumi:"stackSetName"`
}

## 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 (`,`). For example:

Using `pulumi import`, import CloudFormation stack instances using the stack set name and `call_as` separated by commas (`,`). If you are importing a stack instance targeting OUs, see the example below. For example:

```sh $ pulumi import aws:cloudformation/stackInstances:StackInstances example example,SELF ``` Using `pulumi import`, Import CloudFormation stack instances that target OUs, using the stack set name, `call_as`, and "OU" separated by commas (`,`). For example:

```sh $ pulumi import aws:cloudformation/stackInstances:StackInstances example example,SELF,OU ```

func GetStackInstances added in v6.52.0

func GetStackInstances(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackInstancesState, opts ...pulumi.ResourceOption) (*StackInstances, error)

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).

func NewStackInstances added in v6.52.0

func NewStackInstances(ctx *pulumi.Context,
	name string, args *StackInstancesArgs, opts ...pulumi.ResourceOption) (*StackInstances, error)

NewStackInstances registers a new resource with the given unique name, arguments, and options.

func (*StackInstances) ElementType added in v6.52.0

func (*StackInstances) ElementType() reflect.Type

func (*StackInstances) ToStackInstancesOutput added in v6.52.0

func (i *StackInstances) ToStackInstancesOutput() StackInstancesOutput

func (*StackInstances) ToStackInstancesOutputWithContext added in v6.52.0

func (i *StackInstances) ToStackInstancesOutputWithContext(ctx context.Context) StackInstancesOutput

type StackInstancesArgs added in v6.52.0

type StackInstancesArgs struct {
	// Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.
	Accounts pulumi.StringArrayInput
	// Whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrInput
	// AWS Organizations accounts for which to create stack instances in the `regions`. stack sets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for most of this argument. See deploymentTargets below.
	DeploymentTargets StackInstancesDeploymentTargetsPtrInput
	// Preferences for how AWS CloudFormation performs a stack set operation. See operationPreferences below.
	OperationPreferences StackInstancesOperationPreferencesPtrInput
	// Key-value map of input parameters to override from the stack set for these instances. This argument's drift detection is limited to the first account and region since each instance can have unique parameters.
	ParameterOverrides pulumi.StringMapInput
	// Regions where you want to create stack instances in the specified `accounts`.
	Regions pulumi.StringArrayInput
	// Whether to remove the stack instances from the stack set, but not delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. To retain the stack, ensure `retainStacks = true` has been successfully applied _before_ an apply that would destroy the resource. Defaults to `false`.
	RetainStacks pulumi.BoolPtrInput
	// Name of the stack set.
	//
	// The following arguments are optional:
	StackSetName pulumi.StringInput
}

The set of arguments for constructing a StackInstances resource.

func (StackInstancesArgs) ElementType added in v6.52.0

func (StackInstancesArgs) ElementType() reflect.Type

type StackInstancesArray added in v6.52.0

type StackInstancesArray []StackInstancesInput

func (StackInstancesArray) ElementType added in v6.52.0

func (StackInstancesArray) ElementType() reflect.Type

func (StackInstancesArray) ToStackInstancesArrayOutput added in v6.52.0

func (i StackInstancesArray) ToStackInstancesArrayOutput() StackInstancesArrayOutput

func (StackInstancesArray) ToStackInstancesArrayOutputWithContext added in v6.52.0

func (i StackInstancesArray) ToStackInstancesArrayOutputWithContext(ctx context.Context) StackInstancesArrayOutput

type StackInstancesArrayInput added in v6.52.0

type StackInstancesArrayInput interface {
	pulumi.Input

	ToStackInstancesArrayOutput() StackInstancesArrayOutput
	ToStackInstancesArrayOutputWithContext(context.Context) StackInstancesArrayOutput
}

StackInstancesArrayInput is an input type that accepts StackInstancesArray and StackInstancesArrayOutput values. You can construct a concrete instance of `StackInstancesArrayInput` via:

StackInstancesArray{ StackInstancesArgs{...} }

type StackInstancesArrayOutput added in v6.52.0

type StackInstancesArrayOutput struct{ *pulumi.OutputState }

func (StackInstancesArrayOutput) ElementType added in v6.52.0

func (StackInstancesArrayOutput) ElementType() reflect.Type

func (StackInstancesArrayOutput) Index added in v6.52.0

func (StackInstancesArrayOutput) ToStackInstancesArrayOutput added in v6.52.0

func (o StackInstancesArrayOutput) ToStackInstancesArrayOutput() StackInstancesArrayOutput

func (StackInstancesArrayOutput) ToStackInstancesArrayOutputWithContext added in v6.52.0

func (o StackInstancesArrayOutput) ToStackInstancesArrayOutputWithContext(ctx context.Context) StackInstancesArrayOutput

type StackInstancesDeploymentTargets added in v6.52.0

type StackInstancesDeploymentTargets struct {
	// Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
	AccountFilterType *string `pulumi:"accountFilterType"`
	// List of accounts to deploy stack set updates.
	Accounts []string `pulumi:"accounts"`
	// S3 URL of the file containing the list of accounts.
	AccountsUrl *string `pulumi:"accountsUrl"`
	// Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
	OrganizationalUnitIds []string `pulumi:"organizationalUnitIds"`
}

type StackInstancesDeploymentTargetsArgs added in v6.52.0

type StackInstancesDeploymentTargetsArgs struct {
	// Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
	AccountFilterType pulumi.StringPtrInput `pulumi:"accountFilterType"`
	// List of accounts to deploy stack set updates.
	Accounts pulumi.StringArrayInput `pulumi:"accounts"`
	// S3 URL of the file containing the list of accounts.
	AccountsUrl pulumi.StringPtrInput `pulumi:"accountsUrl"`
	// Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
	OrganizationalUnitIds pulumi.StringArrayInput `pulumi:"organizationalUnitIds"`
}

func (StackInstancesDeploymentTargetsArgs) ElementType added in v6.52.0

func (StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsOutput added in v6.52.0

func (i StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsOutput() StackInstancesDeploymentTargetsOutput

func (StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsOutputWithContext added in v6.52.0

func (i StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsOutputWithContext(ctx context.Context) StackInstancesDeploymentTargetsOutput

func (StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsPtrOutput added in v6.52.0

func (i StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsPtrOutput() StackInstancesDeploymentTargetsPtrOutput

func (StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsPtrOutputWithContext added in v6.52.0

func (i StackInstancesDeploymentTargetsArgs) ToStackInstancesDeploymentTargetsPtrOutputWithContext(ctx context.Context) StackInstancesDeploymentTargetsPtrOutput

type StackInstancesDeploymentTargetsInput added in v6.52.0

type StackInstancesDeploymentTargetsInput interface {
	pulumi.Input

	ToStackInstancesDeploymentTargetsOutput() StackInstancesDeploymentTargetsOutput
	ToStackInstancesDeploymentTargetsOutputWithContext(context.Context) StackInstancesDeploymentTargetsOutput
}

StackInstancesDeploymentTargetsInput is an input type that accepts StackInstancesDeploymentTargetsArgs and StackInstancesDeploymentTargetsOutput values. You can construct a concrete instance of `StackInstancesDeploymentTargetsInput` via:

StackInstancesDeploymentTargetsArgs{...}

type StackInstancesDeploymentTargetsOutput added in v6.52.0

type StackInstancesDeploymentTargetsOutput struct{ *pulumi.OutputState }

func (StackInstancesDeploymentTargetsOutput) AccountFilterType added in v6.52.0

Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.

func (StackInstancesDeploymentTargetsOutput) Accounts added in v6.52.0

List of accounts to deploy stack set updates.

func (StackInstancesDeploymentTargetsOutput) AccountsUrl added in v6.52.0

S3 URL of the file containing the list of accounts.

func (StackInstancesDeploymentTargetsOutput) ElementType added in v6.52.0

func (StackInstancesDeploymentTargetsOutput) OrganizationalUnitIds added in v6.52.0

Organization root ID or organizational unit (OU) IDs to which stack sets deploy.

func (StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsOutput added in v6.52.0

func (o StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsOutput() StackInstancesDeploymentTargetsOutput

func (StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsOutputWithContext added in v6.52.0

func (o StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsOutputWithContext(ctx context.Context) StackInstancesDeploymentTargetsOutput

func (StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsPtrOutput added in v6.52.0

func (o StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsPtrOutput() StackInstancesDeploymentTargetsPtrOutput

func (StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsPtrOutputWithContext added in v6.52.0

func (o StackInstancesDeploymentTargetsOutput) ToStackInstancesDeploymentTargetsPtrOutputWithContext(ctx context.Context) StackInstancesDeploymentTargetsPtrOutput

type StackInstancesDeploymentTargetsPtrInput added in v6.52.0

type StackInstancesDeploymentTargetsPtrInput interface {
	pulumi.Input

	ToStackInstancesDeploymentTargetsPtrOutput() StackInstancesDeploymentTargetsPtrOutput
	ToStackInstancesDeploymentTargetsPtrOutputWithContext(context.Context) StackInstancesDeploymentTargetsPtrOutput
}

StackInstancesDeploymentTargetsPtrInput is an input type that accepts StackInstancesDeploymentTargetsArgs, StackInstancesDeploymentTargetsPtr and StackInstancesDeploymentTargetsPtrOutput values. You can construct a concrete instance of `StackInstancesDeploymentTargetsPtrInput` via:

        StackInstancesDeploymentTargetsArgs{...}

or:

        nil

type StackInstancesDeploymentTargetsPtrOutput added in v6.52.0

type StackInstancesDeploymentTargetsPtrOutput struct{ *pulumi.OutputState }

func (StackInstancesDeploymentTargetsPtrOutput) AccountFilterType added in v6.52.0

Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.

func (StackInstancesDeploymentTargetsPtrOutput) Accounts added in v6.52.0

List of accounts to deploy stack set updates.

func (StackInstancesDeploymentTargetsPtrOutput) AccountsUrl added in v6.52.0

S3 URL of the file containing the list of accounts.

func (StackInstancesDeploymentTargetsPtrOutput) Elem added in v6.52.0

func (StackInstancesDeploymentTargetsPtrOutput) ElementType added in v6.52.0

func (StackInstancesDeploymentTargetsPtrOutput) OrganizationalUnitIds added in v6.52.0

Organization root ID or organizational unit (OU) IDs to which stack sets deploy.

func (StackInstancesDeploymentTargetsPtrOutput) ToStackInstancesDeploymentTargetsPtrOutput added in v6.52.0

func (o StackInstancesDeploymentTargetsPtrOutput) ToStackInstancesDeploymentTargetsPtrOutput() StackInstancesDeploymentTargetsPtrOutput

func (StackInstancesDeploymentTargetsPtrOutput) ToStackInstancesDeploymentTargetsPtrOutputWithContext added in v6.52.0

func (o StackInstancesDeploymentTargetsPtrOutput) ToStackInstancesDeploymentTargetsPtrOutputWithContext(ctx context.Context) StackInstancesDeploymentTargetsPtrOutput

type StackInstancesInput added in v6.52.0

type StackInstancesInput interface {
	pulumi.Input

	ToStackInstancesOutput() StackInstancesOutput
	ToStackInstancesOutputWithContext(ctx context.Context) StackInstancesOutput
}

type StackInstancesMap added in v6.52.0

type StackInstancesMap map[string]StackInstancesInput

func (StackInstancesMap) ElementType added in v6.52.0

func (StackInstancesMap) ElementType() reflect.Type

func (StackInstancesMap) ToStackInstancesMapOutput added in v6.52.0

func (i StackInstancesMap) ToStackInstancesMapOutput() StackInstancesMapOutput

func (StackInstancesMap) ToStackInstancesMapOutputWithContext added in v6.52.0

func (i StackInstancesMap) ToStackInstancesMapOutputWithContext(ctx context.Context) StackInstancesMapOutput

type StackInstancesMapInput added in v6.52.0

type StackInstancesMapInput interface {
	pulumi.Input

	ToStackInstancesMapOutput() StackInstancesMapOutput
	ToStackInstancesMapOutputWithContext(context.Context) StackInstancesMapOutput
}

StackInstancesMapInput is an input type that accepts StackInstancesMap and StackInstancesMapOutput values. You can construct a concrete instance of `StackInstancesMapInput` via:

StackInstancesMap{ "key": StackInstancesArgs{...} }

type StackInstancesMapOutput added in v6.52.0

type StackInstancesMapOutput struct{ *pulumi.OutputState }

func (StackInstancesMapOutput) ElementType added in v6.52.0

func (StackInstancesMapOutput) ElementType() reflect.Type

func (StackInstancesMapOutput) MapIndex added in v6.52.0

func (StackInstancesMapOutput) ToStackInstancesMapOutput added in v6.52.0

func (o StackInstancesMapOutput) ToStackInstancesMapOutput() StackInstancesMapOutput

func (StackInstancesMapOutput) ToStackInstancesMapOutputWithContext added in v6.52.0

func (o StackInstancesMapOutput) ToStackInstancesMapOutputWithContext(ctx context.Context) StackInstancesMapOutput

type StackInstancesOperationPreferences added in v6.52.0

type StackInstancesOperationPreferences struct {
	// How the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.
	ConcurrencyMode *string `pulumi:"concurrencyMode"`
	// Number of accounts, per region, for which this operation can fail before CloudFormation stops the operation in that region.
	FailureToleranceCount *int `pulumi:"failureToleranceCount"`
	// Percentage of accounts, per region, for which this stack operation can fail before CloudFormation stops the operation in that region.
	FailureTolerancePercentage *int `pulumi:"failureTolerancePercentage"`
	// Maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount *int `pulumi:"maxConcurrentCount"`
	// Maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage *int `pulumi:"maxConcurrentPercentage"`
	// Concurrency type of deploying stack sets operations in regions, could be in parallel or one region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.
	RegionConcurrencyType *string `pulumi:"regionConcurrencyType"`
	// Order of the regions where you want to perform the stack operation.
	RegionOrders []string `pulumi:"regionOrders"`
}

type StackInstancesOperationPreferencesArgs added in v6.52.0

type StackInstancesOperationPreferencesArgs struct {
	// How the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.
	ConcurrencyMode pulumi.StringPtrInput `pulumi:"concurrencyMode"`
	// Number of accounts, per region, for which this operation can fail before CloudFormation stops the operation in that region.
	FailureToleranceCount pulumi.IntPtrInput `pulumi:"failureToleranceCount"`
	// Percentage of accounts, per region, for which this stack operation can fail before CloudFormation stops the operation in that region.
	FailureTolerancePercentage pulumi.IntPtrInput `pulumi:"failureTolerancePercentage"`
	// Maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount pulumi.IntPtrInput `pulumi:"maxConcurrentCount"`
	// Maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage pulumi.IntPtrInput `pulumi:"maxConcurrentPercentage"`
	// Concurrency type of deploying stack sets operations in regions, could be in parallel or one region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.
	RegionConcurrencyType pulumi.StringPtrInput `pulumi:"regionConcurrencyType"`
	// Order of the regions where you want to perform the stack operation.
	RegionOrders pulumi.StringArrayInput `pulumi:"regionOrders"`
}

func (StackInstancesOperationPreferencesArgs) ElementType added in v6.52.0

func (StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesOutput added in v6.52.0

func (i StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesOutput() StackInstancesOperationPreferencesOutput

func (StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesOutputWithContext added in v6.52.0

func (i StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesOutputWithContext(ctx context.Context) StackInstancesOperationPreferencesOutput

func (StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesPtrOutput added in v6.52.0

func (i StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesPtrOutput() StackInstancesOperationPreferencesPtrOutput

func (StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesPtrOutputWithContext added in v6.52.0

func (i StackInstancesOperationPreferencesArgs) ToStackInstancesOperationPreferencesPtrOutputWithContext(ctx context.Context) StackInstancesOperationPreferencesPtrOutput

type StackInstancesOperationPreferencesInput added in v6.52.0

type StackInstancesOperationPreferencesInput interface {
	pulumi.Input

	ToStackInstancesOperationPreferencesOutput() StackInstancesOperationPreferencesOutput
	ToStackInstancesOperationPreferencesOutputWithContext(context.Context) StackInstancesOperationPreferencesOutput
}

StackInstancesOperationPreferencesInput is an input type that accepts StackInstancesOperationPreferencesArgs and StackInstancesOperationPreferencesOutput values. You can construct a concrete instance of `StackInstancesOperationPreferencesInput` via:

StackInstancesOperationPreferencesArgs{...}

type StackInstancesOperationPreferencesOutput added in v6.52.0

type StackInstancesOperationPreferencesOutput struct{ *pulumi.OutputState }

func (StackInstancesOperationPreferencesOutput) ConcurrencyMode added in v6.52.0

How the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.

func (StackInstancesOperationPreferencesOutput) ElementType added in v6.52.0

func (StackInstancesOperationPreferencesOutput) FailureToleranceCount added in v6.52.0

Number of accounts, per region, for which this operation can fail before CloudFormation stops the operation in that region.

func (StackInstancesOperationPreferencesOutput) FailureTolerancePercentage added in v6.52.0

func (o StackInstancesOperationPreferencesOutput) FailureTolerancePercentage() pulumi.IntPtrOutput

Percentage of accounts, per region, for which this stack operation can fail before CloudFormation stops the operation in that region.

func (StackInstancesOperationPreferencesOutput) MaxConcurrentCount added in v6.52.0

Maximum number of accounts in which to perform this operation at one time.

func (StackInstancesOperationPreferencesOutput) MaxConcurrentPercentage added in v6.52.0

func (o StackInstancesOperationPreferencesOutput) MaxConcurrentPercentage() pulumi.IntPtrOutput

Maximum percentage of accounts in which to perform this operation at one time.

func (StackInstancesOperationPreferencesOutput) RegionConcurrencyType added in v6.52.0

Concurrency type of deploying stack sets operations in regions, could be in parallel or one region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.

func (StackInstancesOperationPreferencesOutput) RegionOrders added in v6.52.0

Order of the regions where you want to perform the stack operation.

func (StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesOutput added in v6.52.0

func (o StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesOutput() StackInstancesOperationPreferencesOutput

func (StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesOutputWithContext added in v6.52.0

func (o StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesOutputWithContext(ctx context.Context) StackInstancesOperationPreferencesOutput

func (StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesPtrOutput added in v6.52.0

func (o StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesPtrOutput() StackInstancesOperationPreferencesPtrOutput

func (StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesPtrOutputWithContext added in v6.52.0

func (o StackInstancesOperationPreferencesOutput) ToStackInstancesOperationPreferencesPtrOutputWithContext(ctx context.Context) StackInstancesOperationPreferencesPtrOutput

type StackInstancesOperationPreferencesPtrInput added in v6.52.0

type StackInstancesOperationPreferencesPtrInput interface {
	pulumi.Input

	ToStackInstancesOperationPreferencesPtrOutput() StackInstancesOperationPreferencesPtrOutput
	ToStackInstancesOperationPreferencesPtrOutputWithContext(context.Context) StackInstancesOperationPreferencesPtrOutput
}

StackInstancesOperationPreferencesPtrInput is an input type that accepts StackInstancesOperationPreferencesArgs, StackInstancesOperationPreferencesPtr and StackInstancesOperationPreferencesPtrOutput values. You can construct a concrete instance of `StackInstancesOperationPreferencesPtrInput` via:

        StackInstancesOperationPreferencesArgs{...}

or:

        nil

type StackInstancesOperationPreferencesPtrOutput added in v6.52.0

type StackInstancesOperationPreferencesPtrOutput struct{ *pulumi.OutputState }

func (StackInstancesOperationPreferencesPtrOutput) ConcurrencyMode added in v6.52.0

How the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.

func (StackInstancesOperationPreferencesPtrOutput) Elem added in v6.52.0

func (StackInstancesOperationPreferencesPtrOutput) ElementType added in v6.52.0

func (StackInstancesOperationPreferencesPtrOutput) FailureToleranceCount added in v6.52.0

Number of accounts, per region, for which this operation can fail before CloudFormation stops the operation in that region.

func (StackInstancesOperationPreferencesPtrOutput) FailureTolerancePercentage added in v6.52.0

func (o StackInstancesOperationPreferencesPtrOutput) FailureTolerancePercentage() pulumi.IntPtrOutput

Percentage of accounts, per region, for which this stack operation can fail before CloudFormation stops the operation in that region.

func (StackInstancesOperationPreferencesPtrOutput) MaxConcurrentCount added in v6.52.0

Maximum number of accounts in which to perform this operation at one time.

func (StackInstancesOperationPreferencesPtrOutput) MaxConcurrentPercentage added in v6.52.0

Maximum percentage of accounts in which to perform this operation at one time.

func (StackInstancesOperationPreferencesPtrOutput) RegionConcurrencyType added in v6.52.0

Concurrency type of deploying stack sets operations in regions, could be in parallel or one region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.

func (StackInstancesOperationPreferencesPtrOutput) RegionOrders added in v6.52.0

Order of the regions where you want to perform the stack operation.

func (StackInstancesOperationPreferencesPtrOutput) ToStackInstancesOperationPreferencesPtrOutput added in v6.52.0

func (o StackInstancesOperationPreferencesPtrOutput) ToStackInstancesOperationPreferencesPtrOutput() StackInstancesOperationPreferencesPtrOutput

func (StackInstancesOperationPreferencesPtrOutput) ToStackInstancesOperationPreferencesPtrOutputWithContext added in v6.52.0

func (o StackInstancesOperationPreferencesPtrOutput) ToStackInstancesOperationPreferencesPtrOutputWithContext(ctx context.Context) StackInstancesOperationPreferencesPtrOutput

type StackInstancesOutput added in v6.52.0

type StackInstancesOutput struct{ *pulumi.OutputState }

func (StackInstancesOutput) Accounts added in v6.52.0

Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.

func (StackInstancesOutput) CallAs added in v6.52.0

Whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.

func (StackInstancesOutput) DeploymentTargets added in v6.52.0

AWS Organizations accounts for which to create stack instances in the `regions`. stack sets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for most of this argument. See deploymentTargets below.

func (StackInstancesOutput) ElementType added in v6.52.0

func (StackInstancesOutput) ElementType() reflect.Type

func (StackInstancesOutput) OperationPreferences added in v6.52.0

Preferences for how AWS CloudFormation performs a stack set operation. See operationPreferences below.

func (StackInstancesOutput) ParameterOverrides added in v6.52.0

func (o StackInstancesOutput) ParameterOverrides() pulumi.StringMapOutput

Key-value map of input parameters to override from the stack set for these instances. This argument's drift detection is limited to the first account and region since each instance can have unique parameters.

func (StackInstancesOutput) Regions added in v6.52.0

Regions where you want to create stack instances in the specified `accounts`.

func (StackInstancesOutput) RetainStacks added in v6.52.0

func (o StackInstancesOutput) RetainStacks() pulumi.BoolPtrOutput

Whether to remove the stack instances from the stack set, but not delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. To retain the stack, ensure `retainStacks = true` has been successfully applied _before_ an apply that would destroy the resource. Defaults to `false`.

func (StackInstancesOutput) StackInstanceSummaries added in v6.52.0

List of stack instances created from an organizational unit deployment target. This may not always be set depending on whether CloudFormation returns summaries for your configuration. See `stackInstanceSummaries`.

func (StackInstancesOutput) StackSetId added in v6.52.0

func (o StackInstancesOutput) StackSetId() pulumi.StringOutput

Name or unique ID of the stack set that the stack instance is associated with.

func (StackInstancesOutput) StackSetName added in v6.52.0

func (o StackInstancesOutput) StackSetName() pulumi.StringOutput

Name of the stack set.

The following arguments are optional:

func (StackInstancesOutput) ToStackInstancesOutput added in v6.52.0

func (o StackInstancesOutput) ToStackInstancesOutput() StackInstancesOutput

func (StackInstancesOutput) ToStackInstancesOutputWithContext added in v6.52.0

func (o StackInstancesOutput) ToStackInstancesOutputWithContext(ctx context.Context) StackInstancesOutput

type StackInstancesStackInstanceSummary added in v6.52.0

type StackInstancesStackInstanceSummary struct {
	// Account ID in which the instance is deployed.
	AccountId *string `pulumi:"accountId"`
	// Detailed status of the stack instance. Values include `PENDING`, `RUNNING`, `SUCCEEDED`, `FAILED`, `CANCELLED`, `INOPERABLE`, `SKIPPED_SUSPENDED_ACCOUNT`, `FAILED_IMPORT`.
	DetailedStatus *string `pulumi:"detailedStatus"`
	// Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. Values include `DRIFTED`, `IN_SYNC`, `UNKNOWN`, `NOT_CHECKED`.
	DriftStatus *string `pulumi:"driftStatus"`
	// Organization root ID or organizational unit (OU) IDs that you specified for `deploymentTargets`.
	OrganizationalUnitId *string `pulumi:"organizationalUnitId"`
	// Region that the stack instance is associated with.
	Region *string `pulumi:"region"`
	// ID of the stack instance.
	StackId *string `pulumi:"stackId"`
	// Name or unique ID of the stack set that the stack instance is associated with.
	StackSetId *string `pulumi:"stackSetId"`
	// Status of the stack instance, in terms of its synchronization with its associated stack set. Values include `CURRENT`, `OUTDATED`, `INOPERABLE`.
	Status *string `pulumi:"status"`
	// Explanation for the specific status code assigned to this stack instance.
	StatusReason *string `pulumi:"statusReason"`
}

type StackInstancesStackInstanceSummaryArgs added in v6.52.0

type StackInstancesStackInstanceSummaryArgs struct {
	// Account ID in which the instance is deployed.
	AccountId pulumi.StringPtrInput `pulumi:"accountId"`
	// Detailed status of the stack instance. Values include `PENDING`, `RUNNING`, `SUCCEEDED`, `FAILED`, `CANCELLED`, `INOPERABLE`, `SKIPPED_SUSPENDED_ACCOUNT`, `FAILED_IMPORT`.
	DetailedStatus pulumi.StringPtrInput `pulumi:"detailedStatus"`
	// Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. Values include `DRIFTED`, `IN_SYNC`, `UNKNOWN`, `NOT_CHECKED`.
	DriftStatus pulumi.StringPtrInput `pulumi:"driftStatus"`
	// Organization root ID or organizational unit (OU) IDs that you specified for `deploymentTargets`.
	OrganizationalUnitId pulumi.StringPtrInput `pulumi:"organizationalUnitId"`
	// Region that the stack instance is associated with.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// ID of the stack instance.
	StackId pulumi.StringPtrInput `pulumi:"stackId"`
	// Name or unique ID of the stack set that the stack instance is associated with.
	StackSetId pulumi.StringPtrInput `pulumi:"stackSetId"`
	// Status of the stack instance, in terms of its synchronization with its associated stack set. Values include `CURRENT`, `OUTDATED`, `INOPERABLE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Explanation for the specific status code assigned to this stack instance.
	StatusReason pulumi.StringPtrInput `pulumi:"statusReason"`
}

func (StackInstancesStackInstanceSummaryArgs) ElementType added in v6.52.0

func (StackInstancesStackInstanceSummaryArgs) ToStackInstancesStackInstanceSummaryOutput added in v6.52.0

func (i StackInstancesStackInstanceSummaryArgs) ToStackInstancesStackInstanceSummaryOutput() StackInstancesStackInstanceSummaryOutput

func (StackInstancesStackInstanceSummaryArgs) ToStackInstancesStackInstanceSummaryOutputWithContext added in v6.52.0

func (i StackInstancesStackInstanceSummaryArgs) ToStackInstancesStackInstanceSummaryOutputWithContext(ctx context.Context) StackInstancesStackInstanceSummaryOutput

type StackInstancesStackInstanceSummaryArray added in v6.52.0

type StackInstancesStackInstanceSummaryArray []StackInstancesStackInstanceSummaryInput

func (StackInstancesStackInstanceSummaryArray) ElementType added in v6.52.0

func (StackInstancesStackInstanceSummaryArray) ToStackInstancesStackInstanceSummaryArrayOutput added in v6.52.0

func (i StackInstancesStackInstanceSummaryArray) ToStackInstancesStackInstanceSummaryArrayOutput() StackInstancesStackInstanceSummaryArrayOutput

func (StackInstancesStackInstanceSummaryArray) ToStackInstancesStackInstanceSummaryArrayOutputWithContext added in v6.52.0

func (i StackInstancesStackInstanceSummaryArray) ToStackInstancesStackInstanceSummaryArrayOutputWithContext(ctx context.Context) StackInstancesStackInstanceSummaryArrayOutput

type StackInstancesStackInstanceSummaryArrayInput added in v6.52.0

type StackInstancesStackInstanceSummaryArrayInput interface {
	pulumi.Input

	ToStackInstancesStackInstanceSummaryArrayOutput() StackInstancesStackInstanceSummaryArrayOutput
	ToStackInstancesStackInstanceSummaryArrayOutputWithContext(context.Context) StackInstancesStackInstanceSummaryArrayOutput
}

StackInstancesStackInstanceSummaryArrayInput is an input type that accepts StackInstancesStackInstanceSummaryArray and StackInstancesStackInstanceSummaryArrayOutput values. You can construct a concrete instance of `StackInstancesStackInstanceSummaryArrayInput` via:

StackInstancesStackInstanceSummaryArray{ StackInstancesStackInstanceSummaryArgs{...} }

type StackInstancesStackInstanceSummaryArrayOutput added in v6.52.0

type StackInstancesStackInstanceSummaryArrayOutput struct{ *pulumi.OutputState }

func (StackInstancesStackInstanceSummaryArrayOutput) ElementType added in v6.52.0

func (StackInstancesStackInstanceSummaryArrayOutput) Index added in v6.52.0

func (StackInstancesStackInstanceSummaryArrayOutput) ToStackInstancesStackInstanceSummaryArrayOutput added in v6.52.0

func (o StackInstancesStackInstanceSummaryArrayOutput) ToStackInstancesStackInstanceSummaryArrayOutput() StackInstancesStackInstanceSummaryArrayOutput

func (StackInstancesStackInstanceSummaryArrayOutput) ToStackInstancesStackInstanceSummaryArrayOutputWithContext added in v6.52.0

func (o StackInstancesStackInstanceSummaryArrayOutput) ToStackInstancesStackInstanceSummaryArrayOutputWithContext(ctx context.Context) StackInstancesStackInstanceSummaryArrayOutput

type StackInstancesStackInstanceSummaryInput added in v6.52.0

type StackInstancesStackInstanceSummaryInput interface {
	pulumi.Input

	ToStackInstancesStackInstanceSummaryOutput() StackInstancesStackInstanceSummaryOutput
	ToStackInstancesStackInstanceSummaryOutputWithContext(context.Context) StackInstancesStackInstanceSummaryOutput
}

StackInstancesStackInstanceSummaryInput is an input type that accepts StackInstancesStackInstanceSummaryArgs and StackInstancesStackInstanceSummaryOutput values. You can construct a concrete instance of `StackInstancesStackInstanceSummaryInput` via:

StackInstancesStackInstanceSummaryArgs{...}

type StackInstancesStackInstanceSummaryOutput added in v6.52.0

type StackInstancesStackInstanceSummaryOutput struct{ *pulumi.OutputState }

func (StackInstancesStackInstanceSummaryOutput) AccountId added in v6.52.0

Account ID in which the instance is deployed.

func (StackInstancesStackInstanceSummaryOutput) DetailedStatus added in v6.52.0

Detailed status of the stack instance. Values include `PENDING`, `RUNNING`, `SUCCEEDED`, `FAILED`, `CANCELLED`, `INOPERABLE`, `SKIPPED_SUSPENDED_ACCOUNT`, `FAILED_IMPORT`.

func (StackInstancesStackInstanceSummaryOutput) DriftStatus added in v6.52.0

Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. Values include `DRIFTED`, `IN_SYNC`, `UNKNOWN`, `NOT_CHECKED`.

func (StackInstancesStackInstanceSummaryOutput) ElementType added in v6.52.0

func (StackInstancesStackInstanceSummaryOutput) OrganizationalUnitId added in v6.52.0

Organization root ID or organizational unit (OU) IDs that you specified for `deploymentTargets`.

func (StackInstancesStackInstanceSummaryOutput) Region added in v6.52.0

Region that the stack instance is associated with.

func (StackInstancesStackInstanceSummaryOutput) StackId added in v6.52.0

ID of the stack instance.

func (StackInstancesStackInstanceSummaryOutput) StackSetId added in v6.52.0

Name or unique ID of the stack set that the stack instance is associated with.

func (StackInstancesStackInstanceSummaryOutput) Status added in v6.52.0

Status of the stack instance, in terms of its synchronization with its associated stack set. Values include `CURRENT`, `OUTDATED`, `INOPERABLE`.

func (StackInstancesStackInstanceSummaryOutput) StatusReason added in v6.52.0

Explanation for the specific status code assigned to this stack instance.

func (StackInstancesStackInstanceSummaryOutput) ToStackInstancesStackInstanceSummaryOutput added in v6.52.0

func (o StackInstancesStackInstanceSummaryOutput) ToStackInstancesStackInstanceSummaryOutput() StackInstancesStackInstanceSummaryOutput

func (StackInstancesStackInstanceSummaryOutput) ToStackInstancesStackInstanceSummaryOutputWithContext added in v6.52.0

func (o StackInstancesStackInstanceSummaryOutput) ToStackInstancesStackInstanceSummaryOutputWithContext(ctx context.Context) StackInstancesStackInstanceSummaryOutput

type StackInstancesState added in v6.52.0

type StackInstancesState struct {
	// Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.
	Accounts pulumi.StringArrayInput
	// Whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrInput
	// AWS Organizations accounts for which to create stack instances in the `regions`. stack sets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for most of this argument. See deploymentTargets below.
	DeploymentTargets StackInstancesDeploymentTargetsPtrInput
	// Preferences for how AWS CloudFormation performs a stack set operation. See operationPreferences below.
	OperationPreferences StackInstancesOperationPreferencesPtrInput
	// Key-value map of input parameters to override from the stack set for these instances. This argument's drift detection is limited to the first account and region since each instance can have unique parameters.
	ParameterOverrides pulumi.StringMapInput
	// Regions where you want to create stack instances in the specified `accounts`.
	Regions pulumi.StringArrayInput
	// Whether to remove the stack instances from the stack set, but not delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. To retain the stack, ensure `retainStacks = true` has been successfully applied _before_ an apply that would destroy the resource. Defaults to `false`.
	RetainStacks pulumi.BoolPtrInput
	// List of stack instances created from an organizational unit deployment target. This may not always be set depending on whether CloudFormation returns summaries for your configuration. See `stackInstanceSummaries`.
	StackInstanceSummaries StackInstancesStackInstanceSummaryArrayInput
	// Name or unique ID of the stack set that the stack instance is associated with.
	StackSetId pulumi.StringPtrInput
	// Name of the stack set.
	//
	// The following arguments are optional:
	StackSetName pulumi.StringPtrInput
}

func (StackInstancesState) ElementType added in v6.52.0

func (StackInstancesState) ElementType() reflect.Type

type StackMap

type StackMap map[string]StackInput

func (StackMap) ElementType

func (StackMap) ElementType() reflect.Type

func (StackMap) ToStackMapOutput

func (i StackMap) ToStackMapOutput() StackMapOutput

func (StackMap) ToStackMapOutputWithContext

func (i StackMap) ToStackMapOutputWithContext(ctx context.Context) StackMapOutput

type StackMapInput

type StackMapInput interface {
	pulumi.Input

	ToStackMapOutput() StackMapOutput
	ToStackMapOutputWithContext(context.Context) StackMapOutput
}

StackMapInput is an input type that accepts StackMap and StackMapOutput values. You can construct a concrete instance of `StackMapInput` via:

StackMap{ "key": StackArgs{...} }

type StackMapOutput

type StackMapOutput struct{ *pulumi.OutputState }

func (StackMapOutput) ElementType

func (StackMapOutput) ElementType() reflect.Type

func (StackMapOutput) MapIndex

func (StackMapOutput) ToStackMapOutput

func (o StackMapOutput) ToStackMapOutput() StackMapOutput

func (StackMapOutput) ToStackMapOutputWithContext

func (o StackMapOutput) ToStackMapOutputWithContext(ctx context.Context) StackMapOutput

type StackOutput

type StackOutput struct{ *pulumi.OutputState }

func (StackOutput) Capabilities

func (o StackOutput) Capabilities() pulumi.StringArrayOutput

A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, or `CAPABILITY_AUTO_EXPAND`

func (StackOutput) DisableRollback

func (o StackOutput) DisableRollback() pulumi.BoolPtrOutput

Set to true to disable rollback of the stack if stack creation failed. Conflicts with `onFailure`.

func (StackOutput) ElementType

func (StackOutput) ElementType() reflect.Type

func (StackOutput) IamRoleArn

func (o StackOutput) IamRoleArn() pulumi.StringPtrOutput

The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.

func (StackOutput) Name

func (o StackOutput) Name() pulumi.StringOutput

Stack name.

func (StackOutput) NotificationArns

func (o StackOutput) NotificationArns() pulumi.StringArrayOutput

A list of SNS topic ARNs to publish stack related events.

func (StackOutput) OnFailure

func (o StackOutput) OnFailure() pulumi.StringPtrOutput

Action to be taken if stack creation fails. This must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disableRollback`.

func (StackOutput) Outputs

func (o StackOutput) Outputs() pulumi.StringMapOutput

A map of outputs from the stack.

func (StackOutput) Parameters

func (o StackOutput) Parameters() pulumi.StringMapOutput

A map of Parameter structures that specify input parameters for the stack.

func (StackOutput) PolicyBody

func (o StackOutput) PolicyBody() pulumi.StringOutput

Structure containing the stack policy body. Conflicts w/ `policyUrl`.

func (StackOutput) PolicyUrl

func (o StackOutput) PolicyUrl() pulumi.StringPtrOutput

Location of a file containing the stack policy. Conflicts w/ `policyBody`.

func (StackOutput) Tags

Map of resource tags to associate with this stack. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (StackOutput) TagsAll deprecated

func (o StackOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (StackOutput) TemplateBody

func (o StackOutput) TemplateBody() pulumi.StringOutput

Structure containing the template body (max size: 51,200 bytes).

func (StackOutput) TemplateUrl

func (o StackOutput) TemplateUrl() pulumi.StringPtrOutput

Location of a file containing the template body (max size: 460,800 bytes).

func (StackOutput) TimeoutInMinutes

func (o StackOutput) TimeoutInMinutes() pulumi.IntPtrOutput

The amount of time that can pass before the stack status becomes `CREATE_FAILED`.

func (StackOutput) ToStackOutput

func (o StackOutput) ToStackOutput() StackOutput

func (StackOutput) ToStackOutputWithContext

func (o StackOutput) ToStackOutputWithContext(ctx context.Context) StackOutput

type StackSet

type StackSet struct {
	pulumi.CustomResourceState

	// Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the `SELF_MANAGED` permission model.
	AdministrationRoleArn pulumi.StringPtrOutput `pulumi:"administrationRoleArn"`
	// Amazon Resource Name (ARN) of the StackSet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the `SERVICE_MANAGED` permission model.
	AutoDeployment StackSetAutoDeploymentPtrOutput `pulumi:"autoDeployment"`
	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrOutput `pulumi:"callAs"`
	// A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.
	Capabilities pulumi.StringArrayOutput `pulumi:"capabilities"`
	// Description of the StackSet.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of the IAM Role in all target accounts for StackSet operations. Defaults to `AWSCloudFormationStackSetExecutionRole` when using the `SELF_MANAGED` permission model. This should not be defined when using the `SERVICE_MANAGED` permission model.
	ExecutionRoleName pulumi.StringOutput `pulumi:"executionRoleName"`
	// Configuration block to allow StackSets to perform non-conflicting operations concurrently and queues conflicting operations.
	ManagedExecution StackSetManagedExecutionPtrOutput `pulumi:"managedExecution"`
	// Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// Preferences for how AWS CloudFormation performs a stack set update.
	OperationPreferences StackSetOperationPreferencesPtrOutput `pulumi:"operationPreferences"`
	// Key-value map of input parameters for the StackSet template. All template parameters, including those with a `Default`, must be configured or ignored with `lifecycle` configuration block `ignoreChanges` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// Describes how the IAM roles required for your StackSet are created. Valid values: `SELF_MANAGED` (default), `SERVICE_MANAGED`.
	PermissionModel pulumi.StringPtrOutput `pulumi:"permissionModel"`
	// Unique identifier of the StackSet.
	StackSetId pulumi.StringOutput `pulumi:"stackSetId"`
	// Key-value map of tags to associate with this StackSet and the Stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the Stacks. A maximum number of 50 tags can be specified. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with `templateUrl`.
	TemplateBody pulumi.StringOutput `pulumi:"templateBody"`
	// String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with `templateBody`.
	TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"`
}

Manages a CloudFormation StackSet. StackSets allow CloudFormation templates to be easily deployed across multiple accounts and regions via StackSet Instances (`cloudformation.StackSetInstance` resource). Additional information about StackSets can be found in the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html).

> **NOTE:** All template parameters, including those with a `Default`, must be configured or ignored with the `lifecycle` configuration block `ignoreChanges` argument.

> **NOTE:** All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.

> **NOTE:** When using a delegated administrator account, ensure that your IAM User or Role has the `organizations:ListDelegatedAdministrators` permission. Otherwise, you may get an error like `ValidationError: Account used is not a delegated administrator`.

## Example Usage

```go package main

import (

"encoding/json"
"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudformation"
"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 {
		aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"sts:AssumeRole",
					},
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Identifiers: []string{
								"cloudformation.amazonaws.com",
							},
							Type: "Service",
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		aWSCloudFormationStackSetAdministrationRole, err := iam.NewRole(ctx, "AWSCloudFormationStackSetAdministrationRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.Json),
			Name:             pulumi.String("AWSCloudFormationStackSetAdministrationRole"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Parameters": map[string]interface{}{
				"VPCCidr": map[string]interface{}{
					"Type":        "String",
					"Default":     "10.0.0.0/16",
					"Description": "Enter the CIDR block for the VPC. Default is 10.0.0.0/16.",
				},
			},
			"Resources": map[string]interface{}{
				"myVpc": map[string]interface{}{
					"Type": "AWS::EC2::VPC",
					"Properties": map[string]interface{}{
						"CidrBlock": map[string]interface{}{
							"Ref": "VPCCidr",
						},
						"Tags": []map[string]interface{}{
							map[string]interface{}{
								"Key":   "Name",
								"Value": "Primary_CF_VPC",
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		example, err := cloudformation.NewStackSet(ctx, "example", &cloudformation.StackSetArgs{
			AdministrationRoleArn: aWSCloudFormationStackSetAdministrationRole.Arn,
			Name:                  pulumi.String("example"),
			Parameters: pulumi.StringMap{
				"VPCCidr": pulumi.String("10.0.0.0/16"),
			},
			TemplateBody: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		aWSCloudFormationStackSetAdministrationRoleExecutionPolicy := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Actions: pulumi.StringArray{
						pulumi.String("sts:AssumeRole"),
					},
					Effect: pulumi.String("Allow"),
					Resources: pulumi.StringArray{
						example.ExecutionRoleName.ApplyT(func(executionRoleName string) (string, error) {
							return fmt.Sprintf("arn:aws:iam::*:role/%v", executionRoleName), nil
						}).(pulumi.StringOutput),
					},
				},
			},
		}, nil)
		_, err = iam.NewRolePolicy(ctx, "AWSCloudFormationStackSetAdministrationRole_ExecutionPolicy", &iam.RolePolicyArgs{
			Name: pulumi.String("ExecutionPolicy"),
			Policy: pulumi.String(aWSCloudFormationStackSetAdministrationRoleExecutionPolicy.ApplyT(func(aWSCloudFormationStackSetAdministrationRoleExecutionPolicy iam.GetPolicyDocumentResult) (*string, error) {
				return &aWSCloudFormationStackSetAdministrationRoleExecutionPolicy.Json, nil
			}).(pulumi.StringPtrOutput)),
			Role: aWSCloudFormationStackSetAdministrationRole.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Import CloudFormation StackSets when acting a delegated administrator in a member account using the `name` and `call_as` values separated by a comma (`,`). For example:

Using `pulumi import`, import CloudFormation StackSets using the `name`. For example:

```sh $ pulumi import aws:cloudformation/stackSet:StackSet example example ``` Using `pulumi import`, import CloudFormation StackSets when acting a delegated administrator in a member account using the `name` and `call_as` values separated by a comma (`,`). For example:

```sh $ pulumi import aws:cloudformation/stackSet:StackSet example example,DELEGATED_ADMIN ```

func GetStackSet

func GetStackSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackSetState, opts ...pulumi.ResourceOption) (*StackSet, error)

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).

func NewStackSet

func NewStackSet(ctx *pulumi.Context,
	name string, args *StackSetArgs, opts ...pulumi.ResourceOption) (*StackSet, error)

NewStackSet registers a new resource with the given unique name, arguments, and options.

func (*StackSet) ElementType

func (*StackSet) ElementType() reflect.Type

func (*StackSet) ToStackSetOutput

func (i *StackSet) ToStackSetOutput() StackSetOutput

func (*StackSet) ToStackSetOutputWithContext

func (i *StackSet) ToStackSetOutputWithContext(ctx context.Context) StackSetOutput

type StackSetArgs

type StackSetArgs struct {
	// Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the `SELF_MANAGED` permission model.
	AdministrationRoleArn pulumi.StringPtrInput
	// Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the `SERVICE_MANAGED` permission model.
	AutoDeployment StackSetAutoDeploymentPtrInput
	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrInput
	// A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.
	Capabilities pulumi.StringArrayInput
	// Description of the StackSet.
	Description pulumi.StringPtrInput
	// Name of the IAM Role in all target accounts for StackSet operations. Defaults to `AWSCloudFormationStackSetExecutionRole` when using the `SELF_MANAGED` permission model. This should not be defined when using the `SERVICE_MANAGED` permission model.
	ExecutionRoleName pulumi.StringPtrInput
	// Configuration block to allow StackSets to perform non-conflicting operations concurrently and queues conflicting operations.
	ManagedExecution StackSetManagedExecutionPtrInput
	// Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
	Name pulumi.StringPtrInput
	// Preferences for how AWS CloudFormation performs a stack set update.
	OperationPreferences StackSetOperationPreferencesPtrInput
	// Key-value map of input parameters for the StackSet template. All template parameters, including those with a `Default`, must be configured or ignored with `lifecycle` configuration block `ignoreChanges` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.
	Parameters pulumi.StringMapInput
	// Describes how the IAM roles required for your StackSet are created. Valid values: `SELF_MANAGED` (default), `SERVICE_MANAGED`.
	PermissionModel pulumi.StringPtrInput
	// Key-value map of tags to associate with this StackSet and the Stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the Stacks. A maximum number of 50 tags can be specified. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with `templateUrl`.
	TemplateBody pulumi.StringPtrInput
	// String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with `templateBody`.
	TemplateUrl pulumi.StringPtrInput
}

The set of arguments for constructing a StackSet resource.

func (StackSetArgs) ElementType

func (StackSetArgs) ElementType() reflect.Type

type StackSetArray

type StackSetArray []StackSetInput

func (StackSetArray) ElementType

func (StackSetArray) ElementType() reflect.Type

func (StackSetArray) ToStackSetArrayOutput

func (i StackSetArray) ToStackSetArrayOutput() StackSetArrayOutput

func (StackSetArray) ToStackSetArrayOutputWithContext

func (i StackSetArray) ToStackSetArrayOutputWithContext(ctx context.Context) StackSetArrayOutput

type StackSetArrayInput

type StackSetArrayInput interface {
	pulumi.Input

	ToStackSetArrayOutput() StackSetArrayOutput
	ToStackSetArrayOutputWithContext(context.Context) StackSetArrayOutput
}

StackSetArrayInput is an input type that accepts StackSetArray and StackSetArrayOutput values. You can construct a concrete instance of `StackSetArrayInput` via:

StackSetArray{ StackSetArgs{...} }

type StackSetArrayOutput

type StackSetArrayOutput struct{ *pulumi.OutputState }

func (StackSetArrayOutput) ElementType

func (StackSetArrayOutput) ElementType() reflect.Type

func (StackSetArrayOutput) Index

func (StackSetArrayOutput) ToStackSetArrayOutput

func (o StackSetArrayOutput) ToStackSetArrayOutput() StackSetArrayOutput

func (StackSetArrayOutput) ToStackSetArrayOutputWithContext

func (o StackSetArrayOutput) ToStackSetArrayOutputWithContext(ctx context.Context) StackSetArrayOutput

type StackSetAutoDeployment

type StackSetAutoDeployment struct {
	// Whether or not auto-deployment is enabled.
	Enabled *bool `pulumi:"enabled"`
	// Whether or not to retain stacks when the account is removed.
	RetainStacksOnAccountRemoval *bool `pulumi:"retainStacksOnAccountRemoval"`
}

type StackSetAutoDeploymentArgs

type StackSetAutoDeploymentArgs struct {
	// Whether or not auto-deployment is enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Whether or not to retain stacks when the account is removed.
	RetainStacksOnAccountRemoval pulumi.BoolPtrInput `pulumi:"retainStacksOnAccountRemoval"`
}

func (StackSetAutoDeploymentArgs) ElementType

func (StackSetAutoDeploymentArgs) ElementType() reflect.Type

func (StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentOutput

func (i StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentOutput() StackSetAutoDeploymentOutput

func (StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentOutputWithContext

func (i StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentOutputWithContext(ctx context.Context) StackSetAutoDeploymentOutput

func (StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentPtrOutput

func (i StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentPtrOutput() StackSetAutoDeploymentPtrOutput

func (StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentPtrOutputWithContext

func (i StackSetAutoDeploymentArgs) ToStackSetAutoDeploymentPtrOutputWithContext(ctx context.Context) StackSetAutoDeploymentPtrOutput

type StackSetAutoDeploymentInput

type StackSetAutoDeploymentInput interface {
	pulumi.Input

	ToStackSetAutoDeploymentOutput() StackSetAutoDeploymentOutput
	ToStackSetAutoDeploymentOutputWithContext(context.Context) StackSetAutoDeploymentOutput
}

StackSetAutoDeploymentInput is an input type that accepts StackSetAutoDeploymentArgs and StackSetAutoDeploymentOutput values. You can construct a concrete instance of `StackSetAutoDeploymentInput` via:

StackSetAutoDeploymentArgs{...}

type StackSetAutoDeploymentOutput

type StackSetAutoDeploymentOutput struct{ *pulumi.OutputState }

func (StackSetAutoDeploymentOutput) ElementType

func (StackSetAutoDeploymentOutput) Enabled

Whether or not auto-deployment is enabled.

func (StackSetAutoDeploymentOutput) RetainStacksOnAccountRemoval

func (o StackSetAutoDeploymentOutput) RetainStacksOnAccountRemoval() pulumi.BoolPtrOutput

Whether or not to retain stacks when the account is removed.

func (StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentOutput

func (o StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentOutput() StackSetAutoDeploymentOutput

func (StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentOutputWithContext

func (o StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentOutputWithContext(ctx context.Context) StackSetAutoDeploymentOutput

func (StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentPtrOutput

func (o StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentPtrOutput() StackSetAutoDeploymentPtrOutput

func (StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentPtrOutputWithContext

func (o StackSetAutoDeploymentOutput) ToStackSetAutoDeploymentPtrOutputWithContext(ctx context.Context) StackSetAutoDeploymentPtrOutput

type StackSetAutoDeploymentPtrInput

type StackSetAutoDeploymentPtrInput interface {
	pulumi.Input

	ToStackSetAutoDeploymentPtrOutput() StackSetAutoDeploymentPtrOutput
	ToStackSetAutoDeploymentPtrOutputWithContext(context.Context) StackSetAutoDeploymentPtrOutput
}

StackSetAutoDeploymentPtrInput is an input type that accepts StackSetAutoDeploymentArgs, StackSetAutoDeploymentPtr and StackSetAutoDeploymentPtrOutput values. You can construct a concrete instance of `StackSetAutoDeploymentPtrInput` via:

        StackSetAutoDeploymentArgs{...}

or:

        nil

type StackSetAutoDeploymentPtrOutput

type StackSetAutoDeploymentPtrOutput struct{ *pulumi.OutputState }

func (StackSetAutoDeploymentPtrOutput) Elem

func (StackSetAutoDeploymentPtrOutput) ElementType

func (StackSetAutoDeploymentPtrOutput) Enabled

Whether or not auto-deployment is enabled.

func (StackSetAutoDeploymentPtrOutput) RetainStacksOnAccountRemoval

func (o StackSetAutoDeploymentPtrOutput) RetainStacksOnAccountRemoval() pulumi.BoolPtrOutput

Whether or not to retain stacks when the account is removed.

func (StackSetAutoDeploymentPtrOutput) ToStackSetAutoDeploymentPtrOutput

func (o StackSetAutoDeploymentPtrOutput) ToStackSetAutoDeploymentPtrOutput() StackSetAutoDeploymentPtrOutput

func (StackSetAutoDeploymentPtrOutput) ToStackSetAutoDeploymentPtrOutputWithContext

func (o StackSetAutoDeploymentPtrOutput) ToStackSetAutoDeploymentPtrOutputWithContext(ctx context.Context) StackSetAutoDeploymentPtrOutput

type StackSetInput

type StackSetInput interface {
	pulumi.Input

	ToStackSetOutput() StackSetOutput
	ToStackSetOutputWithContext(ctx context.Context) StackSetOutput
}

type StackSetInstance

type StackSetInstance struct {
	pulumi.CustomResourceState

	// Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrOutput `pulumi:"callAs"`
	// AWS Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for this argument. See deploymentTargets below.
	DeploymentTargets StackSetInstanceDeploymentTargetsPtrOutput `pulumi:"deploymentTargets"`
	// Preferences for how AWS CloudFormation performs a stack set operation.
	OperationPreferences StackSetInstanceOperationPreferencesPtrOutput `pulumi:"operationPreferences"`
	// Organizational unit ID in which the stack is deployed.
	OrganizationalUnitId pulumi.StringOutput `pulumi:"organizationalUnitId"`
	// Key-value map of input parameters to override from the StackSet for this Instance.
	ParameterOverrides pulumi.StringMapOutput `pulumi:"parameterOverrides"`
	// Target AWS Region to create a Stack based on the StackSet. Defaults to current region.
	Region pulumi.StringOutput `pulumi:"region"`
	// During resource destroy, remove Instance from StackSet while keeping the Stack and its associated resources. Must be enabled in the state _before_ destroy operation to take effect. You cannot reassociate a retained Stack or add an existing, saved Stack to a new StackSet. Defaults to `false`.
	RetainStack pulumi.BoolPtrOutput `pulumi:"retainStack"`
	// Stack identifier.
	StackId pulumi.StringOutput `pulumi:"stackId"`
	// List of stack instances created from an organizational unit deployment target. This will only be populated when `deploymentTargets` is set. See `stackInstanceSummaries`.
	StackInstanceSummaries StackSetInstanceStackInstanceSummaryArrayOutput `pulumi:"stackInstanceSummaries"`
	// Name of the StackSet.
	StackSetName pulumi.StringOutput `pulumi:"stackSetName"`
}

Manages a CloudFormation StackSet Instance. Instances are managed in the account and region of the StackSet after the target account permissions have been configured. Additional information about StackSets can be found in the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html).

> **NOTE:** All target accounts must have an IAM Role created that matches the name of the execution role configured in the StackSet (the `executionRoleName` argument in the `cloudformation.StackSet` resource) in a trust relationship with the administrative account or administration IAM Role. The execution role must have appropriate permissions to manage resources defined in the template along with those required for StackSets to operate. See the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html) for more details.

> **NOTE:** To retain the Stack during resource destroy, ensure `retainStack` has been set to `true` in the state first. This must be completed _before_ a deployment that would destroy the resource.

## 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.NewStackSetInstance(ctx, "example", &cloudformation.StackSetInstanceArgs{
			AccountId:    pulumi.String("123456789012"),
			Region:       pulumi.String("us-east-1"),
			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.NewStackSetInstance(ctx, "example", &cloudformation.StackSetInstanceArgs{
			DeploymentTargets: &cloudformation.StackSetInstanceDeploymentTargetsArgs{
				OrganizationalUnitIds: pulumi.StringArray{
					exampleAwsOrganizationsOrganization.Roots[0].Id,
				},
			},
			Region:       pulumi.String("us-east-1"),
			StackSetName: pulumi.Any(exampleAwsCloudformationStackSet.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Import CloudFormation StackSet Instances that target AWS Organizational Units using the StackSet name, a slash (`/`) separated list of organizational unit IDs, and target AWS Region separated by commas (`,`). For example:

Import CloudFormation StackSet Instances when acting a delegated administrator in a member account using the StackSet name, target AWS account ID or slash (`/`) separated list of organizational unit IDs, target AWS Region and `call_as` value separated by commas (`,`). For example:

Using `pulumi import`, import CloudFormation StackSet Instances that target an AWS Account ID using the StackSet name, target AWS account ID, and target AWS Region separated by commas (`,`). For example:

```sh $ pulumi import aws:cloudformation/stackSetInstance:StackSetInstance example example,123456789012,us-east-1 ``` Using `pulumi import`, import CloudFormation StackSet Instances that target AWS Organizational Units using the StackSet name, a slash (`/`) separated list of organizational unit IDs, and target AWS Region separated by commas (`,`). For example:

```sh $ pulumi import aws:cloudformation/stackSetInstance:StackSetInstance example example,ou-sdas-123123123/ou-sdas-789789789,us-east-1 ``` Using `pulumi import`, import CloudFormation StackSet Instances when acting a delegated administrator in a member account using the StackSet name, target AWS account ID or slash (`/`) separated list of organizational unit IDs, target AWS Region and `call_as` value separated by commas (`,`). For example:

```sh $ pulumi import aws:cloudformation/stackSetInstance:StackSetInstance example example,ou-sdas-123123123/ou-sdas-789789789,us-east-1,DELEGATED_ADMIN ```

func GetStackSetInstance

func GetStackSetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackSetInstanceState, opts ...pulumi.ResourceOption) (*StackSetInstance, error)

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).

func NewStackSetInstance

func NewStackSetInstance(ctx *pulumi.Context,
	name string, args *StackSetInstanceArgs, opts ...pulumi.ResourceOption) (*StackSetInstance, error)

NewStackSetInstance registers a new resource with the given unique name, arguments, and options.

func (*StackSetInstance) ElementType

func (*StackSetInstance) ElementType() reflect.Type

func (*StackSetInstance) ToStackSetInstanceOutput

func (i *StackSetInstance) ToStackSetInstanceOutput() StackSetInstanceOutput

func (*StackSetInstance) ToStackSetInstanceOutputWithContext

func (i *StackSetInstance) ToStackSetInstanceOutputWithContext(ctx context.Context) StackSetInstanceOutput

type StackSetInstanceArgs

type StackSetInstanceArgs struct {
	// Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
	AccountId pulumi.StringPtrInput
	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrInput
	// AWS Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for this argument. See deploymentTargets below.
	DeploymentTargets StackSetInstanceDeploymentTargetsPtrInput
	// Preferences for how AWS CloudFormation performs a stack set operation.
	OperationPreferences StackSetInstanceOperationPreferencesPtrInput
	// Key-value map of input parameters to override from the StackSet for this Instance.
	ParameterOverrides pulumi.StringMapInput
	// Target AWS Region to create a Stack based on the StackSet. Defaults to current region.
	Region pulumi.StringPtrInput
	// During resource destroy, remove Instance from StackSet while keeping the Stack and its associated resources. Must be enabled in the state _before_ destroy operation to take effect. You cannot reassociate a retained Stack or add an existing, saved Stack to a new StackSet. Defaults to `false`.
	RetainStack pulumi.BoolPtrInput
	// Name of the StackSet.
	StackSetName pulumi.StringInput
}

The set of arguments for constructing a StackSetInstance resource.

func (StackSetInstanceArgs) ElementType

func (StackSetInstanceArgs) ElementType() reflect.Type

type StackSetInstanceArray

type StackSetInstanceArray []StackSetInstanceInput

func (StackSetInstanceArray) ElementType

func (StackSetInstanceArray) ElementType() reflect.Type

func (StackSetInstanceArray) ToStackSetInstanceArrayOutput

func (i StackSetInstanceArray) ToStackSetInstanceArrayOutput() StackSetInstanceArrayOutput

func (StackSetInstanceArray) ToStackSetInstanceArrayOutputWithContext

func (i StackSetInstanceArray) ToStackSetInstanceArrayOutputWithContext(ctx context.Context) StackSetInstanceArrayOutput

type StackSetInstanceArrayInput

type StackSetInstanceArrayInput interface {
	pulumi.Input

	ToStackSetInstanceArrayOutput() StackSetInstanceArrayOutput
	ToStackSetInstanceArrayOutputWithContext(context.Context) StackSetInstanceArrayOutput
}

StackSetInstanceArrayInput is an input type that accepts StackSetInstanceArray and StackSetInstanceArrayOutput values. You can construct a concrete instance of `StackSetInstanceArrayInput` via:

StackSetInstanceArray{ StackSetInstanceArgs{...} }

type StackSetInstanceArrayOutput

type StackSetInstanceArrayOutput struct{ *pulumi.OutputState }

func (StackSetInstanceArrayOutput) ElementType

func (StackSetInstanceArrayOutput) Index

func (StackSetInstanceArrayOutput) ToStackSetInstanceArrayOutput

func (o StackSetInstanceArrayOutput) ToStackSetInstanceArrayOutput() StackSetInstanceArrayOutput

func (StackSetInstanceArrayOutput) ToStackSetInstanceArrayOutputWithContext

func (o StackSetInstanceArrayOutput) ToStackSetInstanceArrayOutputWithContext(ctx context.Context) StackSetInstanceArrayOutput

type StackSetInstanceDeploymentTargets

type StackSetInstanceDeploymentTargets struct {
	// Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
	AccountFilterType *string `pulumi:"accountFilterType"`
	// List of accounts to deploy stack set updates.
	Accounts []string `pulumi:"accounts"`
	// S3 URL of the file containing the list of accounts.
	AccountsUrl *string `pulumi:"accountsUrl"`
	// Organization root ID or organizational unit (OU) IDs to which StackSets deploys.
	OrganizationalUnitIds []string `pulumi:"organizationalUnitIds"`
}

type StackSetInstanceDeploymentTargetsArgs

type StackSetInstanceDeploymentTargetsArgs struct {
	// Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
	AccountFilterType pulumi.StringPtrInput `pulumi:"accountFilterType"`
	// List of accounts to deploy stack set updates.
	Accounts pulumi.StringArrayInput `pulumi:"accounts"`
	// S3 URL of the file containing the list of accounts.
	AccountsUrl pulumi.StringPtrInput `pulumi:"accountsUrl"`
	// Organization root ID or organizational unit (OU) IDs to which StackSets deploys.
	OrganizationalUnitIds pulumi.StringArrayInput `pulumi:"organizationalUnitIds"`
}

func (StackSetInstanceDeploymentTargetsArgs) ElementType

func (StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsOutput

func (i StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsOutput() StackSetInstanceDeploymentTargetsOutput

func (StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsOutputWithContext

func (i StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsOutputWithContext(ctx context.Context) StackSetInstanceDeploymentTargetsOutput

func (StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsPtrOutput

func (i StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsPtrOutput() StackSetInstanceDeploymentTargetsPtrOutput

func (StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsPtrOutputWithContext

func (i StackSetInstanceDeploymentTargetsArgs) ToStackSetInstanceDeploymentTargetsPtrOutputWithContext(ctx context.Context) StackSetInstanceDeploymentTargetsPtrOutput

type StackSetInstanceDeploymentTargetsInput

type StackSetInstanceDeploymentTargetsInput interface {
	pulumi.Input

	ToStackSetInstanceDeploymentTargetsOutput() StackSetInstanceDeploymentTargetsOutput
	ToStackSetInstanceDeploymentTargetsOutputWithContext(context.Context) StackSetInstanceDeploymentTargetsOutput
}

StackSetInstanceDeploymentTargetsInput is an input type that accepts StackSetInstanceDeploymentTargetsArgs and StackSetInstanceDeploymentTargetsOutput values. You can construct a concrete instance of `StackSetInstanceDeploymentTargetsInput` via:

StackSetInstanceDeploymentTargetsArgs{...}

type StackSetInstanceDeploymentTargetsOutput

type StackSetInstanceDeploymentTargetsOutput struct{ *pulumi.OutputState }

func (StackSetInstanceDeploymentTargetsOutput) AccountFilterType added in v6.45.0

Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.

func (StackSetInstanceDeploymentTargetsOutput) Accounts added in v6.45.0

List of accounts to deploy stack set updates.

func (StackSetInstanceDeploymentTargetsOutput) AccountsUrl added in v6.45.0

S3 URL of the file containing the list of accounts.

func (StackSetInstanceDeploymentTargetsOutput) ElementType

func (StackSetInstanceDeploymentTargetsOutput) OrganizationalUnitIds

Organization root ID or organizational unit (OU) IDs to which StackSets deploys.

func (StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsOutput

func (o StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsOutput() StackSetInstanceDeploymentTargetsOutput

func (StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsOutputWithContext

func (o StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsOutputWithContext(ctx context.Context) StackSetInstanceDeploymentTargetsOutput

func (StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsPtrOutput

func (o StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsPtrOutput() StackSetInstanceDeploymentTargetsPtrOutput

func (StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsPtrOutputWithContext

func (o StackSetInstanceDeploymentTargetsOutput) ToStackSetInstanceDeploymentTargetsPtrOutputWithContext(ctx context.Context) StackSetInstanceDeploymentTargetsPtrOutput

type StackSetInstanceDeploymentTargetsPtrInput

type StackSetInstanceDeploymentTargetsPtrInput interface {
	pulumi.Input

	ToStackSetInstanceDeploymentTargetsPtrOutput() StackSetInstanceDeploymentTargetsPtrOutput
	ToStackSetInstanceDeploymentTargetsPtrOutputWithContext(context.Context) StackSetInstanceDeploymentTargetsPtrOutput
}

StackSetInstanceDeploymentTargetsPtrInput is an input type that accepts StackSetInstanceDeploymentTargetsArgs, StackSetInstanceDeploymentTargetsPtr and StackSetInstanceDeploymentTargetsPtrOutput values. You can construct a concrete instance of `StackSetInstanceDeploymentTargetsPtrInput` via:

        StackSetInstanceDeploymentTargetsArgs{...}

or:

        nil

type StackSetInstanceDeploymentTargetsPtrOutput

type StackSetInstanceDeploymentTargetsPtrOutput struct{ *pulumi.OutputState }

func (StackSetInstanceDeploymentTargetsPtrOutput) AccountFilterType added in v6.45.0

Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.

func (StackSetInstanceDeploymentTargetsPtrOutput) Accounts added in v6.45.0

List of accounts to deploy stack set updates.

func (StackSetInstanceDeploymentTargetsPtrOutput) AccountsUrl added in v6.45.0

S3 URL of the file containing the list of accounts.

func (StackSetInstanceDeploymentTargetsPtrOutput) Elem

func (StackSetInstanceDeploymentTargetsPtrOutput) ElementType

func (StackSetInstanceDeploymentTargetsPtrOutput) OrganizationalUnitIds

Organization root ID or organizational unit (OU) IDs to which StackSets deploys.

func (StackSetInstanceDeploymentTargetsPtrOutput) ToStackSetInstanceDeploymentTargetsPtrOutput

func (o StackSetInstanceDeploymentTargetsPtrOutput) ToStackSetInstanceDeploymentTargetsPtrOutput() StackSetInstanceDeploymentTargetsPtrOutput

func (StackSetInstanceDeploymentTargetsPtrOutput) ToStackSetInstanceDeploymentTargetsPtrOutputWithContext

func (o StackSetInstanceDeploymentTargetsPtrOutput) ToStackSetInstanceDeploymentTargetsPtrOutputWithContext(ctx context.Context) StackSetInstanceDeploymentTargetsPtrOutput

type StackSetInstanceInput

type StackSetInstanceInput interface {
	pulumi.Input

	ToStackSetInstanceOutput() StackSetInstanceOutput
	ToStackSetInstanceOutputWithContext(ctx context.Context) StackSetInstanceOutput
}

type StackSetInstanceMap

type StackSetInstanceMap map[string]StackSetInstanceInput

func (StackSetInstanceMap) ElementType

func (StackSetInstanceMap) ElementType() reflect.Type

func (StackSetInstanceMap) ToStackSetInstanceMapOutput

func (i StackSetInstanceMap) ToStackSetInstanceMapOutput() StackSetInstanceMapOutput

func (StackSetInstanceMap) ToStackSetInstanceMapOutputWithContext

func (i StackSetInstanceMap) ToStackSetInstanceMapOutputWithContext(ctx context.Context) StackSetInstanceMapOutput

type StackSetInstanceMapInput

type StackSetInstanceMapInput interface {
	pulumi.Input

	ToStackSetInstanceMapOutput() StackSetInstanceMapOutput
	ToStackSetInstanceMapOutputWithContext(context.Context) StackSetInstanceMapOutput
}

StackSetInstanceMapInput is an input type that accepts StackSetInstanceMap and StackSetInstanceMapOutput values. You can construct a concrete instance of `StackSetInstanceMapInput` via:

StackSetInstanceMap{ "key": StackSetInstanceArgs{...} }

type StackSetInstanceMapOutput

type StackSetInstanceMapOutput struct{ *pulumi.OutputState }

func (StackSetInstanceMapOutput) ElementType

func (StackSetInstanceMapOutput) ElementType() reflect.Type

func (StackSetInstanceMapOutput) MapIndex

func (StackSetInstanceMapOutput) ToStackSetInstanceMapOutput

func (o StackSetInstanceMapOutput) ToStackSetInstanceMapOutput() StackSetInstanceMapOutput

func (StackSetInstanceMapOutput) ToStackSetInstanceMapOutputWithContext

func (o StackSetInstanceMapOutput) ToStackSetInstanceMapOutputWithContext(ctx context.Context) StackSetInstanceMapOutput

type StackSetInstanceOperationPreferences

type StackSetInstanceOperationPreferences struct {
	// Specifies how the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.
	ConcurrencyMode *string `pulumi:"concurrencyMode"`
	// Number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureToleranceCount *int `pulumi:"failureToleranceCount"`
	// Percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureTolerancePercentage *int `pulumi:"failureTolerancePercentage"`
	// Maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount *int `pulumi:"maxConcurrentCount"`
	// Maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage *int `pulumi:"maxConcurrentPercentage"`
	// Concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.
	RegionConcurrencyType *string `pulumi:"regionConcurrencyType"`
	// Order of the Regions in where you want to perform the stack operation.
	RegionOrders []string `pulumi:"regionOrders"`
}

type StackSetInstanceOperationPreferencesArgs

type StackSetInstanceOperationPreferencesArgs struct {
	// Specifies how the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.
	ConcurrencyMode pulumi.StringPtrInput `pulumi:"concurrencyMode"`
	// Number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureToleranceCount pulumi.IntPtrInput `pulumi:"failureToleranceCount"`
	// Percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureTolerancePercentage pulumi.IntPtrInput `pulumi:"failureTolerancePercentage"`
	// Maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount pulumi.IntPtrInput `pulumi:"maxConcurrentCount"`
	// Maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage pulumi.IntPtrInput `pulumi:"maxConcurrentPercentage"`
	// Concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.
	RegionConcurrencyType pulumi.StringPtrInput `pulumi:"regionConcurrencyType"`
	// Order of the Regions in where you want to perform the stack operation.
	RegionOrders pulumi.StringArrayInput `pulumi:"regionOrders"`
}

func (StackSetInstanceOperationPreferencesArgs) ElementType

func (StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesOutput

func (i StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesOutput() StackSetInstanceOperationPreferencesOutput

func (StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesOutputWithContext

func (i StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesOutputWithContext(ctx context.Context) StackSetInstanceOperationPreferencesOutput

func (StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesPtrOutput

func (i StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesPtrOutput() StackSetInstanceOperationPreferencesPtrOutput

func (StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesPtrOutputWithContext

func (i StackSetInstanceOperationPreferencesArgs) ToStackSetInstanceOperationPreferencesPtrOutputWithContext(ctx context.Context) StackSetInstanceOperationPreferencesPtrOutput

type StackSetInstanceOperationPreferencesInput

type StackSetInstanceOperationPreferencesInput interface {
	pulumi.Input

	ToStackSetInstanceOperationPreferencesOutput() StackSetInstanceOperationPreferencesOutput
	ToStackSetInstanceOperationPreferencesOutputWithContext(context.Context) StackSetInstanceOperationPreferencesOutput
}

StackSetInstanceOperationPreferencesInput is an input type that accepts StackSetInstanceOperationPreferencesArgs and StackSetInstanceOperationPreferencesOutput values. You can construct a concrete instance of `StackSetInstanceOperationPreferencesInput` via:

StackSetInstanceOperationPreferencesArgs{...}

type StackSetInstanceOperationPreferencesOutput

type StackSetInstanceOperationPreferencesOutput struct{ *pulumi.OutputState }

func (StackSetInstanceOperationPreferencesOutput) ConcurrencyMode added in v6.47.0

Specifies how the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.

func (StackSetInstanceOperationPreferencesOutput) ElementType

func (StackSetInstanceOperationPreferencesOutput) FailureToleranceCount

Number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetInstanceOperationPreferencesOutput) FailureTolerancePercentage

func (o StackSetInstanceOperationPreferencesOutput) FailureTolerancePercentage() pulumi.IntPtrOutput

Percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetInstanceOperationPreferencesOutput) MaxConcurrentCount

Maximum number of accounts in which to perform this operation at one time.

func (StackSetInstanceOperationPreferencesOutput) MaxConcurrentPercentage

Maximum percentage of accounts in which to perform this operation at one time.

func (StackSetInstanceOperationPreferencesOutput) RegionConcurrencyType

Concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.

func (StackSetInstanceOperationPreferencesOutput) RegionOrders

Order of the Regions in where you want to perform the stack operation.

func (StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesOutput

func (o StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesOutput() StackSetInstanceOperationPreferencesOutput

func (StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesOutputWithContext

func (o StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesOutputWithContext(ctx context.Context) StackSetInstanceOperationPreferencesOutput

func (StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesPtrOutput

func (o StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesPtrOutput() StackSetInstanceOperationPreferencesPtrOutput

func (StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesPtrOutputWithContext

func (o StackSetInstanceOperationPreferencesOutput) ToStackSetInstanceOperationPreferencesPtrOutputWithContext(ctx context.Context) StackSetInstanceOperationPreferencesPtrOutput

type StackSetInstanceOperationPreferencesPtrInput

type StackSetInstanceOperationPreferencesPtrInput interface {
	pulumi.Input

	ToStackSetInstanceOperationPreferencesPtrOutput() StackSetInstanceOperationPreferencesPtrOutput
	ToStackSetInstanceOperationPreferencesPtrOutputWithContext(context.Context) StackSetInstanceOperationPreferencesPtrOutput
}

StackSetInstanceOperationPreferencesPtrInput is an input type that accepts StackSetInstanceOperationPreferencesArgs, StackSetInstanceOperationPreferencesPtr and StackSetInstanceOperationPreferencesPtrOutput values. You can construct a concrete instance of `StackSetInstanceOperationPreferencesPtrInput` via:

        StackSetInstanceOperationPreferencesArgs{...}

or:

        nil

type StackSetInstanceOperationPreferencesPtrOutput

type StackSetInstanceOperationPreferencesPtrOutput struct{ *pulumi.OutputState }

func (StackSetInstanceOperationPreferencesPtrOutput) ConcurrencyMode added in v6.47.0

Specifies how the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.

func (StackSetInstanceOperationPreferencesPtrOutput) Elem

func (StackSetInstanceOperationPreferencesPtrOutput) ElementType

func (StackSetInstanceOperationPreferencesPtrOutput) FailureToleranceCount

Number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetInstanceOperationPreferencesPtrOutput) FailureTolerancePercentage

func (o StackSetInstanceOperationPreferencesPtrOutput) FailureTolerancePercentage() pulumi.IntPtrOutput

Percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetInstanceOperationPreferencesPtrOutput) MaxConcurrentCount

Maximum number of accounts in which to perform this operation at one time.

func (StackSetInstanceOperationPreferencesPtrOutput) MaxConcurrentPercentage

Maximum percentage of accounts in which to perform this operation at one time.

func (StackSetInstanceOperationPreferencesPtrOutput) RegionConcurrencyType

Concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.

func (StackSetInstanceOperationPreferencesPtrOutput) RegionOrders

Order of the Regions in where you want to perform the stack operation.

func (StackSetInstanceOperationPreferencesPtrOutput) ToStackSetInstanceOperationPreferencesPtrOutput

func (o StackSetInstanceOperationPreferencesPtrOutput) ToStackSetInstanceOperationPreferencesPtrOutput() StackSetInstanceOperationPreferencesPtrOutput

func (StackSetInstanceOperationPreferencesPtrOutput) ToStackSetInstanceOperationPreferencesPtrOutputWithContext

func (o StackSetInstanceOperationPreferencesPtrOutput) ToStackSetInstanceOperationPreferencesPtrOutputWithContext(ctx context.Context) StackSetInstanceOperationPreferencesPtrOutput

type StackSetInstanceOutput

type StackSetInstanceOutput struct{ *pulumi.OutputState }

func (StackSetInstanceOutput) AccountId

Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.

func (StackSetInstanceOutput) CallAs

Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.

func (StackSetInstanceOutput) DeploymentTargets

AWS Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for this argument. See deploymentTargets below.

func (StackSetInstanceOutput) ElementType

func (StackSetInstanceOutput) ElementType() reflect.Type

func (StackSetInstanceOutput) OperationPreferences

Preferences for how AWS CloudFormation performs a stack set operation.

func (StackSetInstanceOutput) OrganizationalUnitId

func (o StackSetInstanceOutput) OrganizationalUnitId() pulumi.StringOutput

Organizational unit ID in which the stack is deployed.

func (StackSetInstanceOutput) ParameterOverrides

func (o StackSetInstanceOutput) ParameterOverrides() pulumi.StringMapOutput

Key-value map of input parameters to override from the StackSet for this Instance.

func (StackSetInstanceOutput) Region

Target AWS Region to create a Stack based on the StackSet. Defaults to current region.

func (StackSetInstanceOutput) RetainStack

During resource destroy, remove Instance from StackSet while keeping the Stack and its associated resources. Must be enabled in the state _before_ destroy operation to take effect. You cannot reassociate a retained Stack or add an existing, saved Stack to a new StackSet. Defaults to `false`.

func (StackSetInstanceOutput) StackId

Stack identifier.

func (StackSetInstanceOutput) StackInstanceSummaries

List of stack instances created from an organizational unit deployment target. This will only be populated when `deploymentTargets` is set. See `stackInstanceSummaries`.

func (StackSetInstanceOutput) StackSetName

func (o StackSetInstanceOutput) StackSetName() pulumi.StringOutput

Name of the StackSet.

func (StackSetInstanceOutput) ToStackSetInstanceOutput

func (o StackSetInstanceOutput) ToStackSetInstanceOutput() StackSetInstanceOutput

func (StackSetInstanceOutput) ToStackSetInstanceOutputWithContext

func (o StackSetInstanceOutput) ToStackSetInstanceOutputWithContext(ctx context.Context) StackSetInstanceOutput

type StackSetInstanceStackInstanceSummary

type StackSetInstanceStackInstanceSummary struct {
	// Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
	AccountId *string `pulumi:"accountId"`
	// Organizational unit ID in which the stack is deployed.
	OrganizationalUnitId *string `pulumi:"organizationalUnitId"`
	// Stack identifier.
	StackId *string `pulumi:"stackId"`
}

type StackSetInstanceStackInstanceSummaryArgs

type StackSetInstanceStackInstanceSummaryArgs struct {
	// Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
	AccountId pulumi.StringPtrInput `pulumi:"accountId"`
	// Organizational unit ID in which the stack is deployed.
	OrganizationalUnitId pulumi.StringPtrInput `pulumi:"organizationalUnitId"`
	// Stack identifier.
	StackId pulumi.StringPtrInput `pulumi:"stackId"`
}

func (StackSetInstanceStackInstanceSummaryArgs) ElementType

func (StackSetInstanceStackInstanceSummaryArgs) ToStackSetInstanceStackInstanceSummaryOutput

func (i StackSetInstanceStackInstanceSummaryArgs) ToStackSetInstanceStackInstanceSummaryOutput() StackSetInstanceStackInstanceSummaryOutput

func (StackSetInstanceStackInstanceSummaryArgs) ToStackSetInstanceStackInstanceSummaryOutputWithContext

func (i StackSetInstanceStackInstanceSummaryArgs) ToStackSetInstanceStackInstanceSummaryOutputWithContext(ctx context.Context) StackSetInstanceStackInstanceSummaryOutput

type StackSetInstanceStackInstanceSummaryArray

type StackSetInstanceStackInstanceSummaryArray []StackSetInstanceStackInstanceSummaryInput

func (StackSetInstanceStackInstanceSummaryArray) ElementType

func (StackSetInstanceStackInstanceSummaryArray) ToStackSetInstanceStackInstanceSummaryArrayOutput

func (i StackSetInstanceStackInstanceSummaryArray) ToStackSetInstanceStackInstanceSummaryArrayOutput() StackSetInstanceStackInstanceSummaryArrayOutput

func (StackSetInstanceStackInstanceSummaryArray) ToStackSetInstanceStackInstanceSummaryArrayOutputWithContext

func (i StackSetInstanceStackInstanceSummaryArray) ToStackSetInstanceStackInstanceSummaryArrayOutputWithContext(ctx context.Context) StackSetInstanceStackInstanceSummaryArrayOutput

type StackSetInstanceStackInstanceSummaryArrayInput

type StackSetInstanceStackInstanceSummaryArrayInput interface {
	pulumi.Input

	ToStackSetInstanceStackInstanceSummaryArrayOutput() StackSetInstanceStackInstanceSummaryArrayOutput
	ToStackSetInstanceStackInstanceSummaryArrayOutputWithContext(context.Context) StackSetInstanceStackInstanceSummaryArrayOutput
}

StackSetInstanceStackInstanceSummaryArrayInput is an input type that accepts StackSetInstanceStackInstanceSummaryArray and StackSetInstanceStackInstanceSummaryArrayOutput values. You can construct a concrete instance of `StackSetInstanceStackInstanceSummaryArrayInput` via:

StackSetInstanceStackInstanceSummaryArray{ StackSetInstanceStackInstanceSummaryArgs{...} }

type StackSetInstanceStackInstanceSummaryArrayOutput

type StackSetInstanceStackInstanceSummaryArrayOutput struct{ *pulumi.OutputState }

func (StackSetInstanceStackInstanceSummaryArrayOutput) ElementType

func (StackSetInstanceStackInstanceSummaryArrayOutput) Index

func (StackSetInstanceStackInstanceSummaryArrayOutput) ToStackSetInstanceStackInstanceSummaryArrayOutput

func (o StackSetInstanceStackInstanceSummaryArrayOutput) ToStackSetInstanceStackInstanceSummaryArrayOutput() StackSetInstanceStackInstanceSummaryArrayOutput

func (StackSetInstanceStackInstanceSummaryArrayOutput) ToStackSetInstanceStackInstanceSummaryArrayOutputWithContext

func (o StackSetInstanceStackInstanceSummaryArrayOutput) ToStackSetInstanceStackInstanceSummaryArrayOutputWithContext(ctx context.Context) StackSetInstanceStackInstanceSummaryArrayOutput

type StackSetInstanceStackInstanceSummaryInput

type StackSetInstanceStackInstanceSummaryInput interface {
	pulumi.Input

	ToStackSetInstanceStackInstanceSummaryOutput() StackSetInstanceStackInstanceSummaryOutput
	ToStackSetInstanceStackInstanceSummaryOutputWithContext(context.Context) StackSetInstanceStackInstanceSummaryOutput
}

StackSetInstanceStackInstanceSummaryInput is an input type that accepts StackSetInstanceStackInstanceSummaryArgs and StackSetInstanceStackInstanceSummaryOutput values. You can construct a concrete instance of `StackSetInstanceStackInstanceSummaryInput` via:

StackSetInstanceStackInstanceSummaryArgs{...}

type StackSetInstanceStackInstanceSummaryOutput

type StackSetInstanceStackInstanceSummaryOutput struct{ *pulumi.OutputState }

func (StackSetInstanceStackInstanceSummaryOutput) AccountId

Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.

func (StackSetInstanceStackInstanceSummaryOutput) ElementType

func (StackSetInstanceStackInstanceSummaryOutput) OrganizationalUnitId

Organizational unit ID in which the stack is deployed.

func (StackSetInstanceStackInstanceSummaryOutput) StackId

Stack identifier.

func (StackSetInstanceStackInstanceSummaryOutput) ToStackSetInstanceStackInstanceSummaryOutput

func (o StackSetInstanceStackInstanceSummaryOutput) ToStackSetInstanceStackInstanceSummaryOutput() StackSetInstanceStackInstanceSummaryOutput

func (StackSetInstanceStackInstanceSummaryOutput) ToStackSetInstanceStackInstanceSummaryOutputWithContext

func (o StackSetInstanceStackInstanceSummaryOutput) ToStackSetInstanceStackInstanceSummaryOutputWithContext(ctx context.Context) StackSetInstanceStackInstanceSummaryOutput

type StackSetInstanceState

type StackSetInstanceState struct {
	// Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
	AccountId pulumi.StringPtrInput
	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrInput
	// AWS Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for this argument. See deploymentTargets below.
	DeploymentTargets StackSetInstanceDeploymentTargetsPtrInput
	// Preferences for how AWS CloudFormation performs a stack set operation.
	OperationPreferences StackSetInstanceOperationPreferencesPtrInput
	// Organizational unit ID in which the stack is deployed.
	OrganizationalUnitId pulumi.StringPtrInput
	// Key-value map of input parameters to override from the StackSet for this Instance.
	ParameterOverrides pulumi.StringMapInput
	// Target AWS Region to create a Stack based on the StackSet. Defaults to current region.
	Region pulumi.StringPtrInput
	// During resource destroy, remove Instance from StackSet while keeping the Stack and its associated resources. Must be enabled in the state _before_ destroy operation to take effect. You cannot reassociate a retained Stack or add an existing, saved Stack to a new StackSet. Defaults to `false`.
	RetainStack pulumi.BoolPtrInput
	// Stack identifier.
	StackId pulumi.StringPtrInput
	// List of stack instances created from an organizational unit deployment target. This will only be populated when `deploymentTargets` is set. See `stackInstanceSummaries`.
	StackInstanceSummaries StackSetInstanceStackInstanceSummaryArrayInput
	// Name of the StackSet.
	StackSetName pulumi.StringPtrInput
}

func (StackSetInstanceState) ElementType

func (StackSetInstanceState) ElementType() reflect.Type

type StackSetManagedExecution

type StackSetManagedExecution struct {
	// When set to true, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. Default is false.
	Active *bool `pulumi:"active"`
}

type StackSetManagedExecutionArgs

type StackSetManagedExecutionArgs struct {
	// When set to true, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. Default is false.
	Active pulumi.BoolPtrInput `pulumi:"active"`
}

func (StackSetManagedExecutionArgs) ElementType

func (StackSetManagedExecutionArgs) ToStackSetManagedExecutionOutput

func (i StackSetManagedExecutionArgs) ToStackSetManagedExecutionOutput() StackSetManagedExecutionOutput

func (StackSetManagedExecutionArgs) ToStackSetManagedExecutionOutputWithContext

func (i StackSetManagedExecutionArgs) ToStackSetManagedExecutionOutputWithContext(ctx context.Context) StackSetManagedExecutionOutput

func (StackSetManagedExecutionArgs) ToStackSetManagedExecutionPtrOutput

func (i StackSetManagedExecutionArgs) ToStackSetManagedExecutionPtrOutput() StackSetManagedExecutionPtrOutput

func (StackSetManagedExecutionArgs) ToStackSetManagedExecutionPtrOutputWithContext

func (i StackSetManagedExecutionArgs) ToStackSetManagedExecutionPtrOutputWithContext(ctx context.Context) StackSetManagedExecutionPtrOutput

type StackSetManagedExecutionInput

type StackSetManagedExecutionInput interface {
	pulumi.Input

	ToStackSetManagedExecutionOutput() StackSetManagedExecutionOutput
	ToStackSetManagedExecutionOutputWithContext(context.Context) StackSetManagedExecutionOutput
}

StackSetManagedExecutionInput is an input type that accepts StackSetManagedExecutionArgs and StackSetManagedExecutionOutput values. You can construct a concrete instance of `StackSetManagedExecutionInput` via:

StackSetManagedExecutionArgs{...}

type StackSetManagedExecutionOutput

type StackSetManagedExecutionOutput struct{ *pulumi.OutputState }

func (StackSetManagedExecutionOutput) Active

When set to true, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. Default is false.

func (StackSetManagedExecutionOutput) ElementType

func (StackSetManagedExecutionOutput) ToStackSetManagedExecutionOutput

func (o StackSetManagedExecutionOutput) ToStackSetManagedExecutionOutput() StackSetManagedExecutionOutput

func (StackSetManagedExecutionOutput) ToStackSetManagedExecutionOutputWithContext

func (o StackSetManagedExecutionOutput) ToStackSetManagedExecutionOutputWithContext(ctx context.Context) StackSetManagedExecutionOutput

func (StackSetManagedExecutionOutput) ToStackSetManagedExecutionPtrOutput

func (o StackSetManagedExecutionOutput) ToStackSetManagedExecutionPtrOutput() StackSetManagedExecutionPtrOutput

func (StackSetManagedExecutionOutput) ToStackSetManagedExecutionPtrOutputWithContext

func (o StackSetManagedExecutionOutput) ToStackSetManagedExecutionPtrOutputWithContext(ctx context.Context) StackSetManagedExecutionPtrOutput

type StackSetManagedExecutionPtrInput

type StackSetManagedExecutionPtrInput interface {
	pulumi.Input

	ToStackSetManagedExecutionPtrOutput() StackSetManagedExecutionPtrOutput
	ToStackSetManagedExecutionPtrOutputWithContext(context.Context) StackSetManagedExecutionPtrOutput
}

StackSetManagedExecutionPtrInput is an input type that accepts StackSetManagedExecutionArgs, StackSetManagedExecutionPtr and StackSetManagedExecutionPtrOutput values. You can construct a concrete instance of `StackSetManagedExecutionPtrInput` via:

        StackSetManagedExecutionArgs{...}

or:

        nil

type StackSetManagedExecutionPtrOutput

type StackSetManagedExecutionPtrOutput struct{ *pulumi.OutputState }

func (StackSetManagedExecutionPtrOutput) Active

When set to true, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. Default is false.

func (StackSetManagedExecutionPtrOutput) Elem

func (StackSetManagedExecutionPtrOutput) ElementType

func (StackSetManagedExecutionPtrOutput) ToStackSetManagedExecutionPtrOutput

func (o StackSetManagedExecutionPtrOutput) ToStackSetManagedExecutionPtrOutput() StackSetManagedExecutionPtrOutput

func (StackSetManagedExecutionPtrOutput) ToStackSetManagedExecutionPtrOutputWithContext

func (o StackSetManagedExecutionPtrOutput) ToStackSetManagedExecutionPtrOutputWithContext(ctx context.Context) StackSetManagedExecutionPtrOutput

type StackSetMap

type StackSetMap map[string]StackSetInput

func (StackSetMap) ElementType

func (StackSetMap) ElementType() reflect.Type

func (StackSetMap) ToStackSetMapOutput

func (i StackSetMap) ToStackSetMapOutput() StackSetMapOutput

func (StackSetMap) ToStackSetMapOutputWithContext

func (i StackSetMap) ToStackSetMapOutputWithContext(ctx context.Context) StackSetMapOutput

type StackSetMapInput

type StackSetMapInput interface {
	pulumi.Input

	ToStackSetMapOutput() StackSetMapOutput
	ToStackSetMapOutputWithContext(context.Context) StackSetMapOutput
}

StackSetMapInput is an input type that accepts StackSetMap and StackSetMapOutput values. You can construct a concrete instance of `StackSetMapInput` via:

StackSetMap{ "key": StackSetArgs{...} }

type StackSetMapOutput

type StackSetMapOutput struct{ *pulumi.OutputState }

func (StackSetMapOutput) ElementType

func (StackSetMapOutput) ElementType() reflect.Type

func (StackSetMapOutput) MapIndex

func (StackSetMapOutput) ToStackSetMapOutput

func (o StackSetMapOutput) ToStackSetMapOutput() StackSetMapOutput

func (StackSetMapOutput) ToStackSetMapOutputWithContext

func (o StackSetMapOutput) ToStackSetMapOutputWithContext(ctx context.Context) StackSetMapOutput

type StackSetOperationPreferences

type StackSetOperationPreferences struct {
	// The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureToleranceCount *int `pulumi:"failureToleranceCount"`
	// The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureTolerancePercentage *int `pulumi:"failureTolerancePercentage"`
	// The maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount *int `pulumi:"maxConcurrentCount"`
	// The maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage *int `pulumi:"maxConcurrentPercentage"`
	// The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
	RegionConcurrencyType *string `pulumi:"regionConcurrencyType"`
	// The order of the Regions in where you want to perform the stack operation.
	RegionOrders []string `pulumi:"regionOrders"`
}

type StackSetOperationPreferencesArgs

type StackSetOperationPreferencesArgs struct {
	// The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureToleranceCount pulumi.IntPtrInput `pulumi:"failureToleranceCount"`
	// The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureTolerancePercentage pulumi.IntPtrInput `pulumi:"failureTolerancePercentage"`
	// The maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount pulumi.IntPtrInput `pulumi:"maxConcurrentCount"`
	// The maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage pulumi.IntPtrInput `pulumi:"maxConcurrentPercentage"`
	// The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
	RegionConcurrencyType pulumi.StringPtrInput `pulumi:"regionConcurrencyType"`
	// The order of the Regions in where you want to perform the stack operation.
	RegionOrders pulumi.StringArrayInput `pulumi:"regionOrders"`
}

func (StackSetOperationPreferencesArgs) ElementType

func (StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesOutput

func (i StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesOutput() StackSetOperationPreferencesOutput

func (StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesOutputWithContext

func (i StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesOutputWithContext(ctx context.Context) StackSetOperationPreferencesOutput

func (StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesPtrOutput

func (i StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesPtrOutput() StackSetOperationPreferencesPtrOutput

func (StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesPtrOutputWithContext

func (i StackSetOperationPreferencesArgs) ToStackSetOperationPreferencesPtrOutputWithContext(ctx context.Context) StackSetOperationPreferencesPtrOutput

type StackSetOperationPreferencesInput

type StackSetOperationPreferencesInput interface {
	pulumi.Input

	ToStackSetOperationPreferencesOutput() StackSetOperationPreferencesOutput
	ToStackSetOperationPreferencesOutputWithContext(context.Context) StackSetOperationPreferencesOutput
}

StackSetOperationPreferencesInput is an input type that accepts StackSetOperationPreferencesArgs and StackSetOperationPreferencesOutput values. You can construct a concrete instance of `StackSetOperationPreferencesInput` via:

StackSetOperationPreferencesArgs{...}

type StackSetOperationPreferencesOutput

type StackSetOperationPreferencesOutput struct{ *pulumi.OutputState }

func (StackSetOperationPreferencesOutput) ElementType

func (StackSetOperationPreferencesOutput) FailureToleranceCount

func (o StackSetOperationPreferencesOutput) FailureToleranceCount() pulumi.IntPtrOutput

The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetOperationPreferencesOutput) FailureTolerancePercentage

func (o StackSetOperationPreferencesOutput) FailureTolerancePercentage() pulumi.IntPtrOutput

The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetOperationPreferencesOutput) MaxConcurrentCount

The maximum number of accounts in which to perform this operation at one time.

func (StackSetOperationPreferencesOutput) MaxConcurrentPercentage

func (o StackSetOperationPreferencesOutput) MaxConcurrentPercentage() pulumi.IntPtrOutput

The maximum percentage of accounts in which to perform this operation at one time.

func (StackSetOperationPreferencesOutput) RegionConcurrencyType

func (o StackSetOperationPreferencesOutput) RegionConcurrencyType() pulumi.StringPtrOutput

The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.

func (StackSetOperationPreferencesOutput) RegionOrders

The order of the Regions in where you want to perform the stack operation.

func (StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesOutput

func (o StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesOutput() StackSetOperationPreferencesOutput

func (StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesOutputWithContext

func (o StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesOutputWithContext(ctx context.Context) StackSetOperationPreferencesOutput

func (StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesPtrOutput

func (o StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesPtrOutput() StackSetOperationPreferencesPtrOutput

func (StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesPtrOutputWithContext

func (o StackSetOperationPreferencesOutput) ToStackSetOperationPreferencesPtrOutputWithContext(ctx context.Context) StackSetOperationPreferencesPtrOutput

type StackSetOperationPreferencesPtrInput

type StackSetOperationPreferencesPtrInput interface {
	pulumi.Input

	ToStackSetOperationPreferencesPtrOutput() StackSetOperationPreferencesPtrOutput
	ToStackSetOperationPreferencesPtrOutputWithContext(context.Context) StackSetOperationPreferencesPtrOutput
}

StackSetOperationPreferencesPtrInput is an input type that accepts StackSetOperationPreferencesArgs, StackSetOperationPreferencesPtr and StackSetOperationPreferencesPtrOutput values. You can construct a concrete instance of `StackSetOperationPreferencesPtrInput` via:

        StackSetOperationPreferencesArgs{...}

or:

        nil

type StackSetOperationPreferencesPtrOutput

type StackSetOperationPreferencesPtrOutput struct{ *pulumi.OutputState }

func (StackSetOperationPreferencesPtrOutput) Elem

func (StackSetOperationPreferencesPtrOutput) ElementType

func (StackSetOperationPreferencesPtrOutput) FailureToleranceCount

func (o StackSetOperationPreferencesPtrOutput) FailureToleranceCount() pulumi.IntPtrOutput

The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetOperationPreferencesPtrOutput) FailureTolerancePercentage

func (o StackSetOperationPreferencesPtrOutput) FailureTolerancePercentage() pulumi.IntPtrOutput

The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.

func (StackSetOperationPreferencesPtrOutput) MaxConcurrentCount

The maximum number of accounts in which to perform this operation at one time.

func (StackSetOperationPreferencesPtrOutput) MaxConcurrentPercentage

func (o StackSetOperationPreferencesPtrOutput) MaxConcurrentPercentage() pulumi.IntPtrOutput

The maximum percentage of accounts in which to perform this operation at one time.

func (StackSetOperationPreferencesPtrOutput) RegionConcurrencyType

The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.

func (StackSetOperationPreferencesPtrOutput) RegionOrders

The order of the Regions in where you want to perform the stack operation.

func (StackSetOperationPreferencesPtrOutput) ToStackSetOperationPreferencesPtrOutput

func (o StackSetOperationPreferencesPtrOutput) ToStackSetOperationPreferencesPtrOutput() StackSetOperationPreferencesPtrOutput

func (StackSetOperationPreferencesPtrOutput) ToStackSetOperationPreferencesPtrOutputWithContext

func (o StackSetOperationPreferencesPtrOutput) ToStackSetOperationPreferencesPtrOutputWithContext(ctx context.Context) StackSetOperationPreferencesPtrOutput

type StackSetOutput

type StackSetOutput struct{ *pulumi.OutputState }

func (StackSetOutput) AdministrationRoleArn

func (o StackSetOutput) AdministrationRoleArn() pulumi.StringPtrOutput

Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the `SELF_MANAGED` permission model.

func (StackSetOutput) Arn

Amazon Resource Name (ARN) of the StackSet.

func (StackSetOutput) AutoDeployment

Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the `SERVICE_MANAGED` permission model.

func (StackSetOutput) CallAs

Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.

func (StackSetOutput) Capabilities

func (o StackSetOutput) Capabilities() pulumi.StringArrayOutput

A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.

func (StackSetOutput) Description

func (o StackSetOutput) Description() pulumi.StringPtrOutput

Description of the StackSet.

func (StackSetOutput) ElementType

func (StackSetOutput) ElementType() reflect.Type

func (StackSetOutput) ExecutionRoleName

func (o StackSetOutput) ExecutionRoleName() pulumi.StringOutput

Name of the IAM Role in all target accounts for StackSet operations. Defaults to `AWSCloudFormationStackSetExecutionRole` when using the `SELF_MANAGED` permission model. This should not be defined when using the `SERVICE_MANAGED` permission model.

func (StackSetOutput) ManagedExecution

Configuration block to allow StackSets to perform non-conflicting operations concurrently and queues conflicting operations.

func (StackSetOutput) Name

Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.

func (StackSetOutput) OperationPreferences

func (o StackSetOutput) OperationPreferences() StackSetOperationPreferencesPtrOutput

Preferences for how AWS CloudFormation performs a stack set update.

func (StackSetOutput) Parameters

func (o StackSetOutput) Parameters() pulumi.StringMapOutput

Key-value map of input parameters for the StackSet template. All template parameters, including those with a `Default`, must be configured or ignored with `lifecycle` configuration block `ignoreChanges` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.

func (StackSetOutput) PermissionModel

func (o StackSetOutput) PermissionModel() pulumi.StringPtrOutput

Describes how the IAM roles required for your StackSet are created. Valid values: `SELF_MANAGED` (default), `SERVICE_MANAGED`.

func (StackSetOutput) StackSetId

func (o StackSetOutput) StackSetId() pulumi.StringOutput

Unique identifier of the StackSet.

func (StackSetOutput) Tags

Key-value map of tags to associate with this StackSet and the Stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the Stacks. A maximum number of 50 tags can be specified. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (StackSetOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (StackSetOutput) TemplateBody

func (o StackSetOutput) TemplateBody() pulumi.StringOutput

String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with `templateUrl`.

func (StackSetOutput) TemplateUrl

func (o StackSetOutput) TemplateUrl() pulumi.StringPtrOutput

String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with `templateBody`.

func (StackSetOutput) ToStackSetOutput

func (o StackSetOutput) ToStackSetOutput() StackSetOutput

func (StackSetOutput) ToStackSetOutputWithContext

func (o StackSetOutput) ToStackSetOutputWithContext(ctx context.Context) StackSetOutput

type StackSetState

type StackSetState struct {
	// Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the `SELF_MANAGED` permission model.
	AdministrationRoleArn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the StackSet.
	Arn pulumi.StringPtrInput
	// Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the `SERVICE_MANAGED` permission model.
	AutoDeployment StackSetAutoDeploymentPtrInput
	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
	CallAs pulumi.StringPtrInput
	// A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.
	Capabilities pulumi.StringArrayInput
	// Description of the StackSet.
	Description pulumi.StringPtrInput
	// Name of the IAM Role in all target accounts for StackSet operations. Defaults to `AWSCloudFormationStackSetExecutionRole` when using the `SELF_MANAGED` permission model. This should not be defined when using the `SERVICE_MANAGED` permission model.
	ExecutionRoleName pulumi.StringPtrInput
	// Configuration block to allow StackSets to perform non-conflicting operations concurrently and queues conflicting operations.
	ManagedExecution StackSetManagedExecutionPtrInput
	// Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
	Name pulumi.StringPtrInput
	// Preferences for how AWS CloudFormation performs a stack set update.
	OperationPreferences StackSetOperationPreferencesPtrInput
	// Key-value map of input parameters for the StackSet template. All template parameters, including those with a `Default`, must be configured or ignored with `lifecycle` configuration block `ignoreChanges` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.
	Parameters pulumi.StringMapInput
	// Describes how the IAM roles required for your StackSet are created. Valid values: `SELF_MANAGED` (default), `SERVICE_MANAGED`.
	PermissionModel pulumi.StringPtrInput
	// Unique identifier of the StackSet.
	StackSetId pulumi.StringPtrInput
	// Key-value map of tags to associate with this StackSet and the Stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the Stacks. A maximum number of 50 tags can be specified. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with `templateUrl`.
	TemplateBody pulumi.StringPtrInput
	// String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with `templateBody`.
	TemplateUrl pulumi.StringPtrInput
}

func (StackSetState) ElementType

func (StackSetState) ElementType() reflect.Type

type StackState

type StackState struct {
	// A list of capabilities.
	// Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, or `CAPABILITY_AUTO_EXPAND`
	Capabilities pulumi.StringArrayInput
	// Set to true to disable rollback of the stack if stack creation failed.
	// Conflicts with `onFailure`.
	DisableRollback pulumi.BoolPtrInput
	// The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
	IamRoleArn pulumi.StringPtrInput
	// Stack name.
	Name pulumi.StringPtrInput
	// A list of SNS topic ARNs to publish stack related events.
	NotificationArns pulumi.StringArrayInput
	// Action to be taken if stack creation fails. This must be
	// one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. Conflicts with `disableRollback`.
	OnFailure pulumi.StringPtrInput
	// A map of outputs from the stack.
	Outputs pulumi.StringMapInput
	// A map of Parameter structures that specify input parameters for the stack.
	Parameters pulumi.StringMapInput
	// Structure containing the stack policy body.
	// Conflicts w/ `policyUrl`.
	PolicyBody pulumi.StringPtrInput
	// Location of a file containing the stack policy.
	// Conflicts w/ `policyBody`.
	PolicyUrl pulumi.StringPtrInput
	// Map of resource tags to associate with this stack. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Structure containing the template body (max size: 51,200 bytes).
	TemplateBody pulumi.StringPtrInput
	// Location of a file containing the template body (max size: 460,800 bytes).
	TemplateUrl pulumi.StringPtrInput
	// The amount of time that can pass before the stack status becomes `CREATE_FAILED`.
	TimeoutInMinutes pulumi.IntPtrInput
}

func (StackState) ElementType

func (StackState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL