libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFormation.Lens

Contents

Description

 
Synopsis

Operations

DescribeStackSetOperation

describeStackSetOperation_callAs :: Lens' DescribeStackSetOperation (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

describeStackSetOperation_stackSetName :: Lens' DescribeStackSetOperation Text Source #

The name or the unique stack ID of the stack set for the stack operation.

ImportStacksToStackSet

importStacksToStackSet_callAs :: Lens' ImportStacksToStackSet (Maybe CallAs) Source #

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • For service managed stack sets, specify DELEGATED_ADMIN.

importStacksToStackSet_operationId :: Lens' ImportStacksToStackSet (Maybe Text) Source #

A unique, user defined, identifier for the stack set operation.

importStacksToStackSet_stackSetName :: Lens' ImportStacksToStackSet Text Source #

The name of the stack set. The name must be unique in the Region where you create your stack set.

importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet [Text] Source #

The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.

DeleteStack

deleteStack_retainResources :: Lens' DeleteStack (Maybe [Text]) Source #

For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but does not delete the retained resources.

Retaining resources is useful when you cannot delete a resource, such as a non-empty S3 bucket, but you want to delete the stack.

deleteStack_clientRequestToken :: Lens' DeleteStack (Maybe Text) Source #

A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that CloudFormation successfully received them.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

deleteStack_roleARN :: Lens' DeleteStack (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

deleteStack_stackName :: Lens' DeleteStack Text Source #

The name or the unique stack ID that is associated with the stack.

UpdateStack

updateStack_disableRollback :: Lens' UpdateStack (Maybe Bool) Source #

Preserve the state of previously provisioned resources when an operation fails.

Default: False

updateStack_usePreviousTemplate :: Lens' UpdateStack (Maybe Bool) Source #

Reuse the existing template that is associated with the stack that you are updating.

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

updateStack_notificationARNs :: Lens' UpdateStack (Maybe [Text]) Source #

Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation associates with the stack. Specify an empty list to remove all notification topics.

updateStack_stackPolicyBody :: Lens' UpdateStack (Maybe Text) Source #

Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

updateStack_stackPolicyDuringUpdateBody :: Lens' UpdateStack (Maybe Text) Source #

Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

updateStack_stackPolicyDuringUpdateURL :: Lens' UpdateStack (Maybe Text) Source #

Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

updateStack_parameters :: Lens' UpdateStack (Maybe [Parameter]) Source #

A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type.

updateStack_stackPolicyURL :: Lens' UpdateStack (Maybe Text) Source #

Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

updateStack_templateBody :: Lens' UpdateStack (Maybe Text) Source #

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

updateStack_templateURL :: Lens' UpdateStack (Maybe Text) Source #

Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true.

updateStack_clientRequestToken :: Lens' UpdateStack (Maybe Text) Source #

A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to update a stack with the same name. You might retry UpdateStack requests to ensure that CloudFormation successfully received them.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

updateStack_capabilities :: Lens' UpdateStack (Maybe [Capability]) Source #

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.
    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability.

    You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs.

    Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.

    For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

updateStack_rollbackConfiguration :: Lens' UpdateStack (Maybe RollbackConfiguration) Source #

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

updateStack_resourceTypes :: Lens' UpdateStack (Maybe [Text]) Source #

The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

updateStack_tags :: Lens' UpdateStack (Maybe [Tag]) Source #

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 50 tags.

If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you specify an empty value, CloudFormation removes all associated tags.

updateStack_roleARN :: Lens' UpdateStack (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

updateStack_stackName :: Lens' UpdateStack Text Source #

The name or unique stack ID of the stack to update.

BatchDescribeTypeConfigurations

batchDescribeTypeConfigurationsResponse_unprocessedTypeConfigurations :: Lens' BatchDescribeTypeConfigurationsResponse (Maybe [TypeConfigurationIdentifier]) Source #

A list of any of the specified extension configurations that CloudFormation could not process for any reason.

batchDescribeTypeConfigurationsResponse_typeConfigurations :: Lens' BatchDescribeTypeConfigurationsResponse (Maybe [TypeConfigurationDetails]) Source #

A list of any of the specified extension configurations from the CloudFormation registry.

batchDescribeTypeConfigurationsResponse_errors :: Lens' BatchDescribeTypeConfigurationsResponse (Maybe [BatchDescribeTypeConfigurationsError]) Source #

A list of information concerning any errors generated during the setting of the specified configurations.

SetTypeConfiguration

setTypeConfiguration_typeName :: Lens' SetTypeConfiguration (Maybe Text) Source #

The name of the extension.

Conditional: You must specify ConfigurationArn, or Type and TypeName.

setTypeConfiguration_typeArn :: Lens' SetTypeConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) for the extension, in this account and region.

For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region.

Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.

setTypeConfiguration_type :: Lens' SetTypeConfiguration (Maybe ThirdPartyType) Source #

The type of extension.

Conditional: You must specify ConfigurationArn, or Type and TypeName.

setTypeConfiguration_configurationAlias :: Lens' SetTypeConfiguration (Maybe Text) Source #

An alias by which to refer to this extension configuration data.

Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.

setTypeConfiguration_configuration :: Lens' SetTypeConfiguration Text Source #

The configuration data for the extension, in this account and region.

The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of API_DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.

setTypeConfigurationResponse_configurationArn :: Lens' SetTypeConfigurationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the configuration data, in this account and region.

Conditional: You must specify ConfigurationArn, or Type and TypeName.

GetTemplateSummary

getTemplateSummary_callAs :: Lens' GetTemplateSummary (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

getTemplateSummary_templateBody :: Lens' GetTemplateSummary (Maybe Text) Source #

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

getTemplateSummary_templateURL :: Lens' GetTemplateSummary (Maybe Text) Source #

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

getTemplateSummary_stackSetName :: Lens' GetTemplateSummary (Maybe Text) Source #

The name or unique ID of the stack set from which the stack was created.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

getTemplateSummary_stackName :: Lens' GetTemplateSummary (Maybe Text) Source #

The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

getTemplateSummaryResponse_declaredTransforms :: Lens' GetTemplateSummaryResponse (Maybe [Text]) Source #

A list of the transforms that are declared in the template.

getTemplateSummaryResponse_version :: Lens' GetTemplateSummaryResponse (Maybe Text) Source #

The Amazon Web Services template format version, which identifies the capabilities of the template.

getTemplateSummaryResponse_capabilitiesReason :: Lens' GetTemplateSummaryResponse (Maybe Text) Source #

The list of resources that generated the values in the Capabilities response element.

getTemplateSummaryResponse_parameters :: Lens' GetTemplateSummaryResponse (Maybe [ParameterDeclaration]) Source #

A list of parameter declarations that describe various properties for each parameter.

getTemplateSummaryResponse_metadata :: Lens' GetTemplateSummaryResponse (Maybe Text) Source #

The value that is defined for the Metadata property of the template.

getTemplateSummaryResponse_resourceIdentifierSummaries :: Lens' GetTemplateSummaryResponse (Maybe [ResourceIdentifierSummary]) Source #

A list of resource identifier summaries that describe the target resources of an import operation and the properties you can provide during the import to identify the target resources. For example, BucketName is a possible identifier property for an AWS::S3::Bucket resource.

getTemplateSummaryResponse_description :: Lens' GetTemplateSummaryResponse (Maybe Text) Source #

The value that is defined in the Description property of the template.

getTemplateSummaryResponse_capabilities :: Lens' GetTemplateSummaryResponse (Maybe [Capability]) Source #

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in CloudFormation Templates.

getTemplateSummaryResponse_resourceTypes :: Lens' GetTemplateSummaryResponse (Maybe [Text]) Source #

A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance.

ListChangeSets

listChangeSets_nextToken :: Lens' ListChangeSets (Maybe Text) Source #

A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.

listChangeSets_stackName :: Lens' ListChangeSets Text Source #

The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

listChangeSetsResponse_nextToken :: Lens' ListChangeSetsResponse (Maybe Text) Source #

If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.

listChangeSetsResponse_summaries :: Lens' ListChangeSetsResponse (Maybe [ChangeSetSummary]) Source #

A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack.

ListStackResources

listStackResources_nextToken :: Lens' ListStackResources (Maybe Text) Source #

A string that identifies the next page of stack resources that you want to retrieve.

listStackResources_stackName :: Lens' ListStackResources Text Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

listStackResourcesResponse_nextToken :: Lens' ListStackResourcesResponse (Maybe Text) Source #

If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.

UpdateStackInstances

updateStackInstances_accounts :: Lens' UpdateStackInstances (Maybe [Text]) Source #

Self-managed permissions
The names of one or more Amazon Web Services accounts for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Regions.

You can specify Accounts or DeploymentTargets, but not both.

updateStackInstances_callAs :: Lens' UpdateStackInstances (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

updateStackInstances_operationPreferences :: Lens' UpdateStackInstances (Maybe StackSetOperationPreferences) Source #

Preferences for how CloudFormation performs this stack set operation.

updateStackInstances_operationId :: Lens' UpdateStackInstances (Maybe Text) Source #

The unique identifier for this stack set operation.

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them.

If you don't specify an operation ID, the SDK generates one automatically.

updateStackInstances_deploymentTargets :: Lens' UpdateStackInstances (Maybe DeploymentTargets) Source #

Service-managed permissions
The Organizations accounts for which you want to update parameter values for stack instances. If your update targets OUs, the overridden parameter values only apply to the accounts that are currently in the target OUs and their child OUs. Accounts added to the target OUs and their child OUs in the future won't use the overridden values.

You can specify Accounts or DeploymentTargets, but not both.

updateStackInstances_parameterOverrides :: Lens' UpdateStackInstances (Maybe [Parameter]) Source #

A list of input parameters whose values you want to update for the specified stack instances.

Any overridden parameter values will be applied to all stack instances in the specified accounts and Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance update operations:

  • To override the current value for a parameter, include the parameter and specify its value.
  • To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You cannot specify both a value and set UsePreviousValue to true.)
  • To set an overridden parameter back to the value specified in the stack set, specify a parameter list but do not include the parameter in the list.
  • To leave all parameters set to their present values, do not specify this property at all.

During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.

You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances.

updateStackInstances_stackSetName :: Lens' UpdateStackInstances Text Source #

The name or unique ID of the stack set associated with the stack instances.

updateStackInstances_regions :: Lens' UpdateStackInstances [Text] Source #

The names of one or more Regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Regions.

updateStackInstancesResponse_operationId :: Lens' UpdateStackInstancesResponse (Maybe Text) Source #

The unique identifier for this stack set operation.

DeleteStackInstances

deleteStackInstances_accounts :: Lens' DeleteStackInstances (Maybe [Text]) Source #

Self-managed permissions
The names of the Amazon Web Services accounts that you want to delete stack instances for.

You can specify Accounts or DeploymentTargets, but not both.

deleteStackInstances_callAs :: Lens' DeleteStackInstances (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

deleteStackInstances_operationPreferences :: Lens' DeleteStackInstances (Maybe StackSetOperationPreferences) Source #

Preferences for how CloudFormation performs this stack set operation.

deleteStackInstances_operationId :: Lens' DeleteStackInstances (Maybe Text) Source #

The unique identifier for this stack set operation.

If you don't specify an operation ID, the SDK generates one automatically.

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that CloudFormation successfully received them.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

deleteStackInstances_deploymentTargets :: Lens' DeleteStackInstances (Maybe DeploymentTargets) Source #

Service-managed permissions
The Organizations accounts from which to delete stack instances.

You can specify Accounts or DeploymentTargets, but not both.

deleteStackInstances_stackSetName :: Lens' DeleteStackInstances Text Source #

The name or unique ID of the stack set that you want to delete stack instances for.

deleteStackInstances_regions :: Lens' DeleteStackInstances [Text] Source #

The Regions where you want to delete stack set instances.

deleteStackInstances_retainStacks :: Lens' DeleteStackInstances Bool Source #

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

For more information, see Stack set operation options.

deleteStackInstancesResponse_operationId :: Lens' DeleteStackInstancesResponse (Maybe Text) Source #

The unique identifier for this stack set operation.

DescribeType

describeType_versionId :: Lens' DescribeType (Maybe Text) Source #

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

If you specify a VersionId, DescribeType returns information about that specific extension version. Otherwise, it returns information about the default extension version.

describeType_typeName :: Lens' DescribeType (Maybe Text) Source #

The name of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

describeType_arn :: Lens' DescribeType (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

describeType_publicVersionNumber :: Lens' DescribeType (Maybe Text) Source #

The version number of a public third-party extension.

describeType_type :: Lens' DescribeType (Maybe RegistryType) Source #

The kind of extension.

Conditional: You must specify either TypeName and Type, or Arn.

describeType_publisherId :: Lens' DescribeType (Maybe Text) Source #

The publisher ID of the extension publisher.

Extensions provided by Amazon are not assigned a publisher ID.

describeTypeResponse_typeTestsStatusDescription :: Lens' DescribeTypeResponse (Maybe Text) Source #

The description of the test status. To return the extension test status of a specifc extension version, you must specify VersionId.

This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account.

describeTypeResponse_lastUpdated :: Lens' DescribeTypeResponse (Maybe UTCTime) Source #

When the specified extension version was registered. This applies only to:

  • Private extensions you have registered in your account. For more information, see RegisterType.
  • Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType.

describeTypeResponse_typeName :: Lens' DescribeTypeResponse (Maybe Text) Source #

The name of the extension.

If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the type name alias. For more information, see ActivateType.

describeTypeResponse_arn :: Lens' DescribeTypeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension.

describeTypeResponse_publicVersionNumber :: Lens' DescribeTypeResponse (Maybe Text) Source #

The version number of a public third-party extension.

This applies only if you specify a public extension you have activated in your account, or specify a public extension without specifying a version. For all other extensions, CloudFormation returns null.

describeTypeResponse_executionRoleArn :: Lens' DescribeTypeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM execution role used to register the extension. This applies only to private extensions you have registered in your account. For more information, see RegisterType.

If the registered extension calls any Amazon Web Services APIs, you must create an <https:docs.aws.amazon.comIAMlatestUserGuideid_roles.html IAM execution role> that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the appropriate credentials.

describeTypeResponse_autoUpdate :: Lens' DescribeTypeResponse (Maybe Bool) Source #

Whether CloudFormation automatically updates the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.

describeTypeResponse_originalTypeName :: Lens' DescribeTypeResponse (Maybe Text) Source #

For public extensions that have been activated for this account and region, the type name of the public extension.

If you specified a TypeNameAlias when enabling the extension in this account and region, CloudFormation treats that alias as the extension's type name within the account and region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

describeTypeResponse_visibility :: Lens' DescribeTypeResponse (Maybe Visibility) Source #

The scope at which the extension is visible and usable in CloudFormation operations.

Valid values include:

  • PRIVATE: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register as PRIVATE.
  • PUBLIC: The extension is publically visible and usable within any Amazon account.

describeTypeResponse_schema :: Lens' DescribeTypeResponse (Maybe Text) Source #

The schema that defines the extension.

For more information on extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.

describeTypeResponse_originalTypeArn :: Lens' DescribeTypeResponse (Maybe Text) Source #

For public extensions that have been activated for this account and region, the Amazon Resource Name (ARN) of the public extension.

describeTypeResponse_defaultVersionId :: Lens' DescribeTypeResponse (Maybe Text) Source #

The ID of the default version of the extension. The default version is used when the extension version is not specified.

This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType.

To set the default version of an extension, use SetTypeDefaultVersion .

describeTypeResponse_isActivated :: Lens' DescribeTypeResponse (Maybe Bool) Source #

Whether or not the extension is activated in the account and region.

This only applies to public third-party extensions. For all other extensions, CloudFormation returns null.

describeTypeResponse_requiredActivatedTypes :: Lens' DescribeTypeResponse (Maybe [RequiredActivatedType]) Source #

For extensions that are modules, the public third-party extensions that must be activated in your account in order for the module itself to be activated.

describeTypeResponse_deprecatedStatus :: Lens' DescribeTypeResponse (Maybe DeprecatedStatus) Source #

The deprecation status of the extension version.

Valid values include:

  • LIVE: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.
  • DEPRECATED: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations.

For public third-party extensions, CloudFormation returns null.

describeTypeResponse_timeCreated :: Lens' DescribeTypeResponse (Maybe UTCTime) Source #

When the specified private extension version was registered or activated in your account.

describeTypeResponse_latestPublicVersion :: Lens' DescribeTypeResponse (Maybe Text) Source #

The latest version of a public extension that is available for use.

This only applies if you specify a public extension, and you do not specify a version. For all other requests, CloudFormation returns null.

describeTypeResponse_publisherId :: Lens' DescribeTypeResponse (Maybe Text) Source #

The publisher ID of the extension publisher.

This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon, CloudFormation returns null.

describeTypeResponse_isDefaultVersion :: Lens' DescribeTypeResponse (Maybe Bool) Source #

Whether the specified extension version is set as the default version.

This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, whether or not they are activated in your account, CloudFormation returns null.

describeTypeResponse_sourceUrl :: Lens' DescribeTypeResponse (Maybe Text) Source #

The URL of the source code for the extension.

describeTypeResponse_documentationUrl :: Lens' DescribeTypeResponse (Maybe Text) Source #

The URL of a page providing detailed documentation for this extension.

describeTypeResponse_configurationSchema :: Lens' DescribeTypeResponse (Maybe Text) Source #

A JSON string that represent the current configuration data for the extension in this account and region.

To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.

describeTypeResponse_provisioningType :: Lens' DescribeTypeResponse (Maybe ProvisioningType) Source #

For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.

Valid values include:

  • FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations.
  • IMMUTABLE: The resource type does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations.
  • NON_PROVISIONABLE: The resource type does not include all of the following handlers, and therefore cannot actually be provisioned.

    • create
    • read
    • delete

describeTypeResponse_typeTestsStatus :: Lens' DescribeTypeResponse (Maybe TypeTestsStatus) Source #

The contract test status of the registered extension version. To return the extension test status of a specifc extension version, you must specify VersionId.

This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account.

  • PASSED: The extension has passed all its contract tests.

    An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.

  • FAILED: The extension has failed one or more contract tests.
  • IN_PROGRESS: Contract tests are currently being performed on the extension.
  • NOT_TESTED: Contract tests have not been performed on the extension.

describeTypeResponse_loggingConfig :: Lens' DescribeTypeResponse (Maybe LoggingConfig) Source #

Contains logging configuration information for private extensions. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType.

CreateStackInstances

createStackInstances_accounts :: Lens' CreateStackInstances (Maybe [Text]) Source #

Self-managed permissions
The names of one or more Amazon Web Services accounts that you want to create stack instances in the specified Region(s) for.

You can specify Accounts or DeploymentTargets, but not both.

createStackInstances_callAs :: Lens' CreateStackInstances (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

createStackInstances_operationPreferences :: Lens' CreateStackInstances (Maybe StackSetOperationPreferences) Source #

Preferences for how CloudFormation performs this stack set operation.

createStackInstances_operationId :: Lens' CreateStackInstances (Maybe Text) Source #

The unique identifier for this stack set operation.

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them.

If you don't specify an operation ID, the SDK generates one automatically.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

createStackInstances_deploymentTargets :: Lens' CreateStackInstances (Maybe DeploymentTargets) Source #

Service-managed permissions
The Organizations accounts for which to create stack instances in the specified Regions.

You can specify Accounts or DeploymentTargets, but not both.

createStackInstances_parameterOverrides :: Lens' CreateStackInstances (Maybe [Parameter]) Source #

A list of stack set parameters whose values you want to override in the selected stack instances.

Any overridden parameter values will be applied to all stack instances in the specified accounts and Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance operations:

  • To override the current value for a parameter, include the parameter and specify its value.
  • To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You cannot specify both a value and set UsePreviousValue to true.)
  • To set an overridden parameter back to the value specified in the stack set, specify a parameter list but do not include the parameter in the list.
  • To leave all parameters set to their present values, do not specify this property at all.

During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.

You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.

createStackInstances_stackSetName :: Lens' CreateStackInstances Text Source #

The name or unique ID of the stack set that you want to create stack instances from.

createStackInstances_regions :: Lens' CreateStackInstances [Text] Source #

The names of one or more Regions where you want to create stack instances using the specified Amazon Web Services accounts.

createStackInstancesResponse_operationId :: Lens' CreateStackInstancesResponse (Maybe Text) Source #

The unique identifier for this stack set operation.

ListTypeRegistrations

listTypeRegistrations_typeName :: Lens' ListTypeRegistrations (Maybe Text) Source #

The name of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeRegistrations_registrationStatusFilter :: Lens' ListTypeRegistrations (Maybe RegistrationStatus) Source #

The current status of the extension registration request.

The default is IN_PROGRESS.

listTypeRegistrations_nextToken :: Lens' ListTypeRegistrations (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listTypeRegistrations_typeArn :: Lens' ListTypeRegistrations (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeRegistrations_type :: Lens' ListTypeRegistrations (Maybe RegistryType) Source #

The kind of extension.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeRegistrations_maxResults :: Lens' ListTypeRegistrations (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listTypeRegistrationsResponse_registrationTokenList :: Lens' ListTypeRegistrationsResponse (Maybe [Text]) Source #

A list of extension registration tokens.

Use DescribeTypeRegistration to return detailed information about a type registration request.

listTypeRegistrationsResponse_nextToken :: Lens' ListTypeRegistrationsResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

GetStackPolicy

getStackPolicy_stackName :: Lens' GetStackPolicy Text Source #

The name or unique stack ID that is associated with the stack whose policy you want to get.

getStackPolicyResponse_stackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text) Source #

Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)

DescribeStacks

describeStacks_nextToken :: Lens' DescribeStacks (Maybe Text) Source #

A string that identifies the next page of stacks that you want to retrieve.

describeStacks_stackName :: Lens' DescribeStacks (Maybe Text) Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

describeStacksResponse_nextToken :: Lens' DescribeStacksResponse (Maybe Text) Source #

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

CreateChangeSet

createChangeSet_changeSetType :: Lens' CreateChangeSet (Maybe ChangeSetType) Source #

The type of change set operation. To create a change set for a new stack, specify CREATE. To create a change set for an existing stack, specify UPDATE. To create a change set for an import operation, specify IMPORT.

If you create a change set for a new stack, CloudFormation creates a stack with a unique stack ID, but no template or resources. The stack will be in the REVIEW_IN_PROGRESS state until you execute the change set.

By default, CloudFormation specifies UPDATE. You can't use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

createChangeSet_usePreviousTemplate :: Lens' CreateChangeSet (Maybe Bool) Source #

Whether to reuse the template that is associated with the stack to create the change set.

createChangeSet_clientToken :: Lens' CreateChangeSet (Maybe Text) Source #

A unique identifier for this CreateChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create another change set with the same name. You might retry CreateChangeSet requests to ensure that CloudFormation successfully received them.

createChangeSet_notificationARNs :: Lens' CreateChangeSet (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list.

createChangeSet_includeNestedStacks :: Lens' CreateChangeSet (Maybe Bool) Source #

Creates a change set for the all nested stacks specified in the template. The default behavior of this action is set to False. To include nested sets in a change set, specify True.

createChangeSet_parameters :: Lens' CreateChangeSet (Maybe [Parameter]) Source #

A list of Parameter structures that specify input parameters for the change set. For more information, see the Parameter data type.

createChangeSet_templateBody :: Lens' CreateChangeSet (Maybe Text) Source #

A structure that contains the body of the revised template, with a minimum length of 1 byte and a maximum length of 51,200 bytes. CloudFormation generates the change set by comparing this template with the template of the stack that you specified.

Conditional: You must specify only TemplateBody or TemplateURL.

createChangeSet_templateURL :: Lens' CreateChangeSet (Maybe Text) Source #

The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that is located in an S3 bucket or a Systems Manager document. CloudFormation generates the change set by comparing this template with the stack that you specified.

Conditional: You must specify only TemplateBody or TemplateURL.

createChangeSet_description :: Lens' CreateChangeSet (Maybe Text) Source #

A description to help you identify this change set.

createChangeSet_capabilities :: Lens' CreateChangeSet (Maybe [Capability]) Source #

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.
    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    This capacity does not apply to creating change sets, and specifying it when creating change sets has no effect.

    If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the CreateStack or UpdateStack action, and specifying this capability.

    For more information on macros, see Using CloudFormation Macros to Perform Custom Processing on Templates.

createChangeSet_rollbackConfiguration :: Lens' CreateChangeSet (Maybe RollbackConfiguration) Source #

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

createChangeSet_resourceTypes :: Lens' CreateChangeSet (Maybe [Text]) Source #

The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.

If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling Access with Identity and Access Management in the CloudFormation User Guide.

createChangeSet_tags :: Lens' CreateChangeSet (Maybe [Tag]) Source #

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 50 tags.

createChangeSet_roleARN :: Lens' CreateChangeSet (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

createChangeSet_stackName :: Lens' CreateChangeSet Text Source #

The name or the unique ID of the stack for which you are creating a change set. CloudFormation generates the change set by comparing this stack's information with the information that you submit, such as a modified template or different parameter input values.

createChangeSet_changeSetName :: Lens' CreateChangeSet Text Source #

The name of the change set. The name must be unique among all change sets that are associated with the specified stack.

A change set name can contain only alphanumeric, case sensitive characters and hyphens. It must start with an alphabetic character and cannot exceed 128 characters.

createChangeSetResponse_id :: Lens' CreateChangeSetResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the change set.

ListStackSetOperations

listStackSetOperations_callAs :: Lens' ListStackSetOperations (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

listStackSetOperations_nextToken :: Lens' ListStackSetOperations (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSetOperations again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listStackSetOperations_maxResults :: Lens' ListStackSetOperations (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listStackSetOperations_stackSetName :: Lens' ListStackSetOperations Text Source #

The name or unique ID of the stack set that you want to get operation summaries for.

listStackSetOperationsResponse_nextToken :: Lens' ListStackSetOperationsResponse (Maybe Text) Source #

If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null.

listStackSetOperationsResponse_summaries :: Lens' ListStackSetOperationsResponse (Maybe [StackSetOperationSummary]) Source #

A list of StackSetOperationSummary structures that contain summary information about operations for the specified stack set.

ExecuteChangeSet

executeChangeSet_disableRollback :: Lens' ExecuteChangeSet (Maybe Bool) Source #

Preserves the state of previously provisioned resources when an operation fails.

Default: True

executeChangeSet_clientRequestToken :: Lens' ExecuteChangeSet (Maybe Text) Source #

A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that CloudFormation successfully received them.

executeChangeSet_stackName :: Lens' ExecuteChangeSet (Maybe Text) Source #

If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute.

executeChangeSet_changeSetName :: Lens' ExecuteChangeSet Text Source #

The name or ARN of the change set that you want use to update the specified stack.

DescribePublisher

describePublisher_publisherId :: Lens' DescribePublisher (Maybe Text) Source #

The ID of the extension publisher.

If you do not supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account.

describePublisherResponse_publisherStatus :: Lens' DescribePublisherResponse (Maybe PublisherStatus) Source #

Whether the publisher is verified. Currently, all registered publishers are verified.

describePublisherResponse_publisherProfile :: Lens' DescribePublisherResponse (Maybe Text) Source #

The URL to the publisher's profile with the identity provider.

describePublisherResponse_identityProvider :: Lens' DescribePublisherResponse (Maybe IdentityProvider) Source #

The type of account used as the identity provider when registering this publisher with CloudFormation.

ListStackInstances

listStackInstances_stackInstanceRegion :: Lens' ListStackInstances (Maybe Text) Source #

The name of the Region where you want to list stack instances.

listStackInstances_callAs :: Lens' ListStackInstances (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

listStackInstances_filters :: Lens' ListStackInstances (Maybe [StackInstanceFilter]) Source #

The status that stack instances are filtered by.

listStackInstances_nextToken :: Lens' ListStackInstances (Maybe Text) Source #

If the previous request didn't return all of the remaining results, the response's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listStackInstances_stackInstanceAccount :: Lens' ListStackInstances (Maybe Text) Source #

The name of the Amazon Web Services account that you want to list stack instances for.

listStackInstances_maxResults :: Lens' ListStackInstances (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listStackInstances_stackSetName :: Lens' ListStackInstances Text Source #

The name or unique ID of the stack set that you want to list stack instances for.

listStackInstancesResponse_nextToken :: Lens' ListStackInstancesResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

listStackInstancesResponse_summaries :: Lens' ListStackInstancesResponse (Maybe [StackInstanceSummary]) Source #

A list of StackInstanceSummary structures that contain information about the specified stack instances.

ContinueUpdateRollback

continueUpdateRollback_resourcesToSkip :: Lens' ContinueUpdateRollback (Maybe [Text]) Source #

A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was cancelled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable.

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

continueUpdateRollback_clientRequestToken :: Lens' ContinueUpdateRollback (Maybe Text) Source #

A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry requests so that CloudFormationknows that you're not attempting to continue the rollback to a stack with the same name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully received them.

continueUpdateRollback_roleARN :: Lens' ContinueUpdateRollback (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

continueUpdateRollback_stackName :: Lens' ContinueUpdateRollback Text Source #

The name or the unique ID of the stack that you want to continue rolling back.

Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack resource).

ValidateTemplate

validateTemplate_templateBody :: Lens' ValidateTemplate (Maybe Text) Source #

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

validateTemplate_templateURL :: Lens' ValidateTemplate (Maybe Text) Source #

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

validateTemplateResponse_declaredTransforms :: Lens' ValidateTemplateResponse (Maybe [Text]) Source #

A list of the transforms that are declared in the template.

validateTemplateResponse_capabilitiesReason :: Lens' ValidateTemplateResponse (Maybe Text) Source #

The list of resources that generated the values in the Capabilities response element.

validateTemplateResponse_capabilities :: Lens' ValidateTemplateResponse (Maybe [Capability]) Source #

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in CloudFormation Templates.

CancelUpdateStack

cancelUpdateStack_clientRequestToken :: Lens' CancelUpdateStack (Maybe Text) Source #

A unique identifier for this CancelUpdateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retry CancelUpdateStack requests to ensure that CloudFormation successfully received them.

cancelUpdateStack_stackName :: Lens' CancelUpdateStack Text Source #

The name or the unique stack ID that is associated with the stack.

PublishType

publishType_typeName :: Lens' PublishType (Maybe Text) Source #

The name of the extension.

Conditional: You must specify Arn, or TypeName and Type.

publishType_arn :: Lens' PublishType (Maybe Text) Source #

The Amazon Resource Number (ARN) of the extension.

Conditional: You must specify Arn, or TypeName and Type.

publishType_publicVersionNumber :: Lens' PublishType (Maybe Text) Source #

The version number to assign to this version of the extension.

Use the following format, and adhere to semantic versioning when assigning a version number to your extension:

MAJOR.MINOR.PATCH

For more information, see Semantic Versioning 2.0.0.

If you do not specify a version number, CloudFormation increments the version number by one minor version release.

The first time you publish a type, CloudFormation sets the version number to 1.0.0, regardless of the value you specify.

publishType_type :: Lens' PublishType (Maybe ThirdPartyType) Source #

The type of the extension.

Conditional: You must specify Arn, or TypeName and Type.

publishTypeResponse_publicTypeArn :: Lens' PublishTypeResponse (Maybe Text) Source #

The Amazon Resource Number (ARN) assigned to the public extension upon publication.

ListTypes

listTypes_filters :: Lens' ListTypes (Maybe TypeFilters) Source #

Filter criteria to use in determining which extensions to return.

If you specify a filter, CloudFormation ignores any specified Visibility value when returning the list of types.

listTypes_visibility :: Lens' ListTypes (Maybe Visibility) Source #

The scope at which the extensions are visible and usable in CloudFormation operations.

Valid values include:

  • PRIVATE: Extensions that are visible and usable within this account and region. This includes:

    • Private extensions you have registered in this account and region.
    • Public extensions that you have activated in this account and region.
  • PUBLIC: Extensions that are publicly visible and available to be activated within any Amazon account. This includes extensions from Amazon, as well as third-party publishers.

The default is PRIVATE.

listTypes_nextToken :: Lens' ListTypes (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listTypes_deprecatedStatus :: Lens' ListTypes (Maybe DeprecatedStatus) Source #

The deprecation status of the extension that you want to get summary information about.

Valid values include:

  • LIVE: The extension is registered for use in CloudFormation operations.
  • DEPRECATED: The extension has been deregistered and can no longer be used in CloudFormation operations.

listTypes_maxResults :: Lens' ListTypes (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listTypes_provisioningType :: Lens' ListTypes (Maybe ProvisioningType) Source #

For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.

Valid values include:

  • FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations.
  • IMMUTABLE: The resource type does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations.
  • NON_PROVISIONABLE: The resource type does not include create, read, and delete handlers, and therefore cannot actually be provisioned.

The default is FULLY_MUTABLE.

listTypesResponse_typeSummaries :: Lens' ListTypesResponse (Maybe [TypeSummary]) Source #

A list of TypeSummary structures that contain information about the specified extensions.

listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

listTypesResponse_httpStatus :: Lens' ListTypesResponse Int Source #

The response's http status code.

DescribeTypeRegistration

describeTypeRegistration_registrationToken :: Lens' DescribeTypeRegistration Text Source #

The identifier for this registration request.

This registration token is generated by CloudFormation when you initiate a registration request using RegisterType .

describeTypeRegistrationResponse_typeVersionArn :: Lens' DescribeTypeRegistrationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of this specific version of the extension being registered.

For registration requests with a ProgressStatus of other than COMPLETE, this will be null.

describeTypeRegistrationResponse_typeArn :: Lens' DescribeTypeRegistrationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension being registered.

For registration requests with a ProgressStatus of other than COMPLETE, this will be null.

describeTypeRegistrationResponse_description :: Lens' DescribeTypeRegistrationResponse (Maybe Text) Source #

The description of the extension registration request.

DetectStackDrift

detectStackDrift_logicalResourceIds :: Lens' DetectStackDrift (Maybe (NonEmpty Text)) Source #

The logical names of any resources you want to use as filters.

detectStackDrift_stackName :: Lens' DetectStackDrift Text Source #

The name of the stack for which you want to detect drift.

detectStackDriftResponse_stackDriftDetectionId :: Lens' DetectStackDriftResponse Text Source #

The ID of the drift detection results of this operation.

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.

DescribeStackEvents

describeStackEvents_nextToken :: Lens' DescribeStackEvents (Maybe Text) Source #

A string that identifies the next page of events that you want to retrieve.

describeStackEvents_stackName :: Lens' DescribeStackEvents (Maybe Text) Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

describeStackEventsResponse_nextToken :: Lens' DescribeStackEventsResponse (Maybe Text) Source #

If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.

SignalResource

signalResource_stackName :: Lens' SignalResource Text Source #

The stack name or unique stack ID that includes the resource that you want to signal.

signalResource_logicalResourceId :: Lens' SignalResource Text Source #

The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.

signalResource_uniqueId :: Lens' SignalResource Text Source #

A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.

signalResource_status :: Lens' SignalResource ResourceSignalStatus Source #

The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.

SetStackPolicy

setStackPolicy_stackPolicyBody :: Lens' SetStackPolicy (Maybe Text) Source #

Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

setStackPolicy_stackPolicyURL :: Lens' SetStackPolicy (Maybe Text) Source #

Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

setStackPolicy_stackName :: Lens' SetStackPolicy Text Source #

The name or unique stack ID that you want to associate a policy with.

ListImports

listImports_nextToken :: Lens' ListImports (Maybe Text) Source #

A string (provided by the ListImports response output) that identifies the next page of stacks that are importing the specified exported output value.

listImports_exportName :: Lens' ListImports Text Source #

The name of the exported output value. CloudFormation returns the stack names that are importing this value.

listImportsResponse_imports :: Lens' ListImportsResponse (Maybe [Text]) Source #

A list of stack names that are importing the specified exported output value.

listImportsResponse_nextToken :: Lens' ListImportsResponse (Maybe Text) Source #

A string that identifies the next page of exports. If there is no additional page, this value is null.

DescribeStackResourceDrifts

describeStackResourceDrifts_nextToken :: Lens' DescribeStackResourceDrifts (Maybe Text) Source #

A string that identifies the next page of stack resource drift results.

describeStackResourceDrifts_maxResults :: Lens' DescribeStackResourceDrifts (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

describeStackResourceDrifts_stackResourceDriftStatusFilters :: Lens' DescribeStackResourceDrifts (Maybe (NonEmpty StackResourceDriftStatus)) Source #

The resource drift status values to use as filters for the resource drift results returned.

  • DELETED: The resource differs from its expected template configuration in that the resource has been deleted.
  • MODIFIED: One or more resource properties differ from their expected template values.
  • IN_SYNC: The resources's actual configuration matches its expected template configuration.
  • NOT_CHECKED: CloudFormation does not currently return this value.

describeStackResourceDrifts_stackName :: Lens' DescribeStackResourceDrifts Text Source #

The name of the stack for which you want drift information.

describeStackResourceDriftsResponse_nextToken :: Lens' DescribeStackResourceDriftsResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeStackResourceDrifts again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

describeStackResourceDriftsResponse_stackResourceDrifts :: Lens' DescribeStackResourceDriftsResponse [StackResourceDrift] Source #

Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.

For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that have not yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

ListStacks

listStacks_nextToken :: Lens' ListStacks (Maybe Text) Source #

A string that identifies the next page of stacks that you want to retrieve.

listStacks_stackStatusFilter :: Lens' ListStacks (Maybe [StackStatus]) Source #

Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

listStacksResponse_nextToken :: Lens' ListStacksResponse (Maybe Text) Source #

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

listStacksResponse_stackSummaries :: Lens' ListStacksResponse (Maybe [StackSummary]) Source #

A list of StackSummary structures containing information about the specified stacks.

RegisterPublisher

registerPublisher_connectionArn :: Lens' RegisterPublisher (Maybe Text) Source #

If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

registerPublisher_acceptTermsAndConditions :: Lens' RegisterPublisher (Maybe Bool) Source #

Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.

The default is false.

registerPublisherResponse_publisherId :: Lens' RegisterPublisherResponse (Maybe Text) Source #

The ID assigned this account by CloudFormation for publishing extensions.

DescribeAccountLimits

describeAccountLimits_nextToken :: Lens' DescribeAccountLimits (Maybe Text) Source #

A string that identifies the next page of limits that you want to retrieve.

describeAccountLimitsResponse_nextToken :: Lens' DescribeAccountLimitsResponse (Maybe Text) Source #

If the output exceeds 1 MB in size, a string that identifies the next page of limits. If no additional page exists, this value is null.

describeAccountLimitsResponse_accountLimits :: Lens' DescribeAccountLimitsResponse (Maybe [AccountLimit]) Source #

An account limit structure that contain a list of CloudFormation account limits and their values.

DescribeStackResources

describeStackResources_logicalResourceId :: Lens' DescribeStackResources (Maybe Text) Source #

The logical name of the resource as specified in the template.

Default: There is no default value.

describeStackResources_physicalResourceId :: Lens' DescribeStackResources (Maybe Text) Source #

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack.

Required: Conditional. If you do not specify PhysicalResourceId, you must specify StackName.

Default: There is no default value.

describeStackResources_stackName :: Lens' DescribeStackResources (Maybe Text) Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

Required: Conditional. If you do not specify StackName, you must specify PhysicalResourceId.

DescribeStackInstance

describeStackInstance_callAs :: Lens' DescribeStackInstance (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

describeStackInstance_stackSetName :: Lens' DescribeStackInstance Text Source #

The name or the unique stack ID of the stack set that you want to get stack instance information for.

describeStackInstance_stackInstanceAccount :: Lens' DescribeStackInstance Text Source #

The ID of an Amazon Web Services account that's associated with this stack instance.

describeStackInstance_stackInstanceRegion :: Lens' DescribeStackInstance Text Source #

The name of a Region that's associated with this stack instance.

describeStackInstanceResponse_stackInstance :: Lens' DescribeStackInstanceResponse (Maybe StackInstance) Source #

The stack instance that matches the specified request parameters.

CreateStack

createStack_disableRollback :: Lens' CreateStack (Maybe Bool) Source #

Set to true to disable rollback of the stack if stack creation failed. You can specify either DisableRollback or OnFailure, but not both.

Default: false

createStack_notificationARNs :: Lens' CreateStack (Maybe [Text]) Source #

The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI).

createStack_enableTerminationProtection :: Lens' CreateStack (Maybe Bool) Source #

Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is disabled on stacks by default.

For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack.

createStack_stackPolicyBody :: Lens' CreateStack (Maybe Text) Source #

Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

createStack_parameters :: Lens' CreateStack (Maybe [Parameter]) Source #

A list of Parameter structures that specify input parameters for the stack. For more information, see the Parameter data type.

createStack_stackPolicyURL :: Lens' CreateStack (Maybe Text) Source #

Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

createStack_templateBody :: Lens' CreateStack (Maybe Text) Source #

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

createStack_templateURL :: Lens' CreateStack (Maybe Text) Source #

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

createStack_clientRequestToken :: Lens' CreateStack (Maybe Text) Source #

A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that CloudFormation successfully received them.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

createStack_capabilities :: Lens' CreateStack (Maybe [Capability]) Source #

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.
    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.

    If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability.

    You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs.

    Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.

    For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

createStack_rollbackConfiguration :: Lens' CreateStack (Maybe RollbackConfiguration) Source #

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

createStack_onFailure :: Lens' CreateStack (Maybe OnFailure) Source #

Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both.

Default: ROLLBACK

createStack_resourceTypes :: Lens' CreateStack (Maybe [Text]) Source #

The template resource types that you have permissions to work with for this create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. Use the following syntax to describe template resource types: AWS::* (for all Amazon Web Services resources), Custom::* (for all custom resources), Custom::logical_ID (for a specific custom resource), AWS::service_name::* (for all resources of a particular Amazon Web Services service), and AWS::service_name::resource_logical_ID (for a specific Amazon Web Services resource).

If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with Identity and Access Management.

createStack_tags :: Lens' CreateStack (Maybe [Tag]) Source #

Key-value pairs to associate with this stack. CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.

createStack_timeoutInMinutes :: Lens' CreateStack (Maybe Natural) Source #

The amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back.

createStack_roleARN :: Lens' CreateStack (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.

If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.

createStack_stackName :: Lens' CreateStack Text Source #

The name that is associated with the stack. The name must be unique in the Region in which you are creating the stack.

A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and cannot be longer than 128 characters.

UpdateStackSet

updateStackSet_administrationRoleARN :: Lens' UpdateStackSet (Maybe Text) Source #

The Amazon Resource Number (ARN) of the IAM role to use to update this stack set.

Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Granting Permissions for Stack Set Operations in the CloudFormation User Guide.

If you specified a customized administrator role when you created the stack set, you must specify a customized administrator role, even if it is the same customized administrator role used with this stack set previously.

updateStackSet_usePreviousTemplate :: Lens' UpdateStackSet (Maybe Bool) Source #

Use the existing template that's associated with the stack set that you're updating.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

updateStackSet_accounts :: Lens' UpdateStackSet (Maybe [Text]) Source #

Self-managed permissions
The accounts in which to update associated stack instances. If you specify accounts, you must also specify the Regions in which to update stack set instances.

To update all the stack instances associated with this stack set, do not specify the Accounts or Regions properties.

If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status.

updateStackSet_callAs :: Lens' UpdateStackSet (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

updateStackSet_regions :: Lens' UpdateStackSet (Maybe [Text]) Source #

The Regions in which to update associated stack instances. If you specify Regions, you must also specify accounts in which to update stack set instances.

To update all the stack instances associated with this stack set, do not specify the Accounts or Regions properties.

If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status.

updateStackSet_autoDeployment :: Lens' UpdateStackSet (Maybe AutoDeployment) Source #

Service-managed permissions
Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).

If you specify AutoDeployment, do not specify DeploymentTargets or Regions.

updateStackSet_permissionModel :: Lens' UpdateStackSet (Maybe PermissionModels) Source #

Describes how the IAM roles required for stack set operations are created. You cannot modify PermissionModel if there are stack instances associated with your stack set.

updateStackSet_parameters :: Lens' UpdateStackSet (Maybe [Parameter]) Source #

A list of input parameters for the stack set template.

updateStackSet_operationPreferences :: Lens' UpdateStackSet (Maybe StackSetOperationPreferences) Source #

Preferences for how CloudFormation performs this stack set operation.

updateStackSet_operationId :: Lens' UpdateStackSet (Maybe Text) Source #

The unique ID for this stack set operation.

The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them.

If you don't specify an operation ID, CloudFormation generates one automatically.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

updateStackSet_templateBody :: Lens' UpdateStackSet (Maybe Text) Source #

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

updateStackSet_templateURL :: Lens' UpdateStackSet (Maybe Text) Source #

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

updateStackSet_deploymentTargets :: Lens' UpdateStackSet (Maybe DeploymentTargets) Source #

Service-managed permissions
The Organizations accounts in which to update associated stack instances.

To update all the stack instances associated with this stack set, do not specify DeploymentTargets or Regions.

If the stack set update includes changes to the template (that is, if TemplateBody or TemplateURL is specified), or the Parameters, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status.

updateStackSet_description :: Lens' UpdateStackSet (Maybe Text) Source #

A brief description of updates that you are making.

updateStackSet_capabilities :: Lens' UpdateStackSet (Maybe [Capability]) Source #

In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack set and its associated stack instances.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.
    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

    Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.

updateStackSet_tags :: Lens' UpdateStackSet (Maybe [Tag]) Source #

The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags.

If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means:

  • If you don't specify this parameter, CloudFormation doesn't modify the stack's tags.
  • If you specify any tags using this parameter, you must specify all the tags that you want associated with this stack set, even tags you've specifed before (for example, when creating the stack set or during a previous update of the stack set.). Any tags that you don't include in the updated list of tags are removed from the stack set, and therefore from the stacks and resources as well.
  • If you specify an empty value, CloudFormation removes all currently associated tags.

If you specify new tags as part of an UpdateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from the list of tags you specify, CloudFormation assumes that you want to remove those tags from the stack set, and checks to see if you have permission to untag resources. If you don't have the necessary permission(s), the entire UpdateStackSet action fails with an access denied error, and the stack set is not updated.

updateStackSet_executionRoleName :: Lens' UpdateStackSet (Maybe Text) Source #

The name of the IAM execution role to use to update the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.

Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets.

If you specify a customized execution role, CloudFormation uses that role to update the stack. If you do not specify a customized execution role, CloudFormation performs the update using the role previously associated with the stack set, so long as you have permissions to perform operations on the stack set.

updateStackSet_stackSetName :: Lens' UpdateStackSet Text Source #

The name or unique ID of the stack set that you want to update.

updateStackSetResponse_operationId :: Lens' UpdateStackSetResponse (Maybe Text) Source #

The unique ID for this stack set operation.

DeleteStackSet

deleteStackSet_callAs :: Lens' DeleteStackSet (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

deleteStackSet_stackSetName :: Lens' DeleteStackSet Text Source #

The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

EstimateTemplateCost

estimateTemplateCost_parameters :: Lens' EstimateTemplateCost (Maybe [Parameter]) Source #

A list of Parameter structures that specify input parameters.

estimateTemplateCost_templateBody :: Lens' EstimateTemplateCost (Maybe Text) Source #

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

estimateTemplateCost_templateURL :: Lens' EstimateTemplateCost (Maybe Text) Source #

Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

estimateTemplateCostResponse_url :: Lens' EstimateTemplateCostResponse (Maybe Text) Source #

An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

DeleteChangeSet

deleteChangeSet_stackName :: Lens' DeleteChangeSet (Maybe Text) Source #

If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it.

deleteChangeSet_changeSetName :: Lens' DeleteChangeSet Text Source #

The name or Amazon Resource Name (ARN) of the change set that you want to delete.

ListStackSets

listStackSets_status :: Lens' ListStackSets (Maybe StackSetStatus) Source #

The status of the stack sets that you want to get summary information about.

listStackSets_callAs :: Lens' ListStackSets (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

listStackSets_nextToken :: Lens' ListStackSets (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSets again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listStackSets_maxResults :: Lens' ListStackSets (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listStackSetsResponse_nextToken :: Lens' ListStackSetsResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

listStackSetsResponse_summaries :: Lens' ListStackSetsResponse (Maybe [StackSetSummary]) Source #

A list of StackSetSummary structures that contain information about the user's stack sets.

ListExports

listExports_nextToken :: Lens' ListExports (Maybe Text) Source #

A string (provided by the ListExports response output) that identifies the next page of exported output values that you asked to retrieve.

listExportsResponse_nextToken :: Lens' ListExportsResponse (Maybe Text) Source #

If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null.

listExportsResponse_exports :: Lens' ListExportsResponse (Maybe [Export]) Source #

The output for the ListExports action.

DescribeStackDriftDetectionStatus

describeStackDriftDetectionStatus_stackDriftDetectionId :: Lens' DescribeStackDriftDetectionStatus Text Source #

The ID of the drift detection results of this operation.

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.

describeStackDriftDetectionStatusResponse_stackDriftStatus :: Lens' DescribeStackDriftDetectionStatusResponse (Maybe StackDriftStatus) Source #

Status of the stack's actual configuration compared to its expected configuration.

  • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.
  • NOT_CHECKED: CloudFormation has not checked if the stack differs from its expected template configuration.
  • IN_SYNC: The stack's actual configuration matches its expected template configuration.
  • UNKNOWN: This value is reserved for future use.

describeStackDriftDetectionStatusResponse_driftedStackResourceCount :: Lens' DescribeStackDriftDetectionStatusResponse (Maybe Int) Source #

Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE. This value will be 0 for stacks whose drift status is IN_SYNC.

describeStackDriftDetectionStatusResponse_stackDriftDetectionId :: Lens' DescribeStackDriftDetectionStatusResponse Text Source #

The ID of the drift detection results of this operation.

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.

describeStackDriftDetectionStatusResponse_detectionStatus :: Lens' DescribeStackDriftDetectionStatusResponse StackDriftDetectionStatus Source #

The status of the stack drift detection operation.

  • DETECTION_COMPLETE: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that do not currently support stack detection remain unchecked.)

    If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.

  • DETECTION_FAILED: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection.
  • DETECTION_IN_PROGRESS: The stack drift detection operation is currently in progress.

RollbackStack

rollbackStack_clientRequestToken :: Lens' RollbackStack (Maybe Text) Source #

A unique identifier for this RollbackStack request.

rollbackStack_roleARN :: Lens' RollbackStack (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.

rollbackStack_stackName :: Lens' RollbackStack Text Source #

The name that is associated with the stack.

CreateStackSet

createStackSet_administrationRoleARN :: Lens' CreateStackSet (Maybe Text) Source #

The Amazon Resource Number (ARN) of the IAM role to use to create this stack set.

Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide.

createStackSet_callAs :: Lens' CreateStackSet (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • To create a stack set with service-managed permissions while signed in to the management account, specify SELF.
  • To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated admin in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators.

createStackSet_autoDeployment :: Lens' CreateStackSet (Maybe AutoDeployment) Source #

Describes whether StackSets automatically deploys to Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.

createStackSet_permissionModel :: Lens' CreateStackSet (Maybe PermissionModels) Source #

Describes how the IAM roles required for stack set operations are created. By default, SELF-MANAGED is specified.

createStackSet_parameters :: Lens' CreateStackSet (Maybe [Parameter]) Source #

The input parameters for the stack set template.

createStackSet_templateBody :: Lens' CreateStackSet (Maybe Text) Source #

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

createStackSet_templateURL :: Lens' CreateStackSet (Maybe Text) Source #

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

createStackSet_stackId :: Lens' CreateStackSet (Maybe Text) Source #

The stack ID you are importing into a new stack set. Specify the Amazon Resource Number (ARN) of the stack.

createStackSet_clientRequestToken :: Lens' CreateStackSet (Maybe Text) Source #

A unique identifier for this CreateStackSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create another stack set with the same name. You might retry CreateStackSet requests to ensure that CloudFormation successfully received them.

If you don't specify an operation ID, the SDK generates one automatically.

createStackSet_description :: Lens' CreateStackSet (Maybe Text) Source #

A description of the stack set. You can use the description to identify the stack set's purpose or other important information.

createStackSet_capabilities :: Lens' CreateStackSet (Maybe [Capability]) Source #

In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for CloudFormation to create the stack set and related stack instances.

  • CAPABILITY_IAM and CAPABILITY_NAMED_IAM

    Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities.

    The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability.

    • If you have IAM resources, you can specify either capability.
    • If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
    • If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error.

    If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.

    For more information, see Acknowledging IAM Resources in CloudFormation Templates.

  • CAPABILITY_AUTO_EXPAND

    Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.

    Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.

createStackSet_tags :: Lens' CreateStackSet (Maybe [Tag]) Source #

The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.

If you specify tags as part of a CreateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you don't, the entire CreateStackSet action fails with an access denied error, and the stack set is not created.

createStackSet_executionRoleName :: Lens' CreateStackSet (Maybe Text) Source #

The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.

Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets.

createStackSet_stackSetName :: Lens' CreateStackSet Text Source #

The name to associate with the stack set. The name must be unique in the Region where you create your stack set.

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.

createStackSetResponse_stackSetId :: Lens' CreateStackSetResponse (Maybe Text) Source #

The ID of the stack set that you're creating.

DeregisterType

deregisterType_versionId :: Lens' DeregisterType (Maybe Text) Source #

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

deregisterType_typeName :: Lens' DeregisterType (Maybe Text) Source #

The name of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

deregisterType_arn :: Lens' DeregisterType (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

deregisterType_type :: Lens' DeregisterType (Maybe RegistryType) Source #

The kind of extension.

Conditional: You must specify either TypeName and Type, or Arn.

DeactivateType

deactivateType_typeName :: Lens' DeactivateType (Maybe Text) Source #

The type name of the extension, in this account and region. If you specified a type name alias when enabling the extension, use the type name alias.

Conditional: You must specify either Arn, or TypeName and Type.

deactivateType_arn :: Lens' DeactivateType (Maybe Text) Source #

The Amazon Resource Name (ARN) for the extension, in this account and region.

Conditional: You must specify either Arn, or TypeName and Type.

deactivateType_type :: Lens' DeactivateType (Maybe ThirdPartyType) Source #

The extension type.

Conditional: You must specify either Arn, or TypeName and Type.

RecordHandlerProgress

ListTypeVersions

listTypeVersions_typeName :: Lens' ListTypeVersions (Maybe Text) Source #

The name of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeVersions_arn :: Lens' ListTypeVersions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeVersions_nextToken :: Lens' ListTypeVersions (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listTypeVersions_deprecatedStatus :: Lens' ListTypeVersions (Maybe DeprecatedStatus) Source #

The deprecation status of the extension versions that you want to get summary information about.

Valid values include:

  • LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.
  • DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations.

The default is LIVE.

listTypeVersions_type :: Lens' ListTypeVersions (Maybe RegistryType) Source #

The kind of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeVersions_publisherId :: Lens' ListTypeVersions (Maybe Text) Source #

The publisher ID of the extension publisher.

Extensions published by Amazon are not assigned a publisher ID.

listTypeVersions_maxResults :: Lens' ListTypeVersions (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listTypeVersionsResponse_nextToken :: Lens' ListTypeVersionsResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

listTypeVersionsResponse_typeVersionSummaries :: Lens' ListTypeVersionsResponse (Maybe [TypeVersionSummary]) Source #

A list of TypeVersionSummary structures that contain information about the specified extension's versions.

SetTypeDefaultVersion

setTypeDefaultVersion_versionId :: Lens' SetTypeDefaultVersion (Maybe Text) Source #

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

setTypeDefaultVersion_typeName :: Lens' SetTypeDefaultVersion (Maybe Text) Source #

The name of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

setTypeDefaultVersion_arn :: Lens' SetTypeDefaultVersion (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

setTypeDefaultVersion_type :: Lens' SetTypeDefaultVersion (Maybe RegistryType) Source #

The kind of extension.

Conditional: You must specify either TypeName and Type, or Arn.

UpdateTerminationProtection

updateTerminationProtection_enableTerminationProtection :: Lens' UpdateTerminationProtection Bool Source #

Whether to enable termination protection on the specified stack.

updateTerminationProtection_stackName :: Lens' UpdateTerminationProtection Text Source #

The name or unique ID of the stack for which you want to set termination protection.

TestType

testType_versionId :: Lens' TestType (Maybe Text) Source #

The version of the extension to test.

You can specify the version id with either Arn, or with TypeName and Type.

If you do not specify a version, CloudFormation uses the default version of the extension in this account and region for testing.

testType_typeName :: Lens' TestType (Maybe Text) Source #

The name of the extension to test.

Conditional: You must specify Arn, or TypeName and Type.

testType_arn :: Lens' TestType (Maybe Text) Source #

The Amazon Resource Number (ARN) of the extension.

Conditional: You must specify Arn, or TypeName and Type.

testType_logDeliveryBucket :: Lens' TestType (Maybe Text) Source #

The S3 bucket to which CloudFormation delivers the contract test execution logs.

CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED.

The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:

  • GetObject
  • PutObject

For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

testType_type :: Lens' TestType (Maybe ThirdPartyType) Source #

The type of the extension to test.

Conditional: You must specify Arn, or TypeName and Type.

testTypeResponse_typeVersionArn :: Lens' TestTypeResponse (Maybe Text) Source #

The Amazon Resource Number (ARN) of the extension.

testTypeResponse_httpStatus :: Lens' TestTypeResponse Int Source #

The response's http status code.

GetTemplate

getTemplate_changeSetName :: Lens' GetTemplate (Maybe Text) Source #

The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns the associated template. If you specify a name, you must also specify the StackName.

getTemplate_templateStage :: Lens' GetTemplate (Maybe TemplateStage) Source #

For templates that include transforms, the stage of the template that CloudFormation returns. To get the user-submitted template, specify Original. To get the template after CloudFormation has processed all transforms, specify Processed.

If the template doesn't include transforms, Original and Processed return the same template. By default, CloudFormation specifies Processed.

getTemplate_stackName :: Lens' GetTemplate (Maybe Text) Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

getTemplateResponse_stagesAvailable :: Lens' GetTemplateResponse (Maybe [TemplateStage]) Source #

The stage of the template that you can retrieve. For stacks, the Original and Processed templates are always available. For change sets, the Original template is always available. After CloudFormation finishes creating the change set, the Processed template becomes available.

getTemplateResponse_templateBody :: Lens' GetTemplateResponse (Maybe Text) Source #

Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)

CloudFormation returns the same template that was used when the stack was created.

DetectStackSetDrift

detectStackSetDrift_callAs :: Lens' DetectStackSetDrift (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

detectStackSetDrift_stackSetName :: Lens' DetectStackSetDrift Text Source #

The name of the stack set on which to perform the drift detection operation.

detectStackSetDriftResponse_operationId :: Lens' DetectStackSetDriftResponse (Maybe Text) Source #

The ID of the drift detection stack set operation.

you can use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation.

DetectStackResourceDrift

detectStackResourceDrift_stackName :: Lens' DetectStackResourceDrift Text Source #

The name of the stack to which the resource belongs.

detectStackResourceDrift_logicalResourceId :: Lens' DetectStackResourceDrift Text Source #

The logical name of the resource for which to return drift information.

detectStackResourceDriftResponse_stackResourceDrift :: Lens' DetectStackResourceDriftResponse StackResourceDrift Source #

Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.

DescribeChangeSet

describeChangeSet_nextToken :: Lens' DescribeChangeSet (Maybe Text) Source #

A string (provided by the DescribeChangeSet response output) that identifies the next page of information that you want to retrieve.

describeChangeSet_stackName :: Lens' DescribeChangeSet (Maybe Text) Source #

If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to describe.

describeChangeSet_changeSetName :: Lens' DescribeChangeSet Text Source #

The name or Amazon Resource Name (ARN) of the change set that you want to describe.

describeChangeSetResponse_creationTime :: Lens' DescribeChangeSetResponse (Maybe UTCTime) Source #

The start time when the change set was created, in UTC.

describeChangeSetResponse_parentChangeSetId :: Lens' DescribeChangeSetResponse (Maybe Text) Source #

Specifies the change set ID of the parent change set in the current nested change set hierarchy.

describeChangeSetResponse_changes :: Lens' DescribeChangeSetResponse (Maybe [Change]) Source #

A list of Change structures that describes the resources CloudFormation changes if you execute the change set.

describeChangeSetResponse_notificationARNs :: Lens' DescribeChangeSetResponse (Maybe [Text]) Source #

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.

describeChangeSetResponse_executionStatus :: Lens' DescribeChangeSetResponse (Maybe ExecutionStatus) Source #

If the change set execution status is AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

describeChangeSetResponse_nextToken :: Lens' DescribeChangeSetResponse (Maybe Text) Source #

If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.

describeChangeSetResponse_rootChangeSetId :: Lens' DescribeChangeSetResponse (Maybe Text) Source #

Specifies the change set ID of the root change set in the current nested change set hierarchy.

describeChangeSetResponse_parameters :: Lens' DescribeChangeSetResponse (Maybe [Parameter]) Source #

A list of Parameter structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.

describeChangeSetResponse_statusReason :: Lens' DescribeChangeSetResponse (Maybe Text) Source #

A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.

describeChangeSetResponse_stackId :: Lens' DescribeChangeSetResponse (Maybe Text) Source #

The ARN of the stack that is associated with the change set.

describeChangeSetResponse_capabilities :: Lens' DescribeChangeSetResponse (Maybe [Capability]) Source #

If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.

describeChangeSetResponse_rollbackConfiguration :: Lens' DescribeChangeSetResponse (Maybe RollbackConfiguration) Source #

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

describeChangeSetResponse_tags :: Lens' DescribeChangeSetResponse (Maybe [Tag]) Source #

If you execute the change set, the tags that will be associated with the stack.

describeChangeSetResponse_stackName :: Lens' DescribeChangeSetResponse (Maybe Text) Source #

The name of the stack that is associated with the change set.

describeChangeSetResponse_status :: Lens' DescribeChangeSetResponse ChangeSetStatus Source #

The current status of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

DescribeStackSet

describeStackSet_callAs :: Lens' DescribeStackSet (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

describeStackSet_stackSetName :: Lens' DescribeStackSet Text Source #

The name or unique ID of the stack set whose description you want.

ListStackSetOperationResults

listStackSetOperationResults_callAs :: Lens' ListStackSetOperationResults (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

listStackSetOperationResults_nextToken :: Lens' ListStackSetOperationResults (Maybe Text) Source #

If the previous request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSetOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listStackSetOperationResults_maxResults :: Lens' ListStackSetOperationResults (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listStackSetOperationResults_stackSetName :: Lens' ListStackSetOperationResults Text Source #

The name or unique ID of the stack set that you want to get operation results for.

listStackSetOperationResultsResponse_nextToken :: Lens' ListStackSetOperationResultsResponse (Maybe Text) Source #

If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null.

listStackSetOperationResultsResponse_summaries :: Lens' ListStackSetOperationResultsResponse (Maybe [StackSetOperationResultSummary]) Source #

A list of StackSetOperationResultSummary structures that contain information about the specified operation results, for accounts and Regions that are included in the operation.

RegisterType

registerType_executionRoleArn :: Lens' RegisterType (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.

For CloudFormation to assume the specified execution role, the role must contain a trust relationship with the CloudFormation service principle (resources.cloudformation.amazonaws.com). For more information on adding trust relationships, see Modifying a role trust policy in the Identity and Access Management User Guide.

If your extension calls Amazon Web Services APIs in any of its handlers, you must create an <https:docs.aws.amazon.comIAMlatestUserGuideid_roles.html IAM execution role> that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. When CloudFormation needs to invoke the resource type handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the resource type handler, thereby supplying your resource type with the appropriate credentials.

registerType_clientRequestToken :: Lens' RegisterType (Maybe Text) Source #

A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registeration request, even if the request is submitted multiple times.

registerType_loggingConfig :: Lens' RegisterType (Maybe LoggingConfig) Source #

Specifies logging configuration information for an extension.

registerType_typeName :: Lens' RegisterType Text Source #

The name of the extension being registered.

We recommend that extension names adhere to the following patterns:

  • For resource types, company_or_organization::service::type.
  • For modules, company_or_organization::service::type::MODULE.

The following organization namespaces are reserved and cannot be used in your extension names:

  • Alexa
  • AMZN
  • Amazon
  • AWS
  • Custom
  • Dev

registerType_schemaHandlerPackage :: Lens' RegisterType Text Source #

A url to the S3 bucket containing the extension project package that contains the neccessary files for the extension you want to register.

For information on generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.

The user registering the extension must be able to access the package in the S3 bucket. That is, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.

registerTypeResponse_registrationToken :: Lens' RegisterTypeResponse (Maybe Text) Source #

The identifier for this registration request.

Use this registration token when calling DescribeTypeRegistration , which returns information about the status and IDs of the extension registration.

ActivateType

activateType_typeName :: Lens' ActivateType (Maybe Text) Source #

The name of the extension.

Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId.

activateType_versionBump :: Lens' ActivateType (Maybe VersionBump) Source #

Manually updates a previously-activated type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdate.

  • MAJOR: CloudFormation updates the extension to the newest major version, if one is available.
  • MINOR: CloudFormation updates the extension to the newest minor version, if one is available.

activateType_executionRoleArn :: Lens' ActivateType (Maybe Text) Source #

The name of the IAM execution role to use to activate the extension.

activateType_autoUpdate :: Lens' ActivateType (Maybe Bool) Source #

Whether to automatically update the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.

The default is true.

activateType_typeNameAlias :: Lens' ActivateType (Maybe Text) Source #

An alias to assign to the public extension, in this account and region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.

An extension alias must be unique within a given account and region. You can activate the same public resource multiple times in the same account and region, using different type name aliases.

activateType_majorVersion :: Lens' ActivateType (Maybe Natural) Source #

The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.

You can specify MajorVersion or VersionBump, but not both.

activateType_publicTypeArn :: Lens' ActivateType (Maybe Text) Source #

The Amazon Resource Number (ARN) of the public extension.

Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId.

activateType_type :: Lens' ActivateType (Maybe ThirdPartyType) Source #

The extension type.

Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId.

activateType_publisherId :: Lens' ActivateType (Maybe Text) Source #

The ID of the extension publisher.

Conditional: You must specify PublicTypeArn, or TypeName, Type, and PublisherId.

activateTypeResponse_arn :: Lens' ActivateTypeResponse (Maybe Text) Source #

The Amazon Resource Number (ARN) of the activated extension, in this account and region.

StopStackSetOperation

stopStackSetOperation_callAs :: Lens' StopStackSetOperation (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

stopStackSetOperation_stackSetName :: Lens' StopStackSetOperation Text Source #

The name or unique ID of the stack set that you want to stop the operation for.

DescribeStackResource

describeStackResource_stackName :: Lens' DescribeStackResource Text Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

describeStackResource_logicalResourceId :: Lens' DescribeStackResource Text Source #

The logical name of the resource as specified in the template.

Default: There is no default value.

describeStackResourceResponse_stackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source #

A StackResourceDetail structure containing the description of the specified resource in the specified stack.

Types

AccountGateResult

accountGateResult_status :: Lens' AccountGateResult (Maybe AccountGateStatus) Source #

The status of the account gate function.

  • SUCCEEDED: The account gate function has determined that the account and Region passes any requirements for a stack set operation to occur. CloudFormation proceeds with the stack operation in that account and Region.
  • FAILED: The account gate function has determined that the account and Region does not meet the requirements for a stack set operation to occur. AWS CloudFormation cancels the stack set operation in that account and Region, and sets the stack set operation result status for that account and Region to FAILED.
  • SKIPPED: CloudFormation has skipped calling the account gate function for this account and Region, for one of the following reasons:

    • An account gate function has not been specified for the account and Region. CloudFormation proceeds with the stack set operation in this account and Region.
    • The AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the function. CloudFormation proceeds with the stack set operation in this account and Region.
    • Either no action is necessary, or no action is possible, on the stack. CloudFormation skips the stack set operation in this account and Region.

accountGateResult_statusReason :: Lens' AccountGateResult (Maybe Text) Source #

The reason for the account gate status assigned to this account and Region for the stack set operation.

AccountLimit

accountLimit_value :: Lens' AccountLimit (Maybe Int) Source #

The value that is associated with the account limit name.

accountLimit_name :: Lens' AccountLimit (Maybe Text) Source #

The name of the account limit.

Values: ConcurrentResourcesLimit | StackLimit | StackOutputsLimit

AutoDeployment

autoDeployment_enabled :: Lens' AutoDeployment (Maybe Bool) Source #

If set to true, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.

autoDeployment_retainStacksOnAccountRemoval :: Lens' AutoDeployment (Maybe Bool) Source #

If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.

BatchDescribeTypeConfigurationsError

Change

change_resourceChange :: Lens' Change (Maybe ResourceChange) Source #

A ResourceChange structure that describes the resource and action that CloudFormation will perform.

change_type :: Lens' Change (Maybe ChangeType) Source #

The type of entity that CloudFormation changes. Currently, the only entity type is Resource.

ChangeSetSummary

changeSetSummary_creationTime :: Lens' ChangeSetSummary (Maybe UTCTime) Source #

The start time when the change set was created, in UTC.

changeSetSummary_status :: Lens' ChangeSetSummary (Maybe ChangeSetStatus) Source #

The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

changeSetSummary_executionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus) Source #

If the change set execution status is AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

changeSetSummary_includeNestedStacks :: Lens' ChangeSetSummary (Maybe Bool) Source #

Specifies the current setting of IncludeNestedStacks for the change set.

changeSetSummary_statusReason :: Lens' ChangeSetSummary (Maybe Text) Source #

A description of the change set's status. For example, if your change set is in the FAILED state, CloudFormation shows the error message.

changeSetSummary_stackId :: Lens' ChangeSetSummary (Maybe Text) Source #

The ID of the stack with which the change set is associated.

changeSetSummary_description :: Lens' ChangeSetSummary (Maybe Text) Source #

Descriptive information about the change set.

changeSetSummary_stackName :: Lens' ChangeSetSummary (Maybe Text) Source #

The name of the stack with which the change set is associated.

DeploymentTargets

deploymentTargets_accounts :: Lens' DeploymentTargets (Maybe [Text]) Source #

The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.

deploymentTargets_organizationalUnitIds :: Lens' DeploymentTargets (Maybe [Text]) Source #

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

deploymentTargets_accountsUrl :: Lens' DeploymentTargets (Maybe Text) Source #

Returns the value of the AccountsUrl property.

Export

export_value :: Lens' Export (Maybe Text) Source #

The value of the exported output, such as a resource physical ID. This value is defined in the Export field in the associated stack's Outputs section.

export_exportingStackId :: Lens' Export (Maybe Text) Source #

The stack that contains the exported output name and value.

export_name :: Lens' Export (Maybe Text) Source #

The name of exported output value. Use this name and the Fn::ImportValue function to import the associated value into other stacks. The name is defined in the Export field in the associated stack's Outputs section.

LoggingConfig

loggingConfig_logRoleArn :: Lens' LoggingConfig Text Source #

The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.

loggingConfig_logGroupName :: Lens' LoggingConfig Text Source #

The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.

ModuleInfo

moduleInfo_typeHierarchy :: Lens' ModuleInfo (Maybe Text) Source #

A concantenated list of the the module type or types containing the resource. Module types are listed starting with the inner-most nested module, and separated by /.

In the following example, the resource was created from a module of type AWS::First::Example::MODULE, that is nested inside a parent module of type AWS::Second::Example::MODULE.

AWS::First::Example::MODULE/AWS::Second::Example::MODULE

moduleInfo_logicalIdHierarchy :: Lens' ModuleInfo (Maybe Text) Source #

A concantenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

In the following example, the resource was created from a module, moduleA, that is nested inside a parent module, moduleB.

moduleA/moduleB

For more information, see Referencing resources in a module in the CloudFormation User Guide.

Output

output_outputValue :: Lens' Output (Maybe Text) Source #

The value associated with the output.

output_outputKey :: Lens' Output (Maybe Text) Source #

The key associated with the output.

output_exportName :: Lens' Output (Maybe Text) Source #

The name of the export associated with the output.

output_description :: Lens' Output (Maybe Text) Source #

User defined description associated with the output.

Parameter

parameter_parameterValue :: Lens' Parameter (Maybe Text) Source #

The input value associated with the parameter.

parameter_resolvedValue :: Lens' Parameter (Maybe Text) Source #

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for SSM parameter types in the template.

parameter_parameterKey :: Lens' Parameter (Maybe Text) Source #

The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that is specified in your template.

parameter_usePreviousValue :: Lens' Parameter (Maybe Bool) Source #

During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

ParameterConstraints

parameterConstraints_allowedValues :: Lens' ParameterConstraints (Maybe [Text]) Source #

A list of values that are permitted for a parameter.

ParameterDeclaration

parameterDeclaration_parameterKey :: Lens' ParameterDeclaration (Maybe Text) Source #

The name that is associated with the parameter.

parameterDeclaration_parameterConstraints :: Lens' ParameterDeclaration (Maybe ParameterConstraints) Source #

The criteria that CloudFormation uses to validate parameter values.

parameterDeclaration_noEcho :: Lens' ParameterDeclaration (Maybe Bool) Source #

Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.

parameterDeclaration_description :: Lens' ParameterDeclaration (Maybe Text) Source #

The description that is associate with the parameter.

PhysicalResourceIdContextKeyValuePair

PropertyDifference

propertyDifference_propertyPath :: Lens' PropertyDifference Text Source #

The fully-qualified path to the resource property.

propertyDifference_expectedValue :: Lens' PropertyDifference Text Source #

The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.

propertyDifference_actualValue :: Lens' PropertyDifference Text Source #

The actual property value of the resource property.

propertyDifference_differenceType :: Lens' PropertyDifference DifferenceType Source #

The type of property difference.

  • ADD: A value has been added to a resource property that is an array or list data type.
  • REMOVE: The property has been removed from the current resource configuration.
  • NOT_EQUAL: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).

RequiredActivatedType

requiredActivatedType_originalTypeName :: Lens' RequiredActivatedType (Maybe Text) Source #

The type name of the public extension.

If you specified a TypeNameAlias when enabling the extension in this account and region, CloudFormation treats that alias as the extension's type name within the account and region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

requiredActivatedType_typeNameAlias :: Lens' RequiredActivatedType (Maybe Text) Source #

An alias assigned to the public extension, in this account and region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.

requiredActivatedType_supportedMajorVersions :: Lens' RequiredActivatedType (Maybe [Natural]) Source #

A list of the major versions of the extension type that the macro supports.

requiredActivatedType_publisherId :: Lens' RequiredActivatedType (Maybe Text) Source #

The publisher ID of the extension publisher.

ResourceChange

resourceChange_logicalResourceId :: Lens' ResourceChange (Maybe Text) Source #

The resource's logical ID, which is defined in the stack's template.

resourceChange_physicalResourceId :: Lens' ResourceChange (Maybe Text) Source #

The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.

resourceChange_resourceType :: Lens' ResourceChange (Maybe Text) Source #

The type of CloudFormation resource, such as AWS::S3::Bucket.

resourceChange_action :: Lens' ResourceChange (Maybe ChangeAction) Source #

The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), or Dynamic (exact action for the resource cannot be determined).

resourceChange_changeSetId :: Lens' ResourceChange (Maybe Text) Source #

The change set ID of the nested change set.

resourceChange_moduleInfo :: Lens' ResourceChange (Maybe ModuleInfo) Source #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

resourceChange_scope :: Lens' ResourceChange (Maybe [ResourceAttribute]) Source #

For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

resourceChange_details :: Lens' ResourceChange (Maybe [ResourceChangeDetail]) Source #

For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource.

resourceChange_replacement :: Lens' ResourceChange (Maybe Replacement) Source #

For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

ResourceChangeDetail

resourceChangeDetail_causingEntity :: Lens' ResourceChangeDetail (Maybe Text) Source #

The identity of the entity that triggered this change. This entity is a member of the group that is specified by the ChangeSource field. For example, if you modified the value of the KeyPairName parameter, the CausingEntity is the name of the parameter (KeyPairName).

If the ChangeSource value is DirectModification, no value is given for CausingEntity.

resourceChangeDetail_changeSource :: Lens' ResourceChangeDetail (Maybe ChangeSource) Source #

The group to which the CausingEntity value belongs. There are five entity groups:

  • ResourceReference entities are Ref intrinsic functions that refer to resources in the template, such as { "Ref" : "MyEC2InstanceResource" }.
  • ParameterReference entities are Ref intrinsic functions that get template parameter values, such as { "Ref" : "MyPasswordParameter" }.
  • ResourceAttribute entities are Fn::GetAtt intrinsic functions that get resource attribute values, such as { "Fn::GetAtt" : [ "MyEC2InstanceResource", "PublicDnsName" ] }.
  • DirectModification entities are changes that are made directly to the template.
  • Automatic entities are AWS::CloudFormation::Stack resource types, which are also known as nested stacks. If you made no changes to the AWS::CloudFormation::Stack resource, CloudFormation sets the ChangeSource to Automatic because the nested stack's template might have changed. Changes to a nested stack's template aren't visible to CloudFormation until you run an update on the parent stack.

resourceChangeDetail_evaluation :: Lens' ResourceChangeDetail (Maybe EvaluationType) Source #

Indicates whether CloudFormation can determine the target value, and whether the target value will change before you execute a change set.

For Static evaluations, CloudFormation can determine that the target value will change, and its value. For example, if you directly modify the InstanceType property of an EC2 instance, CloudFormation knows that this property value will change, and its value, so this is a Static evaluation.

For Dynamic evaluations, cannot determine the target value because it depends on the result of an intrinsic function, such as a Ref or Fn::GetAtt intrinsic function, when the stack is updated. For example, if your template includes a reference to a resource that is conditionally recreated, the value of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the resource is recreated, it will have a new physical ID, so all references to that resource will also be updated.

resourceChangeDetail_target :: Lens' ResourceChangeDetail (Maybe ResourceTargetDefinition) Source #

A ResourceTargetDefinition structure that describes the field that CloudFormation will change and whether the resource will be recreated.

ResourceIdentifierSummary

resourceIdentifierSummary_resourceType :: Lens' ResourceIdentifierSummary (Maybe Text) Source #

The template resource type of the target resources, such as AWS::S3::Bucket.

resourceIdentifierSummary_logicalResourceIds :: Lens' ResourceIdentifierSummary (Maybe (NonEmpty Text)) Source #

The logical IDs of the target resources of the specified ResourceType, as defined in the import template.

resourceIdentifierSummary_resourceIdentifiers :: Lens' ResourceIdentifierSummary (Maybe [Text]) Source #

The resource properties you can provide during the import to identify your target resources. For example, BucketName is a possible identifier property for AWS::S3::Bucket resources.

ResourceTargetDefinition

resourceTargetDefinition_attribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute) Source #

Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

resourceTargetDefinition_requiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation) Source #

If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

resourceTargetDefinition_name :: Lens' ResourceTargetDefinition (Maybe Text) Source #

If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

ResourceToImport

resourceToImport_resourceType :: Lens' ResourceToImport Text Source #

The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

resourceToImport_logicalResourceId :: Lens' ResourceToImport Text Source #

The logical ID of the target resource as specified in the template.

resourceToImport_resourceIdentifier :: Lens' ResourceToImport (HashMap Text Text) Source #

A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).

RollbackConfiguration

rollbackConfiguration_rollbackTriggers :: Lens' RollbackConfiguration (Maybe [RollbackTrigger]) Source #

The triggers to monitor during stack creation or update actions.

By default, CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means:

  • To use the rollback triggers previously specified for this stack, if any, don't specify this parameter.
  • To specify new or updated rollback triggers, you must specify all the triggers that you want used for this stack, even triggers you've specifed before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack.
  • To remove all currently specified triggers, specify an empty list for this parameter.

If a specified trigger is missing, the entire stack operation fails and is rolled back.

rollbackConfiguration_monitoringTimeInMinutes :: Lens' RollbackConfiguration (Maybe Natural) Source #

The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources.

The default is 0 minutes.

If you specify a monitoring period but do not specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources after update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using CancelUpdateStack, for example) as necessary.

If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes.

RollbackTrigger

rollbackTrigger_arn :: Lens' RollbackTrigger Text Source #

The Amazon Resource Name (ARN) of the rollback trigger.

If a specified trigger is missing, the entire stack operation fails and is rolled back.

rollbackTrigger_type :: Lens' RollbackTrigger Text Source #

The resource type of the rollback trigger. Currently, AWS::CloudWatch::Alarm is the only supported resource type.

Stack

stack_disableRollback :: Lens' Stack (Maybe Bool) Source #

Boolean to enable or disable rollback on stack creation failures:

  • true: disable rollback
  • false: enable rollback

stack_lastUpdatedTime :: Lens' Stack (Maybe UTCTime) Source #

The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

stack_rootId :: Lens' Stack (Maybe Text) Source #

For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

For more information, see Working with Nested Stacks in the CloudFormation User Guide.

stack_notificationARNs :: Lens' Stack (Maybe [Text]) Source #

SNS topic ARNs to which stack related events are published.

stack_stackStatusReason :: Lens' Stack (Maybe Text) Source #

Success/failure message associated with the stack status.

stack_enableTerminationProtection :: Lens' Stack (Maybe Bool) Source #

Whether termination protection is enabled for the stack.

For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

stack_driftInformation :: Lens' Stack (Maybe StackDriftInformation) Source #

Information on whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

stack_changeSetId :: Lens' Stack (Maybe Text) Source #

The unique ID of the change set.

stack_deletionTime :: Lens' Stack (Maybe UTCTime) Source #

The time the stack was deleted.

stack_outputs :: Lens' Stack (Maybe [Output]) Source #

A list of output structures.

stack_parameters :: Lens' Stack (Maybe [Parameter]) Source #

A list of Parameter structures.

stack_stackId :: Lens' Stack (Maybe Text) Source #

Unique identifier of the stack.

stack_description :: Lens' Stack (Maybe Text) Source #

A user-defined description associated with the stack.

stack_capabilities :: Lens' Stack (Maybe [Capability]) Source #

The capabilities allowed in the stack.

stack_rollbackConfiguration :: Lens' Stack (Maybe RollbackConfiguration) Source #

The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

stack_tags :: Lens' Stack (Maybe [Tag]) Source #

A list of Tags that specify information about the stack.

stack_timeoutInMinutes :: Lens' Stack (Maybe Natural) Source #

The amount of time within which stack creation should complete.

stack_parentId :: Lens' Stack (Maybe Text) Source #

For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

For more information, see Working with Nested Stacks in the CloudFormation User Guide.

stack_roleARN :: Lens' Stack (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.

stack_stackName :: Lens' Stack Text Source #

The name associated with the stack.

stack_creationTime :: Lens' Stack UTCTime Source #

The time at which the stack was created.

stack_stackStatus :: Lens' Stack StackStatus Source #

Current status of the stack.

StackDriftInformation

stackDriftInformation_lastCheckTimestamp :: Lens' StackDriftInformation (Maybe UTCTime) Source #

Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.

stackDriftInformation_stackDriftStatus :: Lens' StackDriftInformation StackDriftStatus Source #

Status of the stack's actual configuration compared to its expected template configuration.

  • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.
  • NOT_CHECKED: CloudFormation has not checked if the stack differs from its expected template configuration.
  • IN_SYNC: The stack's actual configuration matches its expected template configuration.
  • UNKNOWN: This value is reserved for future use.

StackDriftInformationSummary

stackDriftInformationSummary_lastCheckTimestamp :: Lens' StackDriftInformationSummary (Maybe UTCTime) Source #

Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.

stackDriftInformationSummary_stackDriftStatus :: Lens' StackDriftInformationSummary StackDriftStatus Source #

Status of the stack's actual configuration compared to its expected template configuration.

  • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.
  • NOT_CHECKED: CloudFormation has not checked if the stack differs from its expected template configuration.
  • IN_SYNC: The stack's actual configuration matches its expected template configuration.
  • UNKNOWN: This value is reserved for future use.

StackEvent

stackEvent_logicalResourceId :: Lens' StackEvent (Maybe Text) Source #

The logical name of the resource specified in the template.

stackEvent_physicalResourceId :: Lens' StackEvent (Maybe Text) Source #

The name or unique identifier associated with the physical instance of the resource.

stackEvent_resourceType :: Lens' StackEvent (Maybe Text) Source #

Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

stackEvent_resourceStatusReason :: Lens' StackEvent (Maybe Text) Source #

Success/failure message associated with the resource.

stackEvent_resourceProperties :: Lens' StackEvent (Maybe Text) Source #

BLOB of the properties used to create the resource.

stackEvent_clientRequestToken :: Lens' StackEvent (Maybe Text) Source #

The token passed to the operation that generated this event.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

stackEvent_stackId :: Lens' StackEvent Text Source #

The unique ID name of the instance of the stack.

stackEvent_eventId :: Lens' StackEvent Text Source #

The unique ID of this event.

stackEvent_stackName :: Lens' StackEvent Text Source #

The name associated with a stack.

stackEvent_timestamp :: Lens' StackEvent UTCTime Source #

Time the status was updated.

StackInstance

stackInstance_status :: Lens' StackInstance (Maybe StackInstanceStatus) Source #

The status of the stack instance, in terms of its synchronization with its associated stack set.

  • INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually.
  • OUTDATED: The stack isn't currently up to date with the stack set because:

    • The associated stack failed during a CreateStackSet or UpdateStackSet operation.
    • The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated.
  • CURRENT: The stack is currently up to date with the stack set.

stackInstance_lastDriftCheckTimestamp :: Lens' StackInstance (Maybe UTCTime) Source #

Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance on which drift detection has not yet been performed.

stackInstance_account :: Lens' StackInstance (Maybe Text) Source #

Self-managed permissions
The name of the Amazon Web Services account that the stack instance is associated with.

stackInstance_driftStatus :: Lens' StackInstance (Maybe StackDriftStatus) Source #

Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs.

  • DRIFTED: The stack differs from the expected template and parameter configuration of the stack set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted.
  • NOT_CHECKED: CloudFormation has not checked if the stack instance differs from its expected stack set configuration.
  • IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration.
  • UNKNOWN: This value is reserved for future use.

stackInstance_organizationalUnitId :: Lens' StackInstance (Maybe Text) Source #

Service-managed permissions
The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.

stackInstance_region :: Lens' StackInstance (Maybe Text) Source #

The name of the Amazon Web Services Region that the stack instance is associated with.

stackInstance_statusReason :: Lens' StackInstance (Maybe Text) Source #

The explanation for the specific status code that is assigned to this stack instance.

stackInstance_stackId :: Lens' StackInstance (Maybe Text) Source #

The ID of the stack instance.

stackInstance_parameterOverrides :: Lens' StackInstance (Maybe [Parameter]) Source #

A list of parameters from the stack set template whose values have been overridden in this stack instance.

stackInstance_stackSetId :: Lens' StackInstance (Maybe Text) Source #

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

StackInstanceComprehensiveStatus

stackInstanceComprehensiveStatus_detailedStatus :: Lens' StackInstanceComprehensiveStatus (Maybe StackInstanceDetailedStatus) Source #

  • CANCELLED: The operation in the specified account and Region has been cancelled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded.
  • FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded.
  • INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually.
  • PENDING: The operation in the specified account and Region has yet to start.
  • RUNNING: The operation in the specified account and Region is currently in progress.
  • SUCCEEDED: The operation in the specified account and Region completed successfully.

StackInstanceFilter

StackInstanceSummary

stackInstanceSummary_status :: Lens' StackInstanceSummary (Maybe StackInstanceStatus) Source #

The status of the stack instance, in terms of its synchronization with its associated stack set.

  • INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually.
  • OUTDATED: The stack isn't currently up to date with the stack set because:

    • The associated stack failed during a CreateStackSet or UpdateStackSet operation.
    • The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated.
  • CURRENT: The stack is currently up to date with the stack set.

stackInstanceSummary_lastDriftCheckTimestamp :: Lens' StackInstanceSummary (Maybe UTCTime) Source #

Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance on which drift detection has not yet been performed.

stackInstanceSummary_account :: Lens' StackInstanceSummary (Maybe Text) Source #

Self-managed permissions
The name of the Amazon Web Services account that the stack instance is associated with.

stackInstanceSummary_driftStatus :: Lens' StackInstanceSummary (Maybe StackDriftStatus) Source #

Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs.

  • DRIFTED: The stack differs from the expected template and parameter configuration of the stack set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted.
  • NOT_CHECKED: CloudFormation has not checked if the stack instance differs from its expected stack set configuration.
  • IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration.
  • UNKNOWN: This value is reserved for future use.

stackInstanceSummary_organizationalUnitId :: Lens' StackInstanceSummary (Maybe Text) Source #

Service-managed permissions
The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.

stackInstanceSummary_region :: Lens' StackInstanceSummary (Maybe Text) Source #

The name of the Amazon Web Services Region that the stack instance is associated with.

stackInstanceSummary_statusReason :: Lens' StackInstanceSummary (Maybe Text) Source #

The explanation for the specific status code assigned to this stack instance.

stackInstanceSummary_stackSetId :: Lens' StackInstanceSummary (Maybe Text) Source #

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

StackResource

stackResource_physicalResourceId :: Lens' StackResource (Maybe Text) Source #

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

stackResource_resourceStatusReason :: Lens' StackResource (Maybe Text) Source #

Success/failure message associated with the resource.

stackResource_driftInformation :: Lens' StackResource (Maybe StackResourceDriftInformation) Source #

Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

stackResource_moduleInfo :: Lens' StackResource (Maybe ModuleInfo) Source #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

stackResource_stackId :: Lens' StackResource (Maybe Text) Source #

Unique identifier of the stack.

stackResource_description :: Lens' StackResource (Maybe Text) Source #

User defined description associated with the resource.

stackResource_stackName :: Lens' StackResource (Maybe Text) Source #

The name associated with the stack.

stackResource_logicalResourceId :: Lens' StackResource Text Source #

The logical name of the resource specified in the template.

stackResource_resourceType :: Lens' StackResource Text Source #

Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

StackResourceDetail

stackResourceDetail_physicalResourceId :: Lens' StackResourceDetail (Maybe Text) Source #

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

stackResourceDetail_resourceStatusReason :: Lens' StackResourceDetail (Maybe Text) Source #

Success/failure message associated with the resource.

stackResourceDetail_driftInformation :: Lens' StackResourceDetail (Maybe StackResourceDriftInformation) Source #

Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

stackResourceDetail_moduleInfo :: Lens' StackResourceDetail (Maybe ModuleInfo) Source #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

stackResourceDetail_metadata :: Lens' StackResourceDetail (Maybe Text) Source #

The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the CloudFormation User Guide.

stackResourceDetail_description :: Lens' StackResourceDetail (Maybe Text) Source #

User defined description associated with the resource.

stackResourceDetail_stackName :: Lens' StackResourceDetail (Maybe Text) Source #

The name associated with the stack.

stackResourceDetail_logicalResourceId :: Lens' StackResourceDetail Text Source #

The logical name of the resource specified in the template.

stackResourceDetail_resourceType :: Lens' StackResourceDetail Text Source #

Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

StackResourceDrift

stackResourceDrift_actualProperties :: Lens' StackResourceDrift (Maybe Text) Source #

A JSON structure containing the actual property values of the stack resource.

For resources whose StackResourceDriftStatus is DELETED, this structure will not be present.

stackResourceDrift_physicalResourceId :: Lens' StackResourceDrift (Maybe Text) Source #

The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

stackResourceDrift_physicalResourceIdContext :: Lens' StackResourceDrift (Maybe [PhysicalResourceIdContextKeyValuePair]) Source #

Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs are not enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource.

stackResourceDrift_propertyDifferences :: Lens' StackResourceDrift (Maybe [PropertyDifference]) Source #

A collection of the resource properties whose actual values differ from their expected values. These will be present only for resources whose StackResourceDriftStatus is MODIFIED.

stackResourceDrift_moduleInfo :: Lens' StackResourceDrift (Maybe ModuleInfo) Source #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

stackResourceDrift_expectedProperties :: Lens' StackResourceDrift (Maybe Text) Source #

A JSON structure containing the expected property values of the stack resource, as defined in the stack template and any values specified as template parameters.

For resources whose StackResourceDriftStatus is DELETED, this structure will not be present.

stackResourceDrift_logicalResourceId :: Lens' StackResourceDrift Text Source #

The logical name of the resource specified in the template.

stackResourceDrift_stackResourceDriftStatus :: Lens' StackResourceDrift StackResourceDriftStatus Source #

Status of the resource's actual configuration compared to its expected configuration

  • DELETED: The resource differs from its expected template configuration because the resource has been deleted.
  • MODIFIED: One or more resource properties differ from their expected values (as defined in the stack template and any values specified as template parameters).
  • IN_SYNC: The resources's actual configuration matches its expected template configuration.
  • NOT_CHECKED: CloudFormation does not currently return this value.

stackResourceDrift_timestamp :: Lens' StackResourceDrift UTCTime Source #

Time at which CloudFormation performed drift detection on the stack resource.

StackResourceDriftInformation

stackResourceDriftInformation_lastCheckTimestamp :: Lens' StackResourceDriftInformation (Maybe UTCTime) Source #

When CloudFormation last checked if the resource had drifted from its expected configuration.

stackResourceDriftInformation_stackResourceDriftStatus :: Lens' StackResourceDriftInformation StackResourceDriftStatus Source #

Status of the resource's actual configuration compared to its expected configuration

  • DELETED: The resource differs from its expected configuration in that it has been deleted.
  • MODIFIED: The resource differs from its expected configuration.
  • NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

    Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection.

  • IN_SYNC: The resources's actual configuration matches its expected configuration.

StackResourceDriftInformationSummary

stackResourceDriftInformationSummary_lastCheckTimestamp :: Lens' StackResourceDriftInformationSummary (Maybe UTCTime) Source #

When CloudFormation last checked if the resource had drifted from its expected configuration.

stackResourceDriftInformationSummary_stackResourceDriftStatus :: Lens' StackResourceDriftInformationSummary StackResourceDriftStatus Source #

Status of the resource's actual configuration compared to its expected configuration

  • DELETED: The resource differs from its expected configuration in that it has been deleted.
  • MODIFIED: The resource differs from its expected configuration.
  • NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.

    Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

  • IN_SYNC: The resources's actual configuration matches its expected configuration.

StackResourceSummary

stackResourceSummary_physicalResourceId :: Lens' StackResourceSummary (Maybe Text) Source #

The name or unique identifier that corresponds to a physical instance ID of the resource.

stackResourceSummary_resourceStatusReason :: Lens' StackResourceSummary (Maybe Text) Source #

Success/failure message associated with the resource.

stackResourceSummary_driftInformation :: Lens' StackResourceSummary (Maybe StackResourceDriftInformationSummary) Source #

Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

stackResourceSummary_moduleInfo :: Lens' StackResourceSummary (Maybe ModuleInfo) Source #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

stackResourceSummary_logicalResourceId :: Lens' StackResourceSummary Text Source #

The logical name of the resource specified in the template.

stackResourceSummary_resourceType :: Lens' StackResourceSummary Text Source #

Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)

StackSet

stackSet_stackSetDriftDetectionDetails :: Lens' StackSet (Maybe StackSetDriftDetectionDetails) Source #

Detailed information about the drift status of the stack set.

For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress is not included.

stackSet_status :: Lens' StackSet (Maybe StackSetStatus) Source #

The status of the stack set.

stackSet_administrationRoleARN :: Lens' StackSet (Maybe Text) Source #

The Amazon Resource Number (ARN) of the IAM role used to create or update the stack set.

Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide.

stackSet_autoDeployment :: Lens' StackSet (Maybe AutoDeployment) Source #

Service-managed permissions
Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).

stackSet_organizationalUnitIds :: Lens' StackSet (Maybe [Text]) Source #

Service-managed permissions
The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.

stackSet_stackSetARN :: Lens' StackSet (Maybe Text) Source #

The Amazon Resource Number (ARN) of the stack set.

stackSet_permissionModel :: Lens' StackSet (Maybe PermissionModels) Source #

Describes how the IAM roles required for stack set operations are created.

stackSet_parameters :: Lens' StackSet (Maybe [Parameter]) Source #

A list of input parameters for a stack set.

stackSet_templateBody :: Lens' StackSet (Maybe Text) Source #

The structure that contains the body of the template that was used to create or update the stack set.

stackSet_stackSetName :: Lens' StackSet (Maybe Text) Source #

The name that's associated with the stack set.

stackSet_description :: Lens' StackSet (Maybe Text) Source #

A description of the stack set that you specify when the stack set is created or updated.

stackSet_capabilities :: Lens' StackSet (Maybe [Capability]) Source #

The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.

stackSet_tags :: Lens' StackSet (Maybe [Tag]) Source #

A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.

stackSet_stackSetId :: Lens' StackSet (Maybe Text) Source #

The ID of the stack set.

stackSet_executionRoleName :: Lens' StackSet (Maybe Text) Source #

The name of the IAM execution role used to create or update the stack set.

Use customized execution roles to control which stack resources users and groups can include in their stack sets.

StackSetDriftDetectionDetails

stackSetDriftDetectionDetails_lastDriftCheckTimestamp :: Lens' StackSetDriftDetectionDetails (Maybe UTCTime) Source #

Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection has not yet been performed.

stackSetDriftDetectionDetails_totalStackInstancesCount :: Lens' StackSetDriftDetectionDetails (Maybe Natural) Source #

The total number of stack instances belonging to this stack set.

The total number of stack instances is equal to the total of:

  • Stack instances that match the stack set configuration.
  • Stack instances that have drifted from the stack set configuration.
  • Stack instances where the drift detection operation has failed.
  • Stack instances currently being checked for drift.

stackSetDriftDetectionDetails_inProgressStackInstancesCount :: Lens' StackSetDriftDetectionDetails (Maybe Natural) Source #

The number of stack instances that are currently being checked for drift.

stackSetDriftDetectionDetails_driftedStackInstancesCount :: Lens' StackSetDriftDetectionDetails (Maybe Natural) Source #

The number of stack instances that have drifted from the expected template and parameter configuration of the stack set. A stack instance is considered to have drifted if one or more of the resources in the associated stack do not match their expected configuration.

stackSetDriftDetectionDetails_driftDetectionStatus :: Lens' StackSetDriftDetectionDetails (Maybe StackSetDriftDetectionStatus) Source #

The status of the stack set drift detection operation.

  • COMPLETED: The drift detection operation completed without failing on any stack instances.
  • FAILED: The drift detection operation exceeded the specified failure tolerance.
  • PARTIAL_SUCCESS: The drift detection operation completed without exceeding the failure tolerance for the operation.
  • IN_PROGRESS: The drift detection operation is currently being performed.
  • STOPPED: The user has cancelled the drift detection operation.

stackSetDriftDetectionDetails_driftStatus :: Lens' StackSetDriftDetectionDetails (Maybe StackSetDriftStatus) Source #

Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration.

  • DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted.
  • NOT_CHECKED: CloudFormation has not checked the stack set for drift.
  • IN_SYNC: All of the stack instances belonging to the stack set stack match from the expected template and parameter configuration.

stackSetDriftDetectionDetails_failedStackInstancesCount :: Lens' StackSetDriftDetectionDetails (Maybe Natural) Source #

The number of stack instances for which the drift detection operation failed.

stackSetDriftDetectionDetails_inSyncStackInstancesCount :: Lens' StackSetDriftDetectionDetails (Maybe Natural) Source #

The number of stack instances which match the expected template and parameter configuration of the stack set.

StackSetOperation

stackSetOperation_stackSetDriftDetectionDetails :: Lens' StackSetOperation (Maybe StackSetDriftDetectionDetails) Source #

Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set.

this information will only be present for stack set operations whose Action type is DETECT_DRIFT.

For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide.

stackSetOperation_status :: Lens' StackSetOperation (Maybe StackSetOperationStatus) Source #

The status of the operation.

  • FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions.
  • QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide.
  • RUNNING: The operation is currently being performed.
  • STOPPED: The user has cancelled the operation.
  • STOPPING: The operation is in the process of stopping, at user request.
  • SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.

stackSetOperation_administrationRoleARN :: Lens' StackSetOperation (Maybe Text) Source #

The Amazon Resource Number (ARN) of the IAM role used to perform this stack set operation.

Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Define Permissions for Multiple Administrators in the CloudFormation User Guide.

stackSetOperation_action :: Lens' StackSetOperation (Maybe StackSetOperationAction) Source #

The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, as well as all associated stack set instances.

stackSetOperation_endTimestamp :: Lens' StackSetOperation (Maybe UTCTime) Source #

The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.

stackSetOperation_creationTimestamp :: Lens' StackSetOperation (Maybe UTCTime) Source #

The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.

stackSetOperation_operationPreferences :: Lens' StackSetOperation (Maybe StackSetOperationPreferences) Source #

The preferences for how CloudFormation performs this stack set operation.

stackSetOperation_operationId :: Lens' StackSetOperation (Maybe Text) Source #

The unique ID of a stack set operation.

stackSetOperation_retainStacks :: Lens' StackSetOperation (Maybe Bool) Source #

For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an existing, saved stack to a new stack set.

stackSetOperation_deploymentTargets :: Lens' StackSetOperation (Maybe DeploymentTargets) Source #

Service-managed permissions
The Organizations accounts affected by the stack operation.

stackSetOperation_executionRoleName :: Lens' StackSetOperation (Maybe Text) Source #

The name of the IAM execution role used to create or update the stack set.

Use customized execution roles to control which stack resources users and groups can include in their stack sets.

StackSetOperationPreferences

stackSetOperationPreferences_regionOrder :: Lens' StackSetOperationPreferences (Maybe [Text]) Source #

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

stackSetOperationPreferences_maxConcurrentCount :: Lens' StackSetOperationPreferences (Maybe Natural) Source #

The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of FailureToleranceCount. MaxConcurrentCount is at most one more than the FailureToleranceCount.

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both.

By default, 1 is specified.

stackSetOperationPreferences_maxConcurrentPercentage :: Lens' StackSetOperationPreferences (Maybe Natural) Source #

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

When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both.

By default, 1 is specified.

stackSetOperationPreferences_failureToleranceCount :: Lens' StackSetOperationPreferences (Maybe Natural) Source #

The number of accounts, per Region, for which this operation can fail before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions.

Conditional: You must specify either FailureToleranceCount or FailureTolerancePercentage (but not both).

By default, 0 is specified.

stackSetOperationPreferences_regionConcurrencyType :: Lens' StackSetOperationPreferences (Maybe RegionConcurrencyType) Source #

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

stackSetOperationPreferences_failureTolerancePercentage :: Lens' StackSetOperationPreferences (Maybe Natural) Source #

The percentage of accounts, per Region, for which this stack operation can fail before CloudFormation stops the operation in that Region. If the operation is stopped in a Region, CloudFormation doesn't attempt the operation in any subsequent Regions.

When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number.

Conditional: You must specify either FailureToleranceCount or FailureTolerancePercentage, but not both.

By default, 0 is specified.

StackSetOperationResultSummary

stackSetOperationResultSummary_status :: Lens' StackSetOperationResultSummary (Maybe StackSetOperationResultStatus) Source #

The result status of the stack set operation for the given account in the given Region.

  • CANCELLED: The operation in the specified account and Region has been cancelled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded.
  • FAILED: The operation in the specified account and Region failed.

    If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded.

  • RUNNING: The operation in the specified account and Region is currently in progress.
  • PENDING: The operation in the specified account and Region has yet to start.
  • SUCCEEDED: The operation in the specified account and Region completed successfully.

stackSetOperationResultSummary_account :: Lens' StackSetOperationResultSummary (Maybe Text) Source #

Self-managed permissions
The name of the Amazon Web Services account for this operation result.

stackSetOperationResultSummary_accountGateResult :: Lens' StackSetOperationResultSummary (Maybe AccountGateResult) Source #

The results of the account gate function CloudFormation invokes, if present, before proceeding with stack set operations in an account

stackSetOperationResultSummary_organizationalUnitId :: Lens' StackSetOperationResultSummary (Maybe Text) Source #

Service-managed permissions
The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.

stackSetOperationResultSummary_region :: Lens' StackSetOperationResultSummary (Maybe Text) Source #

The name of the Amazon Web Services Region for this operation result.

StackSetOperationSummary

stackSetOperationSummary_status :: Lens' StackSetOperationSummary (Maybe StackSetOperationStatus) Source #

The overall status of the operation.

  • FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions.
  • QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide.
  • RUNNING: The operation is currently being performed.
  • STOPPED: The user has cancelled the operation.
  • STOPPING: The operation is in the process of stopping, at user request.
  • SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.

stackSetOperationSummary_action :: Lens' StackSetOperationSummary (Maybe StackSetOperationAction) Source #

The type of operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified stack set. Update operations affect both the stack set itself as well as all associated stack set instances.

stackSetOperationSummary_endTimestamp :: Lens' StackSetOperationSummary (Maybe UTCTime) Source #

The time at which the stack set operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or Region.

stackSetOperationSummary_creationTimestamp :: Lens' StackSetOperationSummary (Maybe UTCTime) Source #

The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.

StackSetSummary

stackSetSummary_lastDriftCheckTimestamp :: Lens' StackSetSummary (Maybe UTCTime) Source #

Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection has not yet been performed.

stackSetSummary_autoDeployment :: Lens' StackSetSummary (Maybe AutoDeployment) Source #

Service-managed permissions
Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organizational unit (OU).

stackSetSummary_driftStatus :: Lens' StackSetSummary (Maybe StackDriftStatus) Source #

Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration.

  • DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted.
  • NOT_CHECKED: CloudFormation has not checked the stack set for drift.
  • IN_SYNC: All of the stack instances belonging to the stack set stack match from the expected template and parameter configuration.
  • UNKNOWN: This value is reserved for future use.

stackSetSummary_permissionModel :: Lens' StackSetSummary (Maybe PermissionModels) Source #

Describes how the IAM roles required for stack set operations are created.

stackSetSummary_description :: Lens' StackSetSummary (Maybe Text) Source #

A description of the stack set that you specify when the stack set is created or updated.

StackSummary

stackSummary_lastUpdatedTime :: Lens' StackSummary (Maybe UTCTime) Source #

The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

stackSummary_rootId :: Lens' StackSummary (Maybe Text) Source #

For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

For more information, see Working with Nested Stacks in the CloudFormation User Guide.

stackSummary_stackStatusReason :: Lens' StackSummary (Maybe Text) Source #

Success/Failure message associated with the stack status.

stackSummary_templateDescription :: Lens' StackSummary (Maybe Text) Source #

The template description of the template used to create the stack.

stackSummary_driftInformation :: Lens' StackSummary (Maybe StackDriftInformationSummary) Source #

Summarizes information on whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

stackSummary_deletionTime :: Lens' StackSummary (Maybe UTCTime) Source #

The time the stack was deleted.

stackSummary_parentId :: Lens' StackSummary (Maybe Text) Source #

For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

For more information, see Working with Nested Stacks in the CloudFormation User Guide.

stackSummary_stackName :: Lens' StackSummary Text Source #

The name associated with the stack.

stackSummary_creationTime :: Lens' StackSummary UTCTime Source #

The time the stack was created.

stackSummary_stackStatus :: Lens' StackSummary StackStatus Source #

The current status of the stack.

Tag

tag_key :: Lens' Tag Text Source #

Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

tag_value :: Lens' Tag Text Source #

Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.

TemplateParameter

templateParameter_parameterKey :: Lens' TemplateParameter (Maybe Text) Source #

The name associated with the parameter.

templateParameter_defaultValue :: Lens' TemplateParameter (Maybe Text) Source #

The default value associated with the parameter.

templateParameter_noEcho :: Lens' TemplateParameter (Maybe Bool) Source #

Flag indicating whether the parameter should be displayed as plain text in logs and UIs.

templateParameter_description :: Lens' TemplateParameter (Maybe Text) Source #

User defined description associated with the parameter.

TypeConfigurationDetails

typeConfigurationDetails_lastUpdated :: Lens' TypeConfigurationDetails (Maybe UTCTime) Source #

When the configuration data was last updated for this extension.

If a configuration has not been set for a specified extension, CloudFormation returns null.

typeConfigurationDetails_arn :: Lens' TypeConfigurationDetails (Maybe Text) Source #

The Amazon Resource Name (ARN) for the configuration data, in this account and region.

typeConfigurationDetails_alias :: Lens' TypeConfigurationDetails (Maybe Text) Source #

The alias specified for this configuration, if one was specified when the configuration was set.

typeConfigurationDetails_typeArn :: Lens' TypeConfigurationDetails (Maybe Text) Source #

The Amazon Resource Name (ARN) for the extension, in this account and region.

For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region.

typeConfigurationDetails_configuration :: Lens' TypeConfigurationDetails (Maybe Text) Source #

A JSON string specifying the configuration data for the extension, in this account and region.

If a configuration has not been set for a specified extension, CloudFormation returns {}.

typeConfigurationDetails_isDefaultConfiguration :: Lens' TypeConfigurationDetails (Maybe Bool) Source #

Whether or not this configuration data is the default configuration for the extension.

TypeConfigurationIdentifier

typeConfigurationIdentifier_typeName :: Lens' TypeConfigurationIdentifier (Maybe Text) Source #

The name of the extension type to which this configuration applies.

typeConfigurationIdentifier_typeConfigurationArn :: Lens' TypeConfigurationIdentifier (Maybe Text) Source #

The Amazon Resource Name (ARN) for the configuration, in this account and region.

typeConfigurationIdentifier_typeConfigurationAlias :: Lens' TypeConfigurationIdentifier (Maybe Text) Source #

The alias specified for this configuration, if one was specified when the configuration was set.

typeConfigurationIdentifier_typeArn :: Lens' TypeConfigurationIdentifier (Maybe Text) Source #

The Amazon Resource Name (ARN) for the extension, in this account and region.

For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region.

TypeFilters

typeFilters_typeNamePrefix :: Lens' TypeFilters (Maybe Text) Source #

A prefix to use as a filter for results.

typeFilters_category :: Lens' TypeFilters (Maybe Category) Source #

The category of extensions to return.

  • REGISTERED: Private extensions that have been registered for this account and region.
  • ACTIVATED: Public extensions that have been activated for this account and region.
  • THIRD-PARTY: Extensions available for use from publishers other than Amazon. This includes:

    • Private extensions registered in the account.
    • Public extensions from publishers other than Amazon, whether activated or not.
  • AWS-TYPES: Extensions available for use from Amazon.

typeFilters_publisherId :: Lens' TypeFilters (Maybe Text) Source #

The id of the publisher of the extension.

Extensions published by Amazon are not assigned a publisher ID. Use the AWS-TYPES category to specify a list of types published by Amazon.

TypeSummary

typeSummary_lastUpdated :: Lens' TypeSummary (Maybe UTCTime) Source #

When the specified extension version was registered. This applies only to:

  • Private extensions you have registered in your account. For more information, see RegisterType.
  • Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType.

For all other extension types, CloudFormation returns null.

typeSummary_typeName :: Lens' TypeSummary (Maybe Text) Source #

The name of the extension.

If you specified a TypeNameAlias when you activate this extension in your account and region, CloudFormation considers that alias as the type name.

typeSummary_publicVersionNumber :: Lens' TypeSummary (Maybe Text) Source #

For public extensions that have been activated for this account and region, the version of the public extension to be used for CloudFormation operations in this account and region.

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extention in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

typeSummary_publisherIdentity :: Lens' TypeSummary (Maybe IdentityProvider) Source #

The service used to verify the publisher identity.

For more information, see Registering your account to publish CloudFormation extensions in the CFN-CLI User Guide for Extension Development.

typeSummary_originalTypeName :: Lens' TypeSummary (Maybe Text) Source #

For public extensions that have been activated for this account and region, the type name of the public extension.

If you specified a TypeNameAlias when enabling the extension in this account and region, CloudFormation treats that alias as the extension's type name within the account and region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.

typeSummary_defaultVersionId :: Lens' TypeSummary (Maybe Text) Source #

The ID of the default version of the extension. The default version is used when the extension version is not specified.

This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType.

To set the default version of an extension, use SetTypeDefaultVersion .

typeSummary_isActivated :: Lens' TypeSummary (Maybe Bool) Source #

Whether or not the extension is activated for this account and region.

This applies only to third-party public extensions. Extensions published by Amazon are activated by default.

typeSummary_typeArn :: Lens' TypeSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension.

typeSummary_latestPublicVersion :: Lens' TypeSummary (Maybe Text) Source #

For public extensions that have been activated for this account and region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null.

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extention in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

typeSummary_publisherId :: Lens' TypeSummary (Maybe Text) Source #

The ID of the extension publisher, if the extension is published by a third party. Extensions published by Amazon do not return a publisher ID.

typeSummary_description :: Lens' TypeSummary (Maybe Text) Source #

The description of the extension.

typeSummary_publisherName :: Lens' TypeSummary (Maybe Text) Source #

The publisher name, as defined in the public profile for that publisher in the service used to verify the publisher identity.

TypeVersionSummary

typeVersionSummary_versionId :: Lens' TypeVersionSummary (Maybe Text) Source #

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.

typeVersionSummary_arn :: Lens' TypeVersionSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension version.

typeVersionSummary_publicVersionNumber :: Lens' TypeVersionSummary (Maybe Text) Source #

For public extensions that have been activated for this account and region, the version of the public extension to be used for CloudFormation operations in this account and region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extention in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

typeVersionSummary_isDefaultVersion :: Lens' TypeVersionSummary (Maybe Bool) Source #

Whether the specified extension version is set as the default version.

This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, whether or not they are activated in your account, CloudFormation returns null.

typeVersionSummary_description :: Lens' TypeVersionSummary (Maybe Text) Source #

The description of the extension version.