
META-INF.smithy.cloudformation.smithy Maven / Gradle / Ivy
$version: "2.0"
metadata suppressions = [
{
id: "HttpMethodSemantics"
namespace: "*"
}
{
id: "HttpResponseCodeSemantics"
namespace: "*"
}
{
id: "PaginatedTrait"
namespace: "*"
}
{
id: "HttpHeaderTrait"
namespace: "*"
}
{
id: "HttpUriConflict"
namespace: "*"
}
{
id: "Service"
namespace: "*"
}
]
namespace com.amazonaws.cloudformation
use aws.api#service
use aws.auth#sigv4
use aws.protocols#awsQuery
use aws.protocols#awsQueryError
use smithy.waiters#waitable
/// CloudFormation
/// CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably
/// and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build
/// highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure.
/// With CloudFormation, you declare all your resources and dependencies in a template file. The template
/// defines a collection of resources as a single unit called a stack. CloudFormation creates and deletes all member
/// resources of the stack together and manages all dependencies between the resources for you.
/// For more information about CloudFormation, see the CloudFormation product page.
/// CloudFormation makes use of other Amazon Web Services products. If you need additional technical information
/// about a specific Amazon Web Services product, you can find the product's technical documentation at docs.aws.amazon.com.
@service(
sdkId: "CloudFormation"
arnNamespace: "cloudformation"
cloudFormationName: "CloudFormation"
cloudTrailEventSource: "cloudformation.amazonaws.com"
endpointPrefix: "cloudformation"
)
@sigv4(
name: "cloudformation"
)
@awsQuery
@title("AWS CloudFormation")
@xmlNamespace(
uri: "http://cloudformation.amazonaws.com/doc/2010-05-15/"
)
service CloudFormation {
version: "2010-05-15"
operations: [
ActivateOrganizationsAccess
ActivateType
BatchDescribeTypeConfigurations
CancelUpdateStack
ContinueUpdateRollback
CreateChangeSet
CreateStack
CreateStackInstances
CreateStackSet
DeactivateOrganizationsAccess
DeactivateType
DeleteChangeSet
DeleteStack
DeleteStackInstances
DeleteStackSet
DeregisterType
DescribeAccountLimits
DescribeChangeSet
DescribeChangeSetHooks
DescribeOrganizationsAccess
DescribePublisher
DescribeStackDriftDetectionStatus
DescribeStackEvents
DescribeStackInstance
DescribeStackResource
DescribeStackResourceDrifts
DescribeStackResources
DescribeStacks
DescribeStackSet
DescribeStackSetOperation
DescribeType
DescribeTypeRegistration
DetectStackDrift
DetectStackResourceDrift
DetectStackSetDrift
EstimateTemplateCost
ExecuteChangeSet
GetStackPolicy
GetTemplate
GetTemplateSummary
ImportStacksToStackSet
ListChangeSets
ListExports
ListImports
ListStackInstanceResourceDrifts
ListStackInstances
ListStackResources
ListStacks
ListStackSetOperationResults
ListStackSetOperations
ListStackSets
ListTypeRegistrations
ListTypes
ListTypeVersions
PublishType
RecordHandlerProgress
RegisterPublisher
RegisterType
RollbackStack
SetStackPolicy
SetTypeConfiguration
SetTypeDefaultVersion
SignalResource
StopStackSetOperation
TestType
UpdateStack
UpdateStackInstances
UpdateStackSet
UpdateTerminationProtection
ValidateTemplate
]
}
/// Activate trusted access with Organizations. With trusted access between StackSets
/// and Organizations activated, the management account has permissions to create
/// and manage StackSets for your organization.
operation ActivateOrganizationsAccess {
input := {}
output := {}
errors: [
InvalidOperationException
OperationNotFoundException
]
}
/// Activates a public third-party extension, making it available for use in stack templates. For more information,
/// see Using public
/// extensions in the CloudFormation User Guide.
/// Once you have activated a public third-party extension in your account and Region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see
/// Configuring extensions at
/// the account level in the CloudFormation User Guide.
@idempotent
operation ActivateType {
input := {
/// The extension type.
/// Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
/// PublisherId
.
Type: ThirdPartyType
/// The Amazon Resource Name (ARN) of the public extension.
/// Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
/// PublisherId
.
PublicTypeArn: ThirdPartyTypeArn
/// The ID of the extension publisher.
/// Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
/// PublisherId
.
PublisherId: PublisherId
/// The name of the extension.
/// Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
/// PublisherId
.
TypeName: TypeName
/// 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.
TypeNameAlias: TypeName
/// 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
.
AutoUpdate: AutoUpdate
/// Contains logging configuration information for an extension.
LoggingConfig: LoggingConfig
/// The name of the IAM execution role to use to activate the extension.
ExecutionRoleArn: RoleARN2
/// 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.
///
///
VersionBump: VersionBump
/// 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.
MajorVersion: MajorVersion
}
output := {
/// The Amazon Resource Name (ARN) of the activated extension, in this account and Region.
Arn: PrivateTypeArn
}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Returns configuration data for the specified CloudFormation extensions, from the CloudFormation registry for the account and Region.
/// For more information, see Configuring extensions at
/// the account level in the CloudFormation User Guide.
operation BatchDescribeTypeConfigurations {
input := {
/// The list of identifiers for the desired extension configurations.
@required
TypeConfigurationIdentifiers: TypeConfigurationIdentifiers
}
output := {
/// A list of information concerning any errors generated during the setting of the specified configurations.
Errors: BatchDescribeTypeConfigurationsErrors
/// A list of any of the specified extension configurations that CloudFormation could not process for any
/// reason.
UnprocessedTypeConfigurations: UnprocessedTypeConfigurations
/// A list of any of the specified extension configurations from the CloudFormation registry.
TypeConfigurations: TypeConfigurationDetailsList
}
errors: [
CFNRegistryException
TypeConfigurationNotFoundException
]
}
/// Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update
/// and reverts to the previous stack configuration.
///
/// You can cancel only stacks that are in the UPDATE_IN_PROGRESS
state.
///
operation CancelUpdateStack {
input :=
/// The input for the CancelUpdateStack action.
{
///
/// If you don't pass a parameter to StackName
, the API returns a response that describes
/// all resources in the account.
/// The IAM policy below can be added to
/// IAM policies when you want to limit resource-level permissions and
/// avoid returning a response when no parameter is sent in the request:
///
/// { "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action":
/// "cloudformation:DescribeStacks", "NotResource":
/// "arn:aws:cloudformation:*:*:stack/*/*" }] }
///
///
/// The name or the unique stack ID that's associated with the stack.
@required
StackName: StackName
/// 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.
ClientRequestToken: ClientRequestToken
}
output: Unit
errors: [
TokenAlreadyExistsException
]
}
/// For a specified stack that's in the UPDATE_ROLLBACK_FAILED
state, continues rolling it back to the
/// UPDATE_ROLLBACK_COMPLETE
state. Depending on the cause of the failure, you can manually fix the
/// error and continue the rollback. By continuing the rollback, you can return your stack to a working state
/// (the UPDATE_ROLLBACK_COMPLETE
state), and then try to update the stack again.
/// A stack goes into the UPDATE_ROLLBACK_FAILED
state when CloudFormation can't roll back all
/// changes after a failed stack update. For example, you might have a stack that's rolling back to an old database
/// instance that was deleted outside of CloudFormation. Because CloudFormation doesn't know the database was
/// deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update
/// rollback to fail.
operation ContinueUpdateRollback {
input :=
/// The input for the ContinueUpdateRollback action.
{
/// 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).
///
@required
StackName: StackNameOrId
/// 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. Provided that 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 permission.
/// 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's generated from your user
/// credentials.
RoleARN: RoleARN
/// 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 canceled. 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.
///
ResourcesToSkip: ResourcesToSkip
/// A unique identifier for this ContinueUpdateRollback
request. Specify this token if you plan to
/// retry requests so that CloudFormation knows 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.
ClientRequestToken: ClientRequestToken
}
output :=
/// The output for a ContinueUpdateRollback operation.
{}
errors: [
TokenAlreadyExistsException
]
}
/// Creates a list of changes that will be applied to a stack so that you can review the changes before executing
/// them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for
/// a stack that doesn't exist, the change set shows all of the resources that CloudFormation will create. If you
/// create a change set for an existing stack, CloudFormation compares the stack's information with the information
/// that you submit in the change set and lists the differences. Use change sets to understand which resources CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update
/// a stack.
/// To create a change set for a stack that doesn't exist, for the ChangeSetType
parameter, specify
/// CREATE
. To create a change set for an existing stack, specify UPDATE
for the
/// ChangeSetType
parameter. To create a change set for an import operation, specify IMPORT
/// for the ChangeSetType
parameter. After the CreateChangeSet
call successfully completes,
/// CloudFormation starts creating the change set. To check the status of the change set or to review it, use the
/// DescribeChangeSet action.
/// When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. CloudFormation doesn't make changes until you execute the change
/// set.
/// To create a change set for the entire stack hierarchy, set IncludeNestedStacks
to
/// True
.
operation CreateChangeSet {
input :=
/// The input for the CreateChangeSet action.
{
/// 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.
@required
StackName: StackNameOrId
/// 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
.
TemplateBody: TemplateBody
/// The location of the file that contains the revised template. The URL must point to a template (max size: 460,800
/// bytes) that's located in an Amazon 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
.
TemplateURL: TemplateURL
/// Whether to reuse the template that's associated with the stack to create the change set.
UsePreviousTemplate: UsePreviousTemplate
/// A list of Parameter
structures that specify input parameters for the change set. For more
/// information, see the Parameter data type.
Parameters: Parameters
/// 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 suggest that you review all permissions associated with
/// them and edit their permissions if necessary.
///
/// -
///
///
/// AWS::IAM::AccessKey
///
///
/// -
///
///
/// AWS::IAM::Group
///
///
/// -
///
/// AWS::IAM::InstanceProfile
///
///
/// -
///
///
/// AWS::IAM::Policy
///
///
/// -
///
///
/// AWS::IAM::Role
///
///
/// -
///
///
/// AWS::IAM::User
///
///
/// -
///
/// AWS::IAM::UserToGroupAddition
///
///
///
/// 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 doesn't 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 about macros, see Using CloudFormation macros to perform custom
/// processing on templates.
///
///
Capabilities: Capabilities
/// 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.
ResourceTypes: ResourceTypes
/// 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. Provided that 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 permission.
/// 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.
RoleARN: RoleARN
/// The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for
/// the specified monitoring period afterwards.
RollbackConfiguration: RollbackConfiguration
/// 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.
NotificationARNs: NotificationARNs
/// 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.
Tags: Tags
/// 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
/// alphabetical character and can't exceed 128 characters.
@required
ChangeSetName: ChangeSetName
/// 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.
ClientToken: ClientToken
/// A description to help you identify this change set.
Description: Description
/// 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.
ChangeSetType: ChangeSetType
/// The resources to import into your stack.
ResourcesToImport: ResourcesToImport
/// 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
.
IncludeNestedStacks: IncludeNestedStacks
/// Determines what action will be taken if stack creation fails. If this parameter is specified, the
/// DisableRollback
parameter to the ExecuteChangeSet API operation must not
/// be specified. This must be one of these values:
///
/// -
///
/// DELETE
- Deletes the change set if the stack creation fails. This is only valid when the
/// ChangeSetType
parameter is set to CREATE
. If the deletion of the stack fails, the status
/// of the stack is DELETE_FAILED
.
///
/// -
///
/// DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifying
/// true
for the DisableRollback
parameter to the ExecuteChangeSet API
/// operation.
///
/// -
///
/// ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifying
/// false
for the DisableRollback
parameter to the ExecuteChangeSet API
/// operation.
///
///
/// For nested stacks, when the OnStackFailure
parameter is set to DELETE
for the change
/// set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to
/// be deleted.
OnStackFailure: OnStackFailure
}
output :=
/// The output for the CreateChangeSet action.
{
/// The Amazon Resource Name (ARN) of the change set.
Id: ChangeSetId
/// The unique ID of the stack.
StackId: StackId
}
errors: [
AlreadyExistsException
InsufficientCapabilitiesException
LimitExceededException
]
}
/// Creates a stack as specified in the template. After the call completes successfully, the stack creation starts.
/// You can check the status of the stack through the DescribeStacks operation.
operation CreateStack {
input :=
/// The input for CreateStack action.
{
/// The name that's 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 can't be longer than 128 characters.
///
@required
StackName: StackName
/// 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.
TemplateBody: TemplateBody
/// Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's
/// 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.
TemplateURL: TemplateURL
/// A list of Parameter
structures that specify input parameters for the stack. For more information,
/// see the Parameter
/// data type.
Parameters: Parameters
/// 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
///
DisableRollback: DisableRollback
/// The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and
/// for the specified monitoring period afterwards.
RollbackConfiguration: RollbackConfiguration
/// 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.
TimeoutInMinutes: TimeoutMinutes
/// The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your
/// Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).
NotificationARNs: NotificationARNs
/// 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.
///
/// -
///
///
/// AWS::IAM::AccessKey
///
///
/// -
///
///
/// AWS::IAM::Group
///
///
/// -
///
/// AWS::IAM::InstanceProfile
///
///
/// -
///
///
/// AWS::IAM::Policy
///
///
/// -
///
///
/// AWS::IAM::Role
///
///
/// -
///
///
/// AWS::IAM::User
///
///
/// -
///
/// AWS::IAM::UserToGroupAddition
///
///
///
/// 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.
///
///
Capabilities: Capabilities
/// 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.
ResourceTypes: ResourceTypes
/// 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. Provided that 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's generated from your user
/// credentials.
RoleARN: RoleARN
/// 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
///
OnFailure: OnFailure
/// 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.
StackPolicyBody: StackPolicyBody
/// 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.
StackPolicyURL: StackPolicyURL
/// 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.
Tags: Tags
/// 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 initiated 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
.
ClientRequestToken: ClientRequestToken
/// 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 deactivated on stacks
/// by default.
/// For nested
/// stacks, termination protection is set on the root stack and can't be changed directly on the nested
/// stack.
EnableTerminationProtection: EnableTerminationProtection
/// When set to true
, newly created resources are deleted when the operation rolls back. This includes newly
/// created resources marked with a deletion policy of Retain
.
/// Default: false
///
RetainExceptOnCreate: RetainExceptOnCreate
}
output :=
/// The output for a CreateStack action.
{
/// Unique identifier of the stack.
StackId: StackId
}
errors: [
AlreadyExistsException
InsufficientCapabilitiesException
LimitExceededException
TokenAlreadyExistsException
]
}
/// Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack
/// instance refers to a stack in a specific account and Region. You must specify at least one value for either
/// Accounts
or DeploymentTargets
, and you must specify at least one value for
/// Regions
.
operation CreateStackInstances {
input := {
/// The name or unique ID of the stack set that you want to create stack instances from.
@required
StackSetName: StackSetName
/// [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.
Accounts: AccountList
/// [Service-managed permissions] The Organizations accounts for which to create stack instances in the
/// specified Amazon Web Services Regions.
/// You can specify Accounts
or DeploymentTargets
, but not both.
DeploymentTargets: DeploymentTargets
/// The names of one or more Amazon Web Services Regions where you want to create stack instances using the specified
/// Amazon Web Services accounts.
@required
Regions: RegionList
/// 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 Amazon Web Services 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 can't 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
/// don't include the parameter in the list.
///
/// -
///
To leave all parameters set to their present values, don't specify this property at all.
///
///
/// During stack set updates, any parameter values overridden for a stack instance aren't 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.
ParameterOverrides: Parameters
/// Preferences for how CloudFormation performs this stack set operation.
OperationPreferences: StackSetOperationPreferences
/// 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
.
@idempotencyToken
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {
/// The unique identifier for this stack set operation.
OperationId: ClientRequestToken
}
errors: [
InvalidOperationException
LimitExceededException
OperationIdAlreadyExistsException
OperationInProgressException
StackSetNotFoundException
StaleRequestException
]
}
/// Creates a stack set.
operation CreateStackSet {
input := {
/// 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.
///
@required
StackSetName: StackSetName
/// A description of the stack set. You can use the description to identify the stack set's purpose or other
/// important information.
Description: Description
/// 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.
TemplateBody: TemplateBody
/// 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.
TemplateURL: TemplateURL
/// The stack ID you are importing into a new stack set. Specify the Amazon Resource Name (ARN) of the stack.
StackId: StackId
/// The input parameters for the stack set template.
Parameters: Parameters
/// 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.
///
/// -
///
///
/// AWS::IAM::AccessKey
///
///
/// -
///
///
/// AWS::IAM::Group
///
///
/// -
///
/// AWS::IAM::InstanceProfile
///
///
/// -
///
///
/// AWS::IAM::Policy
///
///
/// -
///
///
/// AWS::IAM::Role
///
///
/// -
///
///
/// AWS::IAM::User
///
///
/// -
///
/// AWS::IAM::UserToGroupAddition
///
///
///
/// 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 don't 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.
///
///
///
Capabilities: Capabilities
/// 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.
Tags: Tags
/// The Amazon Resource Name (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.
AdministrationRoleARN: RoleARN
/// 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.
ExecutionRoleName: ExecutionRoleName
/// Describes how the IAM roles required for stack set operations are created. By default,
/// SELF-MANAGED
is specified.
///
/// -
///
With self-managed
permissions, you must create the administrator and execution roles required to
/// deploy to target accounts. For more information, see Grant Self-Managed Stack Set
/// Permissions.
///
/// -
///
With service-managed
permissions, StackSets automatically creates the IAM roles
/// required to deploy to accounts managed by Organizations. For more information, see Grant
/// Service-Managed Stack Set Permissions.
///
///
PermissionModel: PermissionModels
/// 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
.
AutoDeployment: AutoDeployment
/// [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.
CallAs: CallAs
/// 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.
@idempotencyToken
ClientRequestToken: ClientRequestToken
/// Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting
/// operations.
ManagedExecution: ManagedExecution
}
output := {
/// The ID of the stack set that you're creating.
StackSetId: StackSetId
}
errors: [
CreatedButModifiedException
LimitExceededException
NameAlreadyExistsException
]
}
/// Deactivates trusted access with Organizations. If trusted access is deactivated,
/// the management account does not have permissions to create and manage
/// service-managed StackSets for your organization.
operation DeactivateOrganizationsAccess {
input := {}
output := {}
errors: [
InvalidOperationException
OperationNotFoundException
]
}
/// Deactivates a public extension that was previously activated in this account and Region.
/// Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack
/// update operations where the stack template includes the extension, even if no updates are being made to the
/// extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is
/// released.
@idempotent
operation DeactivateType {
input := {
/// 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
.
TypeName: TypeName
/// The extension type.
/// Conditional: You must specify either Arn
, or TypeName
and Type
.
Type: ThirdPartyType
/// The Amazon Resource Name (ARN) for the extension, in this account and Region.
/// Conditional: You must specify either Arn
, or TypeName
and Type
.
Arn: PrivateTypeArn
}
output := {}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.
/// If the call successfully completes, CloudFormation successfully deleted the change set.
/// If IncludeNestedStacks
specifies True
during the creation of the nested change set,
/// then DeleteChangeSet
will delete all change sets that belong to the stacks hierarchy and will also
/// delete all change sets for nested stacks with the status of REVIEW_IN_PROGRESS
.
operation DeleteChangeSet {
input :=
/// The input for the DeleteChangeSet action.
{
/// The name or Amazon Resource Name (ARN) of the change set that you want to delete.
@required
ChangeSetName: ChangeSetNameOrId
/// If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's
/// associated with it.
StackName: StackNameOrId
}
output :=
/// The output for the DeleteChangeSet action.
{}
errors: [
InvalidChangeSetStatusException
]
}
/// Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks don't
/// show up in the DescribeStacks operation if the deletion has been completed successfully.
operation DeleteStack {
input :=
/// The input for DeleteStack action.
{
/// The name or the unique stack ID that's associated with the stack.
@required
StackName: StackName
/// 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 doesn't delete the
/// retained resources.
/// Retaining resources is useful when you can't delete a resource, such as a non-empty S3 bucket, but you want to
/// delete the stack.
RetainResources: RetainResources
/// 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's generated from your user
/// credentials.
RoleARN: RoleARN
/// 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 initiated 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
.
ClientRequestToken: ClientRequestToken
}
output: Unit
errors: [
TokenAlreadyExistsException
]
}
/// Deletes stack instances for the specified accounts, in the specified Amazon Web Services Regions.
operation DeleteStackInstances {
input := {
/// The name or unique ID of the stack set that you want to delete stack instances for.
@required
StackSetName: StackSetName
/// [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.
Accounts: AccountList
/// [Service-managed permissions] The Organizations accounts from which to delete stack instances.
/// You can specify Accounts
or DeploymentTargets
, but not both.
DeploymentTargets: DeploymentTargets
/// The Amazon Web Services Regions where you want to delete stack set instances.
@required
Regions: RegionList
/// Preferences for how CloudFormation performs this stack set operation.
OperationPreferences: StackSetOperationPreferences
/// 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.
@required
RetainStacks: RetainStacks = false
/// 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
.
@idempotencyToken
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {
/// The unique identifier for this stack set operation.
OperationId: ClientRequestToken
}
errors: [
InvalidOperationException
OperationIdAlreadyExistsException
OperationInProgressException
StackSetNotFoundException
StaleRequestException
]
}
/// Deletes a stack set. Before you can delete a stack set, all its member stack instances must be deleted. For more
/// information about how to complete this, see DeleteStackInstances.
operation DeleteStackSet {
input := {
/// The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.
@required
StackSetName: StackSetName
/// [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.
///
///
CallAs: CallAs
}
output := {}
errors: [
OperationInProgressException
StackSetNotEmptyException
]
}
/// Marks an extension or extension version as DEPRECATED
in the CloudFormation registry,
/// removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation
/// operations.
/// To deregister an entire extension, you must individually deregister all active versions of that extension. If an
/// extension has only a single active version, deregistering that version results in the extension itself being
/// deregistered and marked as deprecated in the registry.
/// You can't deregister the default version of an extension if there are other active version of that extension. If
/// you do deregister the default version of an extension, the extension type itself is deregistered as well and marked
/// as deprecated.
/// To view the deprecation status of an extension or extension version, use DescribeType.
@idempotent
operation DeregisterType {
input := {
/// The Amazon Resource Name (ARN) of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Arn: PrivateTypeArn
/// The kind of extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Type: RegistryType
/// The name of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
TypeName: TypeName
/// 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.
VersionId: TypeVersionId
}
output := {}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in
/// your account. For more information about account limits, see CloudFormation Quotas in the
/// CloudFormation User Guide.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "AccountLimits"
)
operation DescribeAccountLimits {
input :=
/// The input for the DescribeAccountLimits action.
{
/// A string that identifies the next page of limits that you want to retrieve.
NextToken: NextToken
}
output :=
/// The output for the DescribeAccountLimits action.
{
/// An account limit structure that contain a list of CloudFormation account limits and their values.
AccountLimits: AccountLimitList
/// 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.
NextToken: NextToken
}
}
/// Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the
/// change set. For more information, see Updating Stacks Using Change
/// Sets in the CloudFormation User Guide.
@suppress([
"WaitableTraitInvalidErrorType"
])
@waitable(
ChangeSetCreateComplete: {
documentation: "Wait until change set status is CREATE_COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "Status"
expected: "CREATE_COMPLETE"
comparator: "stringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Status"
expected: "FAILED"
comparator: "stringEquals"
}
}
}
{
state: "failure"
matcher: {
errorType: "ValidationError"
}
}
]
minDelay: 30
}
)
operation DescribeChangeSet {
input :=
/// The input for the DescribeChangeSet action.
{
/// The name or Amazon Resource Name (ARN) of the change set that you want to describe.
@required
ChangeSetName: ChangeSetNameOrId
/// If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to
/// describe.
StackName: StackNameOrId
/// A string (provided by the DescribeChangeSet response output) that identifies the next page of
/// information that you want to retrieve.
NextToken: NextToken
}
output :=
/// The output for the DescribeChangeSet action.
{
/// The name of the change set.
ChangeSetName: ChangeSetName
/// The Amazon Resource Name (ARN) of the change set.
ChangeSetId: ChangeSetId
/// The Amazon Resource Name (ARN) of the stack that's associated with the change set.
StackId: StackId
/// The name of the stack that's associated with the change set.
StackName: StackName
/// Information about the change set.
Description: Description
/// 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.
Parameters: Parameters
/// The start time when the change set was created, in UTC.
CreationTime: CreationTime
/// 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.
ExecutionStatus: ExecutionStatus
/// The current status of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
, or
/// FAILED
.
Status: ChangeSetStatus
/// A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
StatusReason: ChangeSetStatusReason
/// The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you
/// execute the change set.
NotificationARNs: NotificationARNs
/// The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for
/// the specified monitoring period afterwards.
RollbackConfiguration: RollbackConfiguration
/// If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set
/// was created.
Capabilities: Capabilities
/// If you execute the change set, the tags that will be associated with the stack.
Tags: Tags
/// A list of Change
structures that describes the resources CloudFormation changes if you execute
/// the change set.
Changes: Changes
/// 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.
NextToken: NextToken
/// Verifies if IncludeNestedStacks
is set to True
.
IncludeNestedStacks: IncludeNestedStacks
/// Specifies the change set ID of the parent change set in the current nested change set hierarchy.
ParentChangeSetId: ChangeSetId
/// Specifies the change set ID of the root change set in the current nested change set hierarchy.
RootChangeSetId: ChangeSetId
/// Determines what action will be taken if stack creation fails. When this parameter is specified, the
/// DisableRollback
parameter to the ExecuteChangeSet API operation must not
/// be specified. This must be one of these values:
///
/// -
///
/// DELETE
- Deletes the change set if the stack creation fails. This is only valid when the
/// ChangeSetType
parameter is set to CREATE
. If the deletion of the stack fails, the status
/// of the stack is DELETE_FAILED
.
///
/// -
///
/// DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifying
/// true
for the DisableRollback
parameter to the ExecuteChangeSet API
/// operation.
///
/// -
///
/// ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifying
/// false
for the DisableRollback
parameter to the ExecuteChangeSet API
/// operation.
///
///
OnStackFailure: OnStackFailure
}
errors: [
ChangeSetNotFoundException
]
}
/// Returns hook-related information for the change set and a list of changes that CloudFormation makes when you
/// run the change set.
operation DescribeChangeSetHooks {
input := {
/// The name or Amazon Resource Name (ARN) of the change set that you want to describe.
@required
ChangeSetName: ChangeSetNameOrId
/// If you specified the name of a change set, specify the stack name or stack ID (ARN) of the change set you want
/// to describe.
StackName: StackNameOrId
/// A string, provided by the DescribeChangeSetHooks
response output, that identifies the next page of
/// information that you want to retrieve.
NextToken: NextToken
/// If specified, lists only the hooks related to the specified LogicalResourceId
.
LogicalResourceId: LogicalResourceId
}
output := {
/// The change set identifier (stack ID).
ChangeSetId: ChangeSetId
/// The change set name.
ChangeSetName: ChangeSetName
/// List of hook objects.
Hooks: ChangeSetHooks
/// Provides the status of the change set hook.
Status: ChangeSetHooksStatus
/// Pagination token, null
or empty if no more results.
NextToken: NextToken
/// The stack identifier (stack ID).
StackId: StackId
/// The stack name.
StackName: StackName
}
errors: [
ChangeSetNotFoundException
]
}
/// Retrieves information about the account's OrganizationAccess
status. This API
/// can be called either by the management account or the delegated administrator by using the
/// CallAs
parameter. This API can also be called without the CallAs
/// parameter by the management account.
operation DescribeOrganizationsAccess {
input := {
/// [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.
///
/// -
///
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.
///
///
CallAs: CallAs
}
output := {
/// Presents the status of the OrganizationAccess
.
Status: OrganizationStatus
}
errors: [
InvalidOperationException
OperationNotFoundException
]
}
/// Returns information about a CloudFormation extension publisher.
/// If you don't supply a PublisherId
, and you have registered as an extension publisher,
/// DescribePublisher
returns information about your own publisher account.
/// For more information about registering as a publisher, see:
///
/// -
///
/// RegisterPublisher
///
///
/// -
///
/// Publishing
/// extensions to make them available for public use in the CloudFormation CLI User
/// Guide
///
///
///
@idempotent
operation DescribePublisher {
input := {
/// The ID of the extension publisher.
/// If you don't supply a PublisherId
, and you have registered as an extension publisher,
/// DescribePublisher
returns information about your own publisher account.
PublisherId: PublisherId
}
output := {
/// The ID of the extension publisher.
PublisherId: PublisherId
/// Whether the publisher is verified. Currently, all registered publishers are verified.
PublisherStatus: PublisherStatus
/// The type of account used as the identity provider when registering this publisher with CloudFormation.
IdentityProvider: IdentityProvider
/// The URL to the publisher's profile with the identity provider.
PublisherProfile: PublisherProfile
}
errors: [
CFNRegistryException
]
}
/// Returns information about a stack drift detection operation. A stack drift detection operation detects whether a
/// stack's actual configuration differs, or has drifted, from its expected configuration, as
/// defined in the stack template and any values specified as template parameters. A stack is considered to have drifted
/// if one or more of its resources have drifted. For more information about stack and resource drift, see Detecting Unregulated
/// Configuration Changes to Stacks and Resources.
/// Use DetectStackDrift to initiate a stack drift detection operation.
/// DetectStackDrift
returns a StackDriftDetectionId
you can use to monitor the progress of
/// the operation using DescribeStackDriftDetectionStatus
. Once the drift detection operation has completed,
/// use DescribeStackResourceDrifts to return drift information about the stack and its
/// resources.
operation DescribeStackDriftDetectionStatus {
input := {
/// 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.
@required
StackDriftDetectionId: StackDriftDetectionId
}
output := {
/// The ID of the stack.
@required
StackId: StackId
/// 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.
@required
StackDriftDetectionId: StackDriftDetectionId
/// 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 hasn't 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.
///
///
StackDriftStatus: StackDriftStatus
/// 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 don't 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.
///
///
@required
DetectionStatus: StackDriftDetectionStatus
/// The reason the stack drift detection operation has its current status.
DetectionStatusReason: StackDriftDetectionStatusReason
/// 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
.
DriftedStackResourceCount: BoxedInteger
/// Time at which the stack drift detection operation was initiated.
@required
Timestamp: Timestamp
}
}
/// Returns all stack related events for a specified stack in reverse chronological order. For more information
/// about a stack's event history, go to Stacks in the CloudFormation User Guide.
///
/// You can list events for stacks that have failed to create or have been deleted by specifying the unique stack
/// identifier (stack ID).
///
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "StackEvents"
)
operation DescribeStackEvents {
input :=
/// The input for DescribeStackEvents action.
{
/// The name or the unique stack ID that's associated with the stack, which aren't 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.
StackName: StackName
/// A string that identifies the next page of events that you want to retrieve.
NextToken: NextToken
}
output :=
/// The output for a DescribeStackEvents action.
{
/// A list of StackEvents
structures.
StackEvents: StackEvents
/// 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.
NextToken: NextToken
}
}
/// Returns the stack instance that's associated with the specified StackSet, Amazon Web Services account, and
/// Amazon Web Services Region.
/// For a list of stack instances that are associated with a specific StackSet, use ListStackInstances.
operation DescribeStackInstance {
input := {
/// The name or the unique stack ID of the stack set that you want to get stack instance information for.
@required
StackSetName: StackSetName
/// The ID of an Amazon Web Services account that's associated with this stack instance.
@required
StackInstanceAccount: Account
/// The name of a Region that's associated with this stack instance.
@required
StackInstanceRegion: Region
/// [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.
///
///
CallAs: CallAs
}
output := {
/// The stack instance that matches the specified request parameters.
StackInstance: StackInstance
}
errors: [
StackInstanceNotFoundException
StackSetNotFoundException
]
}
/// Returns a description of the specified resource in the specified stack.
/// For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has
/// been deleted.
operation DescribeStackResource {
input :=
/// The input for DescribeStackResource action.
{
/// The name or the unique stack ID that's associated with the stack, which aren't 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
StackName: StackName
/// The logical name of the resource as specified in the template.
/// Default: There is no default value.
@required
LogicalResourceId: LogicalResourceId
}
output :=
/// The output for a DescribeStackResource action.
{
/// A StackResourceDetail
structure containing the description of the specified resource in the
/// specified stack.
StackResourceDetail: StackResourceDetail
}
}
/// Returns 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 configuration drift.
/// For a given stack, there will be one StackResourceDrift
for each stack resource that has been
/// checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently
/// support drift detection aren't checked, and so not included. For a list of resources that support drift detection,
/// see Resources that Support Drift Detection.
/// Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
pageSize: "MaxResults"
)
operation DescribeStackResourceDrifts {
input := {
/// The name of the stack for which you want drift information.
@required
StackName: StackNameOrId
/// 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 resource's actual configuration matches its expected template configuration.
///
/// -
///
/// NOT_CHECKED
: CloudFormation doesn't currently return this value.
///
///
StackResourceDriftStatusFilters: StackResourceDriftStatusFilters
/// A string that identifies the next page of stack resource drift results.
NextToken: NextToken
/// 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.
MaxResults: BoxedMaxResults
}
output := {
/// 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 haven't yet been checked for drift aren't included. Resources that do not currently
/// support drift detection aren't checked, and so not included. For a list of resources that support drift detection,
/// see Resources that Support Drift Detection.
@required
StackResourceDrifts: StackResourceDrifts
/// If the request doesn't return all 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
.
NextToken: NextToken
}
}
/// Returns Amazon Web Services resource descriptions for running and deleted stacks. If StackName
is
/// specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId
/// is specified, the associated resources of the stack that the resource belongs to are returned.
///
/// Only the first 100 resources will be returned. If your stack has more resources than this, you should use
/// ListStackResources
instead.
///
/// For deleted stacks, DescribeStackResources
returns resource information for up to 90 days after the
/// stack has been deleted.
/// You must specify either StackName
or PhysicalResourceId
, but not both. In addition,
/// you can specify LogicalResourceId
to filter the returned result. For more information about resources,
/// the LogicalResourceId
and PhysicalResourceId
, go to the CloudFormation User Guide.
///
/// A ValidationError
is returned if you specify both StackName
and
/// PhysicalResourceId
in the same request.
///
operation DescribeStackResources {
input :=
/// The input for DescribeStackResources action.
{
/// The name or the unique stack ID that is associated with the stack, which aren't 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 don't specify StackName
, you must specify
/// PhysicalResourceId
.
StackName: StackName
/// The logical name of the resource as specified in the template.
/// Default: There is no default value.
LogicalResourceId: LogicalResourceId
/// 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 don't specify PhysicalResourceId
, you must specify
/// StackName
.
/// Default: There is no default value.
PhysicalResourceId: PhysicalResourceId
}
output :=
/// The output for a DescribeStackResources action.
{
/// A list of StackResource
structures.
StackResources: StackResources
}
}
/// Returns the description for the specified stack; if no stack name was specified, then it returns the description
/// for all the stacks created.
///
/// If the stack doesn't exist, an ValidationError
is returned.
///
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Stacks"
)
@suppress([
"WaitableTraitInvalidErrorType"
])
@waitable(
StackCreateComplete: {
documentation: "Wait until stack status is CREATE_COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "CREATE_COMPLETE"
comparator: "allStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "CREATE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "DELETE_COMPLETE"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "DELETE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "ROLLBACK_COMPLETE"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
errorType: "ValidationError"
}
}
]
minDelay: 30
}
StackDeleteComplete: {
documentation: "Wait until stack status is DELETE_COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "DELETE_COMPLETE"
comparator: "allStringEquals"
}
}
}
{
state: "success"
matcher: {
errorType: "ValidationError"
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "DELETE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "CREATE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_IN_PROGRESS"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_COMPLETE"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_COMPLETE"
comparator: "anyStringEquals"
}
}
}
]
minDelay: 30
}
StackExists: {
acceptors: [
{
state: "success"
matcher: {
success: true
}
}
{
state: "retry"
matcher: {
errorType: "ValidationError"
}
}
]
minDelay: 5
}
StackImportComplete: {
documentation: "Wait until stack status is IMPORT_COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "IMPORT_COMPLETE"
comparator: "allStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "ROLLBACK_COMPLETE"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "IMPORT_ROLLBACK_IN_PROGRESS"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "IMPORT_ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "IMPORT_ROLLBACK_COMPLETE"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
errorType: "ValidationError"
}
}
]
minDelay: 30
}
StackRollbackComplete: {
documentation: "Wait until stack status is UPDATE_ROLLBACK_COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_COMPLETE"
comparator: "allStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "DELETE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
errorType: "ValidationError"
}
}
]
minDelay: 30
}
StackUpdateComplete: {
documentation: "Wait until stack status is UPDATE_COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_COMPLETE"
comparator: "allStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_FAILED"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "Stacks[].StackStatus"
expected: "UPDATE_ROLLBACK_COMPLETE"
comparator: "anyStringEquals"
}
}
}
{
state: "failure"
matcher: {
errorType: "ValidationError"
}
}
]
minDelay: 30
}
)
operation DescribeStacks {
input :=
/// The input for DescribeStacks action.
{
///
/// If you don't pass a parameter to StackName
, the API returns a response that describes all
/// resources in the account, which can impact performance. This requires ListStacks
and DescribeStacks
permissions.
/// Consider using the ListStacks API if you're not passing a parameter to StackName
.
/// The IAM policy below can be added to IAM policies when you want to limit
/// resource-level permissions and avoid returning a response when no parameter is sent in the request:
/// { "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks",
/// "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }
///
/// The name or the unique stack ID that's associated with the stack, which aren't 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.
StackName: StackName
/// A string that identifies the next page of stacks that you want to retrieve.
NextToken: NextToken
}
output :=
/// The output for a DescribeStacks action.
{
/// A list of stack structures.
Stacks: Stacks
/// 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.
NextToken: NextToken
}
}
/// Returns the description of the specified StackSet.
operation DescribeStackSet {
input := {
/// The name or unique ID of the stack set whose description you want.
@required
StackSetName: StackSetName
/// [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.
///
///
CallAs: CallAs
}
output := {
/// The specified stack set.
StackSet: StackSet
}
errors: [
StackSetNotFoundException
]
}
/// Returns the description of the specified StackSet operation.
operation DescribeStackSetOperation {
input := {
/// The name or the unique stack ID of the stack set for the stack operation.
@required
StackSetName: StackSetName
/// The unique ID of the stack set operation.
@required
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {
/// The specified stack set operation.
StackSetOperation: StackSetOperation
}
errors: [
OperationNotFoundException
StackSetNotFoundException
]
}
/// Returns detailed information about an extension that has been registered.
/// If you specify a VersionId
, DescribeType
returns information about that specific
/// extension version. Otherwise, it returns information about the default extension version.
@idempotent
operation DescribeType {
input := {
/// The kind of extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Type: RegistryType
/// The name of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
TypeName: TypeName
/// The Amazon Resource Name (ARN) of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Arn: TypeArn
/// 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.
VersionId: TypeVersionId
/// The publisher ID of the extension publisher.
/// Extensions provided by Amazon Web Services are not assigned a publisher ID.
PublisherId: PublisherId
/// The version number of a public third-party extension.
PublicVersionNumber: PublicVersionNumber
}
output := {
/// The Amazon Resource Name (ARN) of the extension.
Arn: TypeArn
/// The kind of extension.
Type: RegistryType
/// 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.
TypeName: TypeName
/// The ID of the default version of the extension. The default version is used when the extension version isn't
/// specified.
/// This applies only to private extensions you have registered in your account. For public extensions, both those
/// provided by Amazon Web Services and published by third parties, CloudFormation returns null
. For
/// more information, see RegisterType.
/// To set the default version of an extension, use SetTypeDefaultVersion.
DefaultVersionId: TypeVersionId
/// 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 Web Services. For public third-party extensions, whether they are activated in your account, CloudFormation
/// returns null
.
IsDefaultVersion: IsDefaultVersion
/// The contract test status of the registered extension version. To return the extension test status of a specific
/// extension version, you must specify VersionId
.
/// This applies only to registered private extension versions. CloudFormation doesn't return this
/// information for public extensions, whether 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 haven't been performed on the extension.
///
///
TypeTestsStatus: TypeTestsStatus
/// The description of the test status. To return the extension test status of a specific extension version, you
/// must specify VersionId
.
/// This applies only to registered private extension versions. CloudFormation doesn't return this
/// information for public extensions, whether they are activated in your account.
TypeTestsStatusDescription: TypeTestsStatusDescription
/// The description of the extension.
Description: Description
/// The schema that defines the extension.
/// For more information about extension schemas, see Resource Provider Schema in the
/// CloudFormation CLI User Guide.
Schema: TypeSchema
/// 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 doesn't include an update handler, so the type can't be updated and
/// must instead be replaced during stack update operations.
///
/// -
///
/// NON_PROVISIONABLE
: The resource type doesn't include all the following handlers, and therefore
/// can't actually be provisioned.
///
/// -
///
create
///
/// -
///
read
///
/// -
///
delete
///
///
///
///
ProvisioningType: ProvisioningType
/// 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
.
DeprecatedStatus: DeprecatedStatus
/// 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 Web Services and published by
/// third parties, CloudFormation returns null
. For more information, see RegisterType.
LoggingConfig: LoggingConfig
/// 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.
RequiredActivatedTypes: RequiredActivatedTypes
/// 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
/// 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.
ExecutionRoleArn: RoleARN2
/// 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 publicly visible and usable within any Amazon Web Services
/// account.
///
///
Visibility: Visibility
/// The URL of the source code for the extension.
SourceUrl: OptionalSecureUrl
/// The URL of a page providing detailed documentation for this extension.
DocumentationUrl: OptionalSecureUrl
/// 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.
///
///
LastUpdated: Timestamp
/// When the specified private extension version was registered or activated in your account.
TimeCreated: Timestamp
/// 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.
ConfigurationSchema: ConfigurationSchema
/// The publisher ID of the extension publisher.
/// This applies only to public third-party extensions. For private registered extensions, and extensions provided
/// by Amazon Web Services, CloudFormation returns null
.
PublisherId: PublisherId
/// 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.
OriginalTypeName: TypeName
/// For public extensions that have been activated for this account and Region, the Amazon Resource Name (ARN) of
/// the public extension.
OriginalTypeArn: TypeArn
/// 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
.
PublicVersionNumber: PublicVersionNumber
/// The latest version of a public extension that is available for use.
/// This only applies if you specify a public extension, and you don't specify a version. For all other requests,
/// CloudFormation returns null
.
LatestPublicVersion: PublicVersionNumber
/// Whether the extension is activated in the account and Region.
/// This only applies to public third-party extensions. For all other extensions, CloudFormation returns
/// null
.
IsActivated: IsActivated
/// 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.
AutoUpdate: AutoUpdate
}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Returns information about an extension's registration, including its current status and type and version
/// identifiers.
/// When you initiate a registration request using RegisterType, you can then use DescribeTypeRegistration to monitor the progress of that registration request.
/// Once the registration request has completed, use DescribeType to return detailed information
/// about an extension.
@idempotent
@waitable(
TypeRegistrationComplete: {
documentation: "Wait until type registration is COMPLETE."
acceptors: [
{
state: "success"
matcher: {
output: {
path: "ProgressStatus"
expected: "COMPLETE"
comparator: "stringEquals"
}
}
}
{
state: "failure"
matcher: {
output: {
path: "ProgressStatus"
expected: "FAILED"
comparator: "stringEquals"
}
}
}
]
minDelay: 30
}
)
operation DescribeTypeRegistration {
input := {
/// The identifier for this registration request.
/// This registration token is generated by CloudFormation when you initiate a registration request using
/// RegisterType.
@required
RegistrationToken: RegistrationToken
}
output := {
/// The current status of the extension registration request.
ProgressStatus: RegistrationStatus
/// The description of the extension registration request.
Description: Description
/// The Amazon Resource Name (ARN) of the extension being registered.
/// For registration requests with a ProgressStatus
of other than COMPLETE
, this will be
/// null
.
TypeArn: TypeArn
/// 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
.
TypeVersionArn: TypeArn
}
errors: [
CFNRegistryException
]
}
/// Detects whether a stack'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 each resource in
/// the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected
/// template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A
/// stack is considered to have drifted if one or more of its resources differ from their expected template
/// configurations. For more information, see Detecting Unregulated Configuration Changes to
/// Stacks and Resources.
/// Use DetectStackDrift
to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources.
/// For a list of stack resources that currently support drift detection, see Resources that Support Drift
/// Detection.
///
/// DetectStackDrift
can take up to several minutes, depending on the number of resources contained
/// within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack
/// drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts
/// to return drift information about the stack and its resources.
/// When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack.
/// Perform DetectStackDrift
directly on the nested stack itself.
operation DetectStackDrift {
input := {
/// The name of the stack for which you want to detect drift.
@required
StackName: StackNameOrId
/// The logical names of any resources you want to use as filters.
LogicalResourceIds: LogicalResourceIds
}
output := {
/// 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.
@required
StackDriftDetectionId: StackDriftDetectionId
}
}
/// Returns information about whether a 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. This information includes actual and expected property values for resources in
/// which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift.
/// For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to
/// Stacks and Resources.
/// Use DetectStackResourceDrift
to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.
/// Resources that don't currently support drift detection can't be checked. For a list of resources that support
/// drift detection, see Resources that Support Drift
/// Detection.
operation DetectStackResourceDrift {
input := {
/// The name of the stack to which the resource belongs.
@required
StackName: StackNameOrId
/// The logical name of the resource for which to return drift information.
@required
LogicalResourceId: LogicalResourceId
}
output := {
/// 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.
@required
StackResourceDrift: StackResourceDrift
}
}
/// Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs
/// drift detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation
/// performs drift detection on a stack set.
///
/// DetectStackSetDrift
returns the OperationId
of the stack set drift detection
/// operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the
/// drift detection operation. The drift detection operation may take some time, depending on the number of stack
/// instances included in the stack set, in addition to the number of resources included in each stack.
/// Once the operation has completed, use the following actions to return drift information:
///
/// -
///
Use DescribeStackSet to return detailed information about the stack set, including detailed
/// information about the last completed drift operation performed on the stack set. (Information
/// about drift operations that are in progress isn't included.)
///
/// -
///
Use ListStackInstances to return a list of stack instances belonging to the stack set,
/// including the drift status and last drift time checked of each instance.
///
/// -
///
Use DescribeStackInstance to return detailed information about a specific stack instance,
/// including its drift status and last drift time checked.
///
///
/// For more information about performing a drift detection operation on a stack set, see Detecting unmanaged changes in
/// stack sets.
/// You can only run a single drift detection operation on a given stack set at one time.
/// To stop a drift detection stack set operation, use StopStackSetOperation.
operation DetectStackSetDrift {
input := {
/// The name of the stack set on which to perform the drift detection operation.
@required
StackSetName: StackSetNameOrId
/// The user-specified preferences for how CloudFormation performs a stack set operation.
/// For more information about maximum concurrent accounts and failure tolerance, see Stack set operation
/// options.
OperationPreferences: StackSetOperationPreferences
///
/// The ID of the stack set operation.
///
@idempotencyToken
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {
/// 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.
OperationId: ClientRequestToken
}
errors: [
InvalidOperationException
OperationInProgressException
StackSetNotFoundException
]
}
/// Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple Monthly
/// Calculator URL with a query string that describes the resources required to run the template.
operation EstimateTemplateCost {
input :=
/// The input for an EstimateTemplateCost action.
{
/// 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.
TemplateBody: TemplateBody
/// Location of file containing the template body. The URL must point to a template that's 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.
TemplateURL: TemplateURL
/// A list of Parameter
structures that specify input parameters.
Parameters: Parameters
}
output :=
/// The output for a EstimateTemplateCost action.
{
/// An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to
/// run the template.
Url: Url
}
}
/// Updates a stack using the input information that was provided when the specified change set was created. After
/// the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.
/// When you execute a change set, CloudFormation deletes all other change sets associated with the stack
/// because they aren't valid for the updated stack.
/// If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You
/// can't specify a temporary stack policy that overrides the current policy.
/// To create a change set for the entire stack hierarchy, IncludeNestedStacks
must have been set to
/// True
.
operation ExecuteChangeSet {
input :=
/// The input for the ExecuteChangeSet action.
{
/// The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
@required
ChangeSetName: ChangeSetNameOrId
/// If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's
/// associated with the change set you want to execute.
StackName: StackNameOrId
/// 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.
ClientRequestToken: ClientRequestToken
/// Preserves the state of previously provisioned resources when an operation
/// fails. This parameter can't be specified when
/// the OnStackFailure
parameter to the CreateChangeSet API operation was
/// specified.
///
/// -
///
/// True
- if the stack creation fails, do nothing. This is equivalent to specifying
/// DO_NOTHING
for the OnStackFailure
parameter to the CreateChangeSet API operation.
///
/// -
///
/// False
- if the stack creation fails, roll back the stack. This is equivalent to specifying
/// ROLLBACK
for the OnStackFailure
parameter to the CreateChangeSet API operation.
///
///
/// Default: True
///
DisableRollback: DisableRollback
/// When set to true
, newly created resources are deleted when the operation rolls back. This includes newly
/// created resources marked with a deletion policy of Retain
.
/// Default: false
///
RetainExceptOnCreate: RetainExceptOnCreate
}
output :=
/// The output for the ExecuteChangeSet action.
{}
errors: [
ChangeSetNotFoundException
InsufficientCapabilitiesException
InvalidChangeSetStatusException
TokenAlreadyExistsException
]
}
/// Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is
/// returned.
operation GetStackPolicy {
input :=
/// The input for the GetStackPolicy action.
{
/// The name or unique stack ID that's associated with the stack whose policy you want to get.
@required
StackName: StackName
}
output :=
/// The output for the GetStackPolicy action.
{
/// Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in
/// the CloudFormation User Guide.)
StackPolicyBody: StackPolicyBody
}
}
/// Returns the template body for a specified stack. You can get the template for running or deleted stacks.
/// For deleted stacks, GetTemplate
returns the template for up to 90 days after the stack has been
/// deleted.
///
/// If the template doesn't exist, a ValidationError
is returned.
///
operation GetTemplate {
input :=
/// The input for a GetTemplate action.
{
/// The name or the unique stack ID that's associated with the stack, which aren't 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.
StackName: StackName
/// 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
.
ChangeSetName: ChangeSetNameOrId
/// 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
.
TemplateStage: TemplateStage
}
output :=
/// The output for GetTemplate action.
{
/// 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.
TemplateBody: TemplateBody
/// 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.
StagesAvailable: StageList
}
errors: [
ChangeSetNotFoundException
]
}
/// Returns information about a new or existing template. The GetTemplateSummary
action is useful for
/// viewing parameter information, such as default parameter values and parameter types, before you create or update a
/// stack or stack set.
/// You can use the GetTemplateSummary
action when you submit a template, or you can get template
/// information for a stack set, or a running or deleted stack.
/// For deleted stacks, GetTemplateSummary
returns the template information for up to 90 days after the
/// stack has been deleted. If the template doesn't exist, a ValidationError
is returned.
operation GetTemplateSummary {
input :=
/// The input for the GetTemplateSummary action.
{
/// 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
.
TemplateBody: TemplateBody
/// Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's
/// 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
.
TemplateURL: TemplateURL
/// The name or the stack ID that's associated with the stack, which aren't 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
.
StackName: StackNameOrId
/// 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
.
StackSetName: StackSetNameOrId
/// [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.
///
///
CallAs: CallAs
/// Specifies options for the GetTemplateSummary
API action.
TemplateSummaryConfig: TemplateSummaryConfig
}
output :=
/// The output for the GetTemplateSummary action.
{
/// A list of parameter declarations that describe various properties for each parameter.
Parameters: ParameterDeclarations
/// The value that's defined in the Description
property of the template.
Description: Description
/// 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.
Capabilities: Capabilities
/// The list of resources that generated the values in the Capabilities
response element.
CapabilitiesReason: CapabilitiesReason
/// 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
.
ResourceTypes: ResourceTypes
/// The Amazon Web Services template format version, which identifies the capabilities of the template.
Version: Version
/// The value that's defined for the Metadata
property of the template.
Metadata: Metadata
/// A list of the transforms that are declared in the template.
DeclaredTransforms: TransformsList
/// 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.
ResourceIdentifierSummaries: ResourceIdentifierSummaries
/// An object containing any warnings returned.
Warnings: Warnings
}
errors: [
StackSetNotFoundException
]
}
/// Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a
/// new stack set in the same account as the source stack or in a different administrator account and Region, by
/// specifying the stack ID of the stack you intend to import.
operation ImportStacksToStackSet {
input := {
/// The name of the stack set. The name must be unique in the Region where you create your stack set.
@required
StackSetName: StackSetNameOrId
/// The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a
/// time.
/// Specify either StackIds
or StackIdsUrl
.
StackIds: StackIdList
/// The Amazon S3 URL which contains list of stack ids to be inputted.
/// Specify either StackIds
or StackIdsUrl
.
StackIdsUrl: StackIdsUrl
/// The list of OU ID's to which the stacks being imported has to be mapped as deployment target.
OrganizationalUnitIds: OrganizationalUnitIdList
/// The user-specified preferences for how CloudFormation performs a stack set operation.
/// For more information about maximum concurrent accounts and failure tolerance, see Stack set operation
/// options.
OperationPreferences: StackSetOperationPreferences
/// A unique, user defined, identifier for the stack set operation.
@idempotencyToken
OperationId: ClientRequestToken
/// 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
.
///
///
CallAs: CallAs
}
output := {
/// The unique identifier for the stack set operation.
OperationId: ClientRequestToken
}
errors: [
InvalidOperationException
LimitExceededException
OperationIdAlreadyExistsException
OperationInProgressException
StackNotFoundException
StackSetNotFoundException
StaleRequestException
]
}
/// Returns the ID and status of each active change set for a stack. For example, CloudFormation lists change
/// sets that are in the CREATE_IN_PROGRESS
or CREATE_PENDING
state.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Summaries"
)
operation ListChangeSets {
input :=
/// The input for the ListChangeSets action.
{
/// The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.
@required
StackName: StackNameOrId
/// A string (provided by the ListChangeSets response output) that identifies the next page of
/// change sets that you want to retrieve.
NextToken: NextToken
}
output :=
/// The output for the ListChangeSets action.
{
/// A list of ChangeSetSummary
structures that provides the ID and status of each change set for the
/// specified stack.
Summaries: ChangeSetSummaries
/// 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
.
NextToken: NextToken
}
}
/// Lists all exported output values in the account and Region in which you call this action. Use this action to see
/// the exported output values that you can import into other stacks. To import values, use the
/// Fn::ImportValue function.
/// For more information, see
/// CloudFormation export stack output values.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Exports"
)
operation ListExports {
input := {
/// A string (provided by the ListExports response output) that identifies the next page of
/// exported output values that you asked to retrieve.
NextToken: NextToken
}
output := {
/// The output for the ListExports action.
Exports: Exports
/// 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.
NextToken: NextToken
}
}
/// Lists all stacks that are importing an exported output value. To modify or remove an exported output value,
/// first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports.
/// For more information about importing an exported output value, see the Fn::ImportValue
/// function.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Imports"
)
operation ListImports {
input := {
/// The name of the exported output value. CloudFormation returns the stack names that are importing this
/// value.
@required
ExportName: ExportName
/// A string (provided by the ListImports response output) that identifies the next page of stacks
/// that are importing the specified exported output value.
NextToken: NextToken
}
output := {
/// A list of stack names that are importing the specified exported output value.
Imports: Imports
/// A string that identifies the next page of exports. If there is no additional page, this value is null.
NextToken: NextToken
}
}
/// Returns drift information for resources in a stack instance.
///
///
/// ListStackInstanceResourceDrifts
returns drift information for the most
/// recent drift detection operation. If an operation is in progress, it may only return
/// partial results.
///
operation ListStackInstanceResourceDrifts {
input := {
/// The name or unique ID of the stack set that you want to list drifted resources
/// for.
@required
StackSetName: StackSetNameOrId
/// 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
.
NextToken: NextToken
/// 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.
MaxResults: MaxResults
/// The resource drift status of the stack instance.
///
/// -
///
/// 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 resource's actual configuration matches its expected
/// template configuration.
///
/// -
///
/// NOT_CHECKED
: CloudFormation doesn't currently return this value.
///
///
StackInstanceResourceDriftStatuses: StackResourceDriftStatusFilters
/// The name of the Amazon Web Services account that you want to list resource drifts for.
@required
StackInstanceAccount: Account
/// The name of the Region where you want to list resource drifts.
@required
StackInstanceRegion: Region
/// The unique ID of the drift operation.
@required
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {
/// A list of StackInstanceResourceDriftSummary
structures that contain
/// information about the specified stack instances.
Summaries: StackInstanceResourceDriftsSummaries
/// 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
.
NextToken: NextToken
}
errors: [
OperationNotFoundException
StackInstanceNotFoundException
StackSetNotFoundException
]
}
/// Returns summary information about stack instances that are associated with the specified stack set. You can
/// filter for stack instances that are associated with a specific Amazon Web Services account name or Region, or that
/// have a specific status.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Summaries"
pageSize: "MaxResults"
)
operation ListStackInstances {
input := {
/// The name or unique ID of the stack set that you want to list stack instances for.
@required
StackSetName: StackSetName
/// If the previous request didn't return all 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
.
NextToken: NextToken
/// 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.
MaxResults: MaxResults
/// The filter to apply to stack instances
Filters: StackInstanceFilters
/// The name of the Amazon Web Services account that you want to list stack instances for.
StackInstanceAccount: Account
/// The name of the Region where you want to list stack instances.
StackInstanceRegion: Region
/// [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.
///
///
CallAs: CallAs
}
output := {
/// A list of StackInstanceSummary
structures that contain information about the specified stack
/// instances.
Summaries: StackInstanceSummaries
/// If the request doesn't return all 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
.
NextToken: NextToken
}
errors: [
StackSetNotFoundException
]
}
/// Returns descriptions of all resources of the specified stack.
/// For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been
/// deleted.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "StackResourceSummaries"
)
operation ListStackResources {
input :=
/// The input for the ListStackResource action.
{
/// The name or the unique stack ID that is associated with the stack, which aren't 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
StackName: StackName
/// A string that identifies the next page of stack resources that you want to retrieve.
NextToken: NextToken
}
output :=
/// The output for a ListStackResources action.
{
/// A list of StackResourceSummary
structures.
StackResourceSummaries: StackResourceSummaries
/// 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.
NextToken: NextToken
}
}
/// Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary
/// information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter
/// is specified, summary information for all stacks is returned (including existing stacks and stacks that have been
/// deleted).
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "StackSummaries"
)
operation ListStacks {
input :=
/// The input for ListStacks action.
{
/// A string that identifies the next page of stacks that you want to retrieve.
NextToken: NextToken
/// 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.
StackStatusFilter: StackStatusFilter
}
output :=
/// The output for ListStacks action.
{
/// A list of StackSummary
structures containing information about the specified stacks.
StackSummaries: StackSummaries
/// 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.
NextToken: NextToken
}
}
/// Returns summary information about the results of a stack set operation.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Summaries"
pageSize: "MaxResults"
)
operation ListStackSetOperationResults {
input := {
/// The name or unique ID of the stack set that you want to get operation results for.
@required
StackSetName: StackSetName
/// The ID of the stack set operation.
@required
OperationId: ClientRequestToken
/// If the previous request didn't return all 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
.
NextToken: NextToken
/// 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.
MaxResults: MaxResults
/// [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.
///
///
CallAs: CallAs
/// The filter to apply to operation results.
Filters: OperationResultFilters
}
output := {
/// A list of StackSetOperationResultSummary
structures that contain information about the specified
/// operation results, for accounts and Amazon Web Services Regions that are included in the operation.
Summaries: StackSetOperationResultSummaries
/// 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
.
NextToken: NextToken
}
errors: [
OperationNotFoundException
StackSetNotFoundException
]
}
/// Returns summary information about operations performed on a stack set.
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Summaries"
pageSize: "MaxResults"
)
operation ListStackSetOperations {
input := {
/// The name or unique ID of the stack set that you want to get operation summaries for.
@required
StackSetName: StackSetName
/// 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
.
NextToken: NextToken
/// 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.
MaxResults: MaxResults
/// [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.
///
///
CallAs: CallAs
}
output := {
/// A list of StackSetOperationSummary
structures that contain summary information about operations for
/// the specified stack set.
Summaries: StackSetOperationSummaries
/// 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
.
NextToken: NextToken
}
errors: [
StackSetNotFoundException
]
}
/// Returns summary information about stack sets that are associated with the user.
///
/// -
///
[Self-managed permissions] If you set the CallAs
parameter to SELF
while signed in
/// to your Amazon Web Services account, ListStackSets
returns all self-managed stack sets in your Amazon Web Services account.
///
/// -
///
[Service-managed permissions] If you set the CallAs
parameter to SELF
while signed
/// in to the organization's management account, ListStackSets
returns all stack sets in the
/// management account.
///
/// -
///
[Service-managed permissions] If you set the CallAs
parameter to DELEGATED_ADMIN
/// while signed in to your member account, ListStackSets
returns all stack sets with service-managed
/// permissions in the management account.
///
///
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "Summaries"
pageSize: "MaxResults"
)
operation ListStackSets {
input := {
/// If the previous paginated request didn't return all 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
.
NextToken: NextToken
/// 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.
MaxResults: MaxResults
/// The status of the stack sets that you want to get summary information about.
Status: StackSetStatus
/// [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.
///
///
CallAs: CallAs
}
output := {
/// A list of StackSetSummary
structures that contain information about the user's stack sets.
Summaries: StackSetSummaries
/// 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
.
NextToken: NextToken
}
}
/// Returns a list of registration tokens for the specified extension(s).
@idempotent
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
pageSize: "MaxResults"
)
operation ListTypeRegistrations {
input := {
/// The kind of extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Type: RegistryType
/// The name of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
TypeName: TypeName
/// The Amazon Resource Name (ARN) of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
TypeArn: TypeArn
/// The current status of the extension registration request.
/// The default is IN_PROGRESS
.
RegistrationStatusFilter: RegistrationStatus
/// 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.
MaxResults: MaxResults
/// If the previous paginated request didn't return all 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
.
NextToken: NextToken
}
output := {
/// A list of extension registration tokens.
/// Use DescribeTypeRegistration to return detailed information about a type registration
/// request.
RegistrationTokenList: RegistrationTokenList
/// If the request doesn't return all 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
.
NextToken: NextToken
}
errors: [
CFNRegistryException
]
}
/// Returns summary information about extension that have been registered with CloudFormation.
@idempotent
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
items: "TypeSummaries"
pageSize: "MaxResults"
)
operation ListTypes {
input := {
/// 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 Web Services account. This includes extensions from Amazon Web Services, in addition to third-party
/// publishers.
///
///
/// The default is PRIVATE
.
Visibility: Visibility
/// 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 doesn't include an update handler, so the type can't be updated and
/// must instead be replaced during stack update operations.
///
/// -
///
/// NON_PROVISIONABLE
: The resource type doesn't include create, read, and delete handlers, and
/// therefore can't actually be provisioned.
///
///
/// The default is FULLY_MUTABLE
.
ProvisioningType: ProvisioningType
/// 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.
///
///
DeprecatedStatus: DeprecatedStatus
/// The type of extension.
Type: RegistryType
/// Filter criteria to use in determining which extensions to return.
/// Filters must be compatible with Visibility
to return valid results. For example, specifying
/// AWS_TYPES
for Category
and PRIVATE
for Visibility
returns an
/// empty list of types, but specifying PUBLIC
for Visibility
returns the desired list.
Filters: TypeFilters
/// 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.
MaxResults: MaxResults
/// If the previous paginated request didn't return all 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
.
NextToken: NextToken
}
output := {
/// A list of TypeSummary
structures that contain information about the specified extensions.
TypeSummaries: TypeSummaries
/// If the request doesn't return all 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
.
NextToken: NextToken
}
errors: [
CFNRegistryException
]
}
/// Returns summary information about the versions of an extension.
@idempotent
@paginated(
inputToken: "NextToken"
outputToken: "NextToken"
pageSize: "MaxResults"
)
operation ListTypeVersions {
input := {
/// The kind of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Type: RegistryType
/// The name of the extension for which you want version summary information.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
TypeName: TypeName
/// 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
.
Arn: TypeArn
/// 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.
MaxResults: MaxResults
/// 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
.
NextToken: NextToken
/// 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
.
DeprecatedStatus: DeprecatedStatus
/// The publisher ID of the extension publisher.
/// Extensions published by Amazon aren't assigned a publisher ID.
PublisherId: PublisherId
}
output := {
/// A list of TypeVersionSummary
structures that contain information about the specified extension's
/// versions.
TypeVersionSummaries: TypeVersionSummaries
/// 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
.
NextToken: NextToken
}
errors: [
CFNRegistryException
]
}
/// Publishes the specified extension to the CloudFormation registry as a public extension in this Region.
/// Public extensions are available for use by all CloudFormation users. For more information about publishing
/// extensions, see Publishing extensions to make them available for public use in the CloudFormation CLI
/// User Guide.
/// To publish an extension, you must be registered as a publisher with CloudFormation. For more
/// information, see RegisterPublisher.
@idempotent
operation PublishType {
input := {
/// The type of the extension.
/// Conditional: You must specify Arn
, or TypeName
and Type
.
Type: ThirdPartyType
/// The Amazon Resource Name (ARN) of the extension.
/// Conditional: You must specify Arn
, or TypeName
and Type
.
Arn: PrivateTypeArn
/// The name of the extension.
/// Conditional: You must specify Arn
, or TypeName
and Type
.
TypeName: TypeName
/// 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 don't specify a version number, CloudFormation increments the version number by one minor
/// version release.
/// You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first
/// version number to be 1.0.0
.
PublicVersionNumber: PublicVersionNumber
}
output := {
/// The Amazon Resource Name (ARN) assigned to the public extension upon publication.
PublicTypeArn: TypeArn
}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Reports progress of a resource handler to CloudFormation.
/// Reserved for use by the CloudFormation CLI. Don't
/// use this API in your code.
@idempotent
operation RecordHandlerProgress {
input := {
/// Reserved for use by the CloudFormation
/// CLI.
@required
BearerToken: ClientToken
/// Reserved for use by the CloudFormation
/// CLI.
@required
OperationStatus: OperationStatus
/// Reserved for use by the CloudFormation
/// CLI.
CurrentOperationStatus: OperationStatus
/// Reserved for use by the CloudFormation
/// CLI.
StatusMessage: StatusMessage
/// Reserved for use by the CloudFormation
/// CLI.
ErrorCode: HandlerErrorCode
/// Reserved for use by the CloudFormation
/// CLI.
ResourceModel: ResourceModel
/// Reserved for use by the CloudFormation
/// CLI.
ClientRequestToken: ClientRequestToken
}
output := {}
errors: [
InvalidStateTransitionException
OperationStatusCheckFailedException
]
}
/// Registers your account as a publisher of public extensions in the CloudFormation registry. Public
/// extensions are available for use by all CloudFormation users. This publisher ID applies to your account in
/// all Amazon Web Services Regions.
/// For information about requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
///
@idempotent
operation RegisterPublisher {
input := {
/// 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
.
AcceptTermsAndConditions: AcceptTermsAndConditions
/// 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.
ConnectionArn: ConnectionArn
}
output := {
/// The ID assigned this account by CloudFormation for publishing extensions.
PublisherId: PublisherId
}
errors: [
CFNRegistryException
]
}
/// Registers an extension with the CloudFormation service. Registering an extension makes it available for
/// use in CloudFormation templates in your Amazon Web Services account, and includes:
///
/// -
///
Validating the extension schema.
///
/// -
///
Determining which handlers, if any, have been specified for the extension.
///
/// -
///
Making the extension available for use in your account.
///
///
/// For more information about how to develop extensions and ready them for registration, see Creating Resource
/// Providers in the CloudFormation CLI User Guide.
/// You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and
/// per Region. Use DeregisterType to deregister specific extension versions if necessary.
/// Once you have initiated a registration request using RegisterType, you can use DescribeTypeRegistration to monitor the progress of the registration request.
/// Once you have registered a private extension in your account and Region, use SetTypeConfiguration to specify
/// configuration properties for the extension. For more information, see Configuring extensions at
/// the account level in the CloudFormation User Guide.
@idempotent
operation RegisterType {
input := {
/// The kind of extension.
Type: RegistryType
/// The name of the extension being registered.
/// We suggest that extension names adhere to the following patterns:
///
/// -
///
For resource types,
/// company_or_organization::service::type.
///
/// -
///
For modules,
/// company_or_organization::service::type::MODULE.
///
/// -
///
For hooks,
/// MyCompany::Testing::MyTestHook.
///
///
///
/// The following organization namespaces are reserved and can't be used in your extension names:
///
/// -
///
/// Alexa
///
///
/// -
///
/// AMZN
///
///
/// -
///
/// Amazon
///
///
/// -
///
/// AWS
///
///
/// -
///
/// Custom
///
///
/// -
///
/// Dev
///
///
///
///
@required
TypeName: TypeName
/// A URL to the S3 bucket containing the extension project package that contains the necessary files for the
/// extension you want to register.
/// For information about 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's, 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.
///
@required
SchemaHandlerPackage: S3Url
/// Specifies logging configuration information for an extension.
LoggingConfig: LoggingConfig
/// 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 about 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
/// 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.
ExecutionRoleArn: RoleARN2
/// 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
/// registration request, even if the request is submitted multiple times.
ClientRequestToken: RequestToken
}
output := {
/// 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.
RegistrationToken: RegistrationToken
}
errors: [
CFNRegistryException
]
}
/// When specifying RollbackStack
, you preserve the state of previously provisioned resources when an
/// operation fails. You can check the status of the stack through the DescribeStacks operation.
/// Rolls back the specified stack to the last known stable state from CREATE_FAILED
or
/// UPDATE_FAILED
stack statuses.
/// This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state
/// includes any status in a *_COMPLETE
. This includes the following stack statuses.
///
/// -
///
/// CREATE_COMPLETE
///
///
/// -
///
/// UPDATE_COMPLETE
///
///
/// -
///
/// UPDATE_ROLLBACK_COMPLETE
///
///
/// -
///
/// IMPORT_COMPLETE
///
///
/// -
///
/// IMPORT_ROLLBACK_COMPLETE
///
///
///
operation RollbackStack {
input := {
/// The name that's associated with the stack.
@required
StackName: StackNameOrId
/// The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the
/// stack.
RoleARN: RoleARN
/// A unique identifier for this RollbackStack
request.
ClientRequestToken: ClientRequestToken
/// When set to true
, newly created resources are deleted when the operation rolls back. This includes newly
/// created resources marked with a deletion policy of Retain
.
/// Default: false
///
RetainExceptOnCreate: RetainExceptOnCreate
}
output := {
/// Unique identifier of the stack.
StackId: StackId
}
errors: [
TokenAlreadyExistsException
]
}
/// Sets a stack policy for a specified stack.
operation SetStackPolicy {
input :=
/// The input for the SetStackPolicy action.
{
/// The name or unique stack ID that you want to associate a policy with.
@required
StackName: StackName
/// 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.
StackPolicyBody: StackPolicyBody
/// Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in
/// an Amazon S3 bucket in the same Amazon Web Services Region as the stack. You can specify either the
/// StackPolicyBody
or the StackPolicyURL
parameter, but not both.
StackPolicyURL: StackPolicyURL
}
output: Unit
}
/// Specifies the configuration data for a registered CloudFormation extension, in the given account and
/// Region.
/// To view the current configuration data for an extension, refer to the ConfigurationSchema
element
/// of DescribeType. For more information, see Configuring extensions at
/// the account level in the CloudFormation User Guide.
///
/// It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such
/// as third-party credentials. For more details on dynamic references, see Using
/// dynamic references to specify template values in the CloudFormation User
/// Guide.
///
operation SetTypeConfiguration {
input := {
/// 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.
TypeArn: TypeArn
/// 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 DescribeType. For more information, see
/// Defining
/// account-level configuration data for an extension in the CloudFormation CLI User
/// Guide.
@required
Configuration: TypeConfiguration
/// 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.
ConfigurationAlias: TypeConfigurationAlias
/// The name of the extension.
/// Conditional: You must specify ConfigurationArn
, or Type
and
/// TypeName
.
TypeName: TypeName
/// The type of extension.
/// Conditional: You must specify ConfigurationArn
, or Type
and
/// TypeName
.
Type: ThirdPartyType
}
output := {
/// The Amazon Resource Name (ARN) for the configuration data, in this account and Region.
/// Conditional: You must specify ConfigurationArn
, or Type
and
/// TypeName
.
ConfigurationArn: TypeConfigurationArn
}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations.
@idempotent
operation SetTypeDefaultVersion {
input := {
/// 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
.
Arn: PrivateTypeArn
/// The kind of extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
Type: RegistryType
/// The name of the extension.
/// Conditional: You must specify either TypeName
and Type
, or Arn
.
TypeName: TypeName
/// 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.
VersionId: TypeVersionId
}
output := {}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Sends a signal to the specified resource with a success or failure status. You can use the
/// SignalResource
operation in conjunction with a creation policy or update policy. CloudFormation
/// doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout
/// period is exceeded. The SignalResource
operation is useful in cases where you want to send signals from
/// anywhere other than an Amazon EC2 instance.
operation SignalResource {
input :=
/// The input for the SignalResource action.
{
/// The stack name or unique stack ID that includes the resource that you want to signal.
@required
StackName: StackNameOrId
/// 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.
@required
LogicalResourceId: LogicalResourceId
/// 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.
@required
UniqueId: ResourceSignalUniqueId
/// The status of the signal, which is either success or failure. A failure signal causes CloudFormation to
/// immediately fail the stack creation or update.
@required
Status: ResourceSignalStatus
}
output: Unit
}
/// Stops an in-progress operation on a stack set and its associated stack instances. StackSets will cancel all the
/// unstarted stack instance deployments and wait for those are in-progress to complete.
operation StopStackSetOperation {
input := {
/// The name or unique ID of the stack set that you want to stop the operation for.
@required
StackSetName: StackSetName
/// The ID of the stack operation.
@required
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {}
errors: [
InvalidOperationException
OperationNotFoundException
StackSetNotFoundException
]
}
/// Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry.
///
/// -
///
For resource types, this includes passing all contracts tests defined for the type.
///
/// -
///
For modules, this includes determining if the module's model meets all necessary requirements.
///
///
/// For more information, see Testing your public
/// extension prior to publishing in the CloudFormation CLI User Guide.
/// If you don't specify a version, CloudFormation uses the default version of the extension in your
/// account and Region for testing.
/// To perform testing, CloudFormation assumes the execution role specified when the type was registered.
/// For more information, see RegisterType.
/// Once you've initiated testing on an extension using TestType
, you can pass the returned
/// TypeVersionArn
into DescribeType to monitor the current test
/// status and test status description for the extension.
/// 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 CLI User
/// Guide.
@idempotent
operation TestType {
input := {
/// The Amazon Resource Name (ARN) of the extension.
/// Conditional: You must specify Arn
, or TypeName
and Type
.
Arn: TypeArn
/// The type of the extension to test.
/// Conditional: You must specify Arn
, or TypeName
and Type
.
Type: ThirdPartyType
/// The name of the extension to test.
/// Conditional: You must specify Arn
, or TypeName
and Type
.
TypeName: TypeName
/// The version of the extension to test.
/// You can specify the version id with either Arn
, or with TypeName
and
/// Type
.
/// If you don't specify a version, CloudFormation uses the default version of the extension in this
/// account and Region for testing.
VersionId: TypeVersionId
/// 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.
LogDeliveryBucket: S3Bucket
}
output := {
/// The Amazon Resource Name (ARN) of the extension.
TypeVersionArn: TypeArn
}
errors: [
CFNRegistryException
TypeNotFoundException
]
}
/// Updates a stack as specified in the template. After the call completes successfully, the stack update starts.
/// You can check the status of the stack through the DescribeStacks action.
/// To get a copy of the template for an existing stack, you can use the GetTemplate
/// action.
/// For more information about creating an update template, updating a stack, and monitoring the progress of the
/// update, see Updating a Stack.
operation UpdateStack {
input :=
/// The input for an UpdateStack action.
{
/// The name or unique stack ID of the stack to update.
@required
StackName: StackName
/// 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
.
TemplateBody: TemplateBody
/// Location of file containing the template body. The URL must point to a template that's 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
.
TemplateURL: TemplateURL
/// 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
.
UsePreviousTemplate: UsePreviousTemplate
/// 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 don't specify a stack policy, the current policy that is associated with the stack will be used.
StackPolicyDuringUpdateBody: StackPolicyDuringUpdateBody
/// 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 don't specify a stack policy, the current policy that is associated with the stack will be used.
StackPolicyDuringUpdateURL: StackPolicyDuringUpdateURL
/// A list of Parameter
structures that specify input parameters for the stack. For more information,
/// see the Parameter
/// data type.
Parameters: Parameters
/// 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 suggest that you review all permissions associated with
/// them and edit their permissions if necessary.
///
/// -
///
///
/// AWS::IAM::AccessKey
///
///
/// -
///
///
/// AWS::IAM::Group
///
///
/// -
///
/// AWS::IAM::InstanceProfile
///
///
/// -
///
///
/// AWS::IAM::Policy
///
///
/// -
///
///
/// AWS::IAM::Role
///
///
/// -
///
///
/// AWS::IAM::User
///
///
/// -
///
/// AWS::IAM::UserToGroupAddition
///
///
///
/// 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.
///
///
Capabilities: Capabilities
/// 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.
ResourceTypes: ResourceTypes
/// 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. Provided that 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.
RoleARN: RoleARN
/// The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and
/// for the specified monitoring period afterwards.
RollbackConfiguration: RollbackConfiguration
/// 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 don't specify a stack policy, the current policy that is associated with the stack is
/// unchanged.
StackPolicyBody: StackPolicyBody
/// 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 don't specify a stack policy, the current policy that is associated with the stack is
/// unchanged.
StackPolicyURL: StackPolicyURL
/// Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation associates
/// with the stack. Specify an empty list to remove all notification topics.
NotificationARNs: NotificationARNs
/// 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.
Tags: Tags
/// Preserve the state of previously provisioned resources when an operation fails.
/// Default: False
///
DisableRollback: DisableRollback
/// 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
.
ClientRequestToken: ClientRequestToken
/// When set to true
, newly created resources are deleted when the operation rolls back. This includes newly
/// created resources marked with a deletion policy of Retain
.
/// Default: false
///
RetainExceptOnCreate: RetainExceptOnCreate
}
output :=
/// The output for an UpdateStack action.
{
/// Unique identifier of the stack.
StackId: StackId
}
errors: [
InsufficientCapabilitiesException
TokenAlreadyExistsException
]
}
/// Updates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region.
/// You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to
/// create additional stack instances, use CreateStackInstances.
/// During stack set updates, any parameters overridden for a stack instance aren't updated, but retain their
/// overridden value.
/// You can only update 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
.
operation UpdateStackInstances {
input := {
/// The name or unique ID of the stack set associated with the stack instances.
@required
StackSetName: StackSetNameOrId
/// [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 Amazon Web Services Regions.
/// You can specify Accounts
or DeploymentTargets
, but not both.
Accounts: AccountList
/// [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.
DeploymentTargets: DeploymentTargets
/// The names of one or more Amazon Web Services 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
/// Amazon Web Services Regions.
@required
Regions: RegionList
/// 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 Amazon Web Services 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 can't 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
/// don't include the parameter in the list.
///
/// -
///
To leave all parameters set to their present values, don't specify this property at all.
///
///
/// During stack set updates, any parameter values overridden for a stack instance aren't 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
.
ParameterOverrides: Parameters
/// Preferences for how CloudFormation performs this stack set operation.
OperationPreferences: StackSetOperationPreferences
/// 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.
@idempotencyToken
OperationId: ClientRequestToken
/// [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.
///
///
CallAs: CallAs
}
output := {
/// The unique identifier for this stack set operation.
OperationId: ClientRequestToken
}
errors: [
InvalidOperationException
OperationIdAlreadyExistsException
OperationInProgressException
StackInstanceNotFoundException
StackSetNotFoundException
StaleRequestException
]
}
/// Updates the stack set, and associated stack instances in the specified accounts and Amazon Web Services Regions.
/// Even if the stack set operation created by updating the stack set fails (completely or partially, below or above
/// a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set.
operation UpdateStackSet {
input := {
/// The name or unique ID of the stack set that you want to update.
@required
StackSetName: StackSetName
/// A brief description of updates that you are making.
Description: Description
/// 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.
TemplateBody: TemplateBody
/// 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.
TemplateURL: TemplateURL
/// 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.
UsePreviousTemplate: UsePreviousTemplate
/// A list of input parameters for the stack set template.
Parameters: Parameters
/// 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.
///
/// -
///
///
/// AWS::IAM::AccessKey
///
///
/// -
///
///
/// AWS::IAM::Group
///
///
/// -
///
///
/// AWS::IAM::InstanceProfile
///
///
/// -
///
///
/// AWS::IAM::Policy
///
///
/// -
///
///
/// AWS::IAM::Role
///
///
/// -
///
///
/// AWS::IAM::User
///
///
/// -
///
///
///
/// 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.
///
///
///
Capabilities: Capabilities
/// 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 specified 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.
Tags: Tags
/// Preferences for how CloudFormation performs this stack set operation.
OperationPreferences: StackSetOperationPreferences
/// The Amazon Resource Name (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.
AdministrationRoleARN: RoleARN
/// 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.
ExecutionRoleName: ExecutionRoleName
/// [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 Amazon Web Services Regions. If the stack set update doesn't 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.
DeploymentTargets: DeploymentTargets
/// 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.
///
/// -
///
With self-managed
permissions, you must create the administrator and execution roles required to
/// deploy to target accounts. For more information, see Grant Self-Managed Stack Set
/// Permissions.
///
/// -
///
With service-managed
permissions, StackSets automatically creates the IAM roles
/// required to deploy to accounts managed by Organizations. For more information, see Grant
/// Service-Managed Stack Set Permissions.
///
///
PermissionModel: PermissionModels
/// [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
, don't specify DeploymentTargets
or
/// Regions
.
AutoDeployment: AutoDeployment
/// 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
.
@idempotencyToken
OperationId: ClientRequestToken
/// [Self-managed permissions] The accounts in which to update associated stack instances. If you specify accounts,
/// you must also specify the Amazon Web Services Regions in which to update stack set instances.
/// To update all the stack instances associated with this stack set, don't 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
/// Amazon Web Services 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 Amazon Web Services Regions, while leaving all other stack
/// instances with their existing stack instance status.
Accounts: AccountList
/// The Amazon Web Services 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.
Regions: RegionList
/// [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.
///
///
CallAs: CallAs
/// Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting
/// operations.
ManagedExecution: ManagedExecution
}
output := {
/// The unique ID for this stack set operation.
OperationId: ClientRequestToken
}
errors: [
InvalidOperationException
OperationIdAlreadyExistsException
OperationInProgressException
StackInstanceNotFoundException
StackSetNotFoundException
StaleRequestException
]
}
/// Updates termination protection for 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.
/// For nested
/// stacks, termination protection is set on the root stack and can't be changed directly on the nested
/// stack.
operation UpdateTerminationProtection {
input := {
/// Whether to enable termination protection on the specified stack.
@required
EnableTerminationProtection: EnableTerminationProtection
/// The name or unique ID of the stack for which you want to set termination protection.
@required
StackName: StackNameOrId
}
output := {
/// The unique ID of the stack.
StackId: StackId
}
}
/// Validates a specified template. CloudFormation first checks if the template is valid JSON. If it isn't,
/// CloudFormation checks if the template is valid YAML. If both these checks fail, CloudFormation
/// returns a template validation error.
operation ValidateTemplate {
input :=
/// The input for ValidateTemplate action.
{
/// 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.
TemplateBody: TemplateBody
/// 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.
TemplateURL: TemplateURL
}
output :=
/// The output for ValidateTemplate action.
{
/// A list of TemplateParameter
structures.
Parameters: TemplateParameters
/// The description found within the template.
Description: Description
/// 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.
Capabilities: Capabilities
/// The list of resources that generated the values in the Capabilities
response element.
CapabilitiesReason: CapabilitiesReason
/// A list of the transforms that are declared in the template.
DeclaredTransforms: TransformsList
}
}
/// Structure that contains the results of the account gate function which CloudFormation invokes, if present,
/// before proceeding with a stack set operation in an account and Region.
/// For each account and Region, CloudFormation lets you specify a Lambda function that encapsulates
/// any requirements that must be met before CloudFormation can proceed with a stack set operation in that
/// account and Region. CloudFormation invokes the function each time a stack set operation is requested for
/// that account and Region; if the function returns FAILED
, CloudFormation cancels the operation
/// in that account and Region, and sets the stack set operation result status for that account and Region to
/// FAILED
.
/// For more information, see Configuring a target account
/// gate.
structure AccountGateResult {
/// 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 doesn't meet the
/// requirements for a stack set operation to occur. 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 hasn't 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 administration 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.
///
///
///
///
Status: AccountGateStatus
/// The reason for the account gate status assigned to this account and Region for the stack set operation.
StatusReason: AccountGateStatusReason
}
/// The AccountLimit data type.
/// CloudFormation has the following limits per account:
///
/// -
///
Number of concurrent resources
///
/// -
///
Number of stacks
///
/// -
///
Number of stack outputs
///
///
/// For more information about these account limits, and other CloudFormation limits, see CloudFormation
/// quotas in the CloudFormation User Guide.
structure AccountLimit {
/// The name of the account limit.
/// Values: ConcurrentResourcesLimit
| StackLimit
| StackOutputsLimit
///
Name: LimitName
/// The value that's associated with the account limit name.
Value: LimitValue
}
/// The resource with the name requested already exists.
@awsQueryError(
code: "AlreadyExistsException"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure AlreadyExistsException {
Message: ErrorMessage
}
/// [Service-managed permissions] Describes whether StackSets automatically deploys to Organizations
/// accounts that are added to a target organization or organizational unit (OU).
structure AutoDeployment {
/// 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.
Enabled: AutoDeploymentNullable
/// 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
.
RetainStacksOnAccountRemoval: RetainStacksOnAccountRemovalNullable
}
/// Detailed information concerning an error generated during the setting of configuration data for a CloudFormation extension.
structure BatchDescribeTypeConfigurationsError {
/// The error code.
ErrorCode: ErrorCode
/// The error message.
ErrorMessage: ErrorMessage
/// Identifying information for the configuration of a CloudFormation extension.
TypeConfigurationIdentifier: TypeConfigurationIdentifier
}
/// An error occurred during a CloudFormation registry operation.
@awsQueryError(
code: "CFNRegistryException"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure CFNRegistryException {
/// An message with details about the error that occurred.
Message: ErrorMessage
}
/// The Change
structure describes the changes CloudFormation will perform if you execute the
/// change set.
structure Change {
/// The type of entity that CloudFormation changes. Currently, the only entity type is
/// Resource
.
Type: ChangeType
/// Is either null
, if no hooks invoke for the resource, or contains the number of hooks that will
/// invoke for the resource.
HookInvocationCount: HookInvocationCount
/// A ResourceChange
structure that describes the resource and action that CloudFormation will
/// perform.
ResourceChange: ResourceChange
}
/// Specifies the resource, the hook, and the hook version to be invoked.
structure ChangeSetHook {
/// Specifies the points in provisioning logic where a hook is invoked.
InvocationPoint: HookInvocationPoint
/// Specify the hook failure mode for non-compliant resources in the followings ways.
///
/// -
///
/// FAIL
Stops provisioning resources.
///
/// -
///
/// WARN
Allows provisioning to continue with a warning message.
///
///
FailureMode: HookFailureMode
/// The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of
/// Organization::Service::Hook
.
///
/// The following organization namespaces are reserved and can't be used in your hook type names:
///
/// -
///
/// Alexa
///
///
/// -
///
/// AMZN
///
///
/// -
///
/// Amazon
///
///
/// -
///
/// ASK
///
///
/// -
///
/// AWS
///
///
/// -
///
/// Custom
///
///
/// -
///
/// Dev
///
///
///
///
TypeName: HookTypeName
/// The version ID of the type specified.
TypeVersionId: HookTypeVersionId
/// The version ID of the type configuration.
TypeConfigurationVersionId: HookTypeConfigurationVersionId
/// Specifies details about the target that the hook will run against.
TargetDetails: ChangeSetHookTargetDetails
}
/// Specifies RESOURCE
type target details for activated hooks.
structure ChangeSetHookResourceTargetDetails {
/// The resource's logical ID, which is defined in the stack's template.
LogicalResourceId: LogicalResourceId
/// The type of CloudFormation resource, such as AWS::S3::Bucket
.
ResourceType: HookTargetTypeName
/// Specifies the action of the resource.
ResourceAction: ChangeAction
}
/// Specifies target details for an activated hook.
structure ChangeSetHookTargetDetails {
/// The name of the type.
TargetType: HookTargetType
/// Required if TargetType
is RESOURCE
.
ResourceTargetDetails: ChangeSetHookResourceTargetDetails
}
/// The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the
/// ListChangeSets
operation.
@awsQueryError(
code: "ChangeSetNotFound"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure ChangeSetNotFoundException {
Message: ErrorMessage
}
/// The ChangeSetSummary
structure describes a change set, its status, and the stack with which it's
/// associated.
structure ChangeSetSummary {
/// The ID of the stack with which the change set is associated.
StackId: StackId
/// The name of the stack with which the change set is associated.
StackName: StackName
/// The ID of the change set.
ChangeSetId: ChangeSetId
/// The name of the change set.
ChangeSetName: ChangeSetName
/// 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.
ExecutionStatus: ExecutionStatus
/// The state of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
, or
/// FAILED
.
Status: ChangeSetStatus
/// A description of the change set's status. For example, if your change set is in the FAILED
state,
/// CloudFormation shows the error message.
StatusReason: ChangeSetStatusReason
/// The start time when the change set was created, in UTC.
CreationTime: CreationTime
/// Descriptive information about the change set.
Description: Description
/// Specifies the current setting of IncludeNestedStacks
for the change set.
IncludeNestedStacks: IncludeNestedStacks
/// The parent change set ID.
ParentChangeSetId: ChangeSetId
/// The root change set ID.
RootChangeSetId: ChangeSetId
}
/// The specified resource exists, but has been changed.
@awsQueryError(
code: "CreatedButModifiedException"
httpResponseCode: 409
)
@error("client")
@httpError(409)
structure CreatedButModifiedException {
Message: ErrorMessage
}
/// [Service-managed permissions] The Organizations accounts to which StackSets deploys. StackSets doesn't
/// deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization.
/// For update operations, you can specify either Accounts
or OrganizationalUnitIds
. For
/// create and delete operations, specify OrganizationalUnitIds
.
structure DeploymentTargets {
/// The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
Accounts: AccountList
/// Returns the value of the AccountsUrl
property.
AccountsUrl: AccountsUrl
/// The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
OrganizationalUnitIds: OrganizationalUnitIdList
/// Limit deployment targets to individual accounts or include additional accounts with provided OUs.
/// The following is a list of possible values for the AccountFilterType
operation.
///
/// -
///
/// INTERSECTION
: StackSets deploys to the accounts specified in Accounts
parameter.
///
///
/// -
///
/// DIFFERENCE
: StackSets excludes the accounts specified in Accounts
parameter. This
/// enables user to avoid certain accounts within an OU such as suspended accounts.
///
/// -
///
/// UNION
: StackSets includes additional accounts deployment targets.
/// This is the default value if AccountFilterType
is not provided. This enables user to update an
/// entire OU and individual accounts from a different OU in one request, which used to be two separate
/// requests.
///
/// -
///
/// NONE
: Deploys to all the accounts in specified organizational units (OU).
///
///
AccountFilterType: AccountFilterType
}
/// The Export
structure describes the exported output values for a stack.
structure Export {
/// The stack that contains the exported output name and value.
ExportingStackId: StackId
/// 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.
Name: ExportName
/// 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.
Value: ExportValue
}
/// The template contains resources with capabilities that weren't specified in the Capabilities parameter.
@awsQueryError(
code: "InsufficientCapabilitiesException"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure InsufficientCapabilitiesException {
Message: ErrorMessage
}
/// The specified change set can't be used to update the stack. For example, the change set status might be
/// CREATE_IN_PROGRESS
, or the stack status might be UPDATE_IN_PROGRESS
.
@awsQueryError(
code: "InvalidChangeSetStatus"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure InvalidChangeSetStatusException {
Message: ErrorMessage
}
/// The specified operation isn't valid.
@awsQueryError(
code: "InvalidOperationException"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure InvalidOperationException {
Message: ErrorMessage
}
/// Error reserved for use by the CloudFormation CLI.
/// CloudFormation doesn't return this error to users.
@awsQueryError(
code: "InvalidStateTransition"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure InvalidStateTransitionException {
Message: ErrorMessage
}
/// The quota for the resource has already been reached.
/// For information about resource and stack limitations, see CloudFormation quotas in the
/// CloudFormation User Guide.
@awsQueryError(
code: "LimitExceededException"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure LimitExceededException {
Message: ErrorMessage
}
/// Contains logging configuration information for an extension.
structure LoggingConfig {
/// The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries
/// to CloudWatch Logs.
@required
LogRoleArn: RoleARN2
/// The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking
/// the extension's handlers.
@required
LogGroupName: LogGroupName
}
/// Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting
/// operations.
structure ManagedExecution {
/// When true
, StackSets performs non-conflicting operations concurrently and queues conflicting
/// operations. After conflicting operations finish, StackSets starts queued operations in request order.
///
/// If there are already running or queued operations, StackSets queues all incoming operations even if they are
/// non-conflicting.
/// You can't modify your stack set's execution configuration while there are running or queued operations for that
/// stack set.
///
/// When false
(default), StackSets performs one operation at a time in request order.
Active: ManagedExecutionNullable
}
/// Contains information about the module from which the resource was created, if the resource was created from a
/// module included in the stack template.
/// For more information about modules, see Using modules to encapsulate and reuse resource
/// configurations in the CloudFormation User Guide.
structure ModuleInfo {
/// A concatenated list of 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's nested inside a parent module of type
/// AWS::Second::Example::MODULE
.
///
/// AWS::First::Example::MODULE/AWS::Second::Example::MODULE
///
TypeHierarchy: TypeHierarchy
/// A concatenated 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's nested inside a
/// parent module, moduleB
.
///
/// moduleA/moduleB
///
/// For more information, see Referencing resources in a module
/// in the CloudFormation User Guide.
LogicalIdHierarchy: LogicalIdHierarchy
}
/// The specified name is already in use.
@awsQueryError(
code: "NameAlreadyExistsException"
httpResponseCode: 409
)
@error("client")
@httpError(409)
structure NameAlreadyExistsException {
Message: ErrorMessage
}
/// The specified operation ID already exists.
@awsQueryError(
code: "OperationIdAlreadyExistsException"
httpResponseCode: 409
)
@error("client")
@httpError(409)
structure OperationIdAlreadyExistsException {
Message: ErrorMessage
}
/// Another operation is currently in progress for this stack set. Only one operation can be performed for a stack
/// set at a given time.
@awsQueryError(
code: "OperationInProgressException"
httpResponseCode: 409
)
@error("client")
@httpError(409)
structure OperationInProgressException {
Message: ErrorMessage
}
/// The specified ID refers to an operation that doesn't exist.
@awsQueryError(
code: "OperationNotFoundException"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure OperationNotFoundException {
Message: ErrorMessage
}
/// The status that operation results are filtered by.
structure OperationResultFilter {
/// The type of filter to apply.
Name: OperationResultFilterName
/// The value to filter by.
Values: OperationResultFilterValues
}
/// Error reserved for use by the CloudFormation CLI.
/// CloudFormation doesn't return this error to users.
@awsQueryError(
code: "ConditionalCheckFailed"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure OperationStatusCheckFailedException {
Message: ErrorMessage
}
/// The Output data type.
structure Output {
/// The key associated with the output.
OutputKey: OutputKey
/// The value associated with the output.
OutputValue: OutputValue
/// User defined description associated with the output.
Description: Description
/// The name of the export associated with the output.
ExportName: ExportName
}
/// The Parameter data type.
structure Parameter {
/// 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's specified in your template.
ParameterKey: ParameterKey
/// The input value associated with the parameter.
ParameterValue: ParameterValue
/// 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.
UsePreviousValue: UsePreviousValue
/// Read-only. The value that corresponds to a SSM parameter key. This field is returned only for
/// SSM
/// parameter types in the template.
ResolvedValue: ParameterValue
}
/// A set of criteria that CloudFormation uses to validate parameter values. Although other constraints might be
/// defined in the stack template, CloudFormation returns only the AllowedValues
property.
structure ParameterConstraints {
/// A list of values that are permitted for a parameter.
AllowedValues: AllowedValues
}
/// The ParameterDeclaration data type.
structure ParameterDeclaration {
/// The name that's associated with the parameter.
ParameterKey: ParameterKey
/// The default value of the parameter.
DefaultValue: ParameterValue
/// The type of parameter.
ParameterType: ParameterType
/// Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
NoEcho: NoEcho
/// The description that's associate with the parameter.
Description: Description
/// The criteria that CloudFormation uses to validate parameter values.
ParameterConstraints: ParameterConstraints
}
/// 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 aren't enough to uniquely identify that resource. Each context
/// key-value pair specifies a resource that contains the targeted resource.
structure PhysicalResourceIdContextKeyValuePair {
/// The resource context key.
@required
Key: Key
/// The resource context value.
@required
Value: Value
}
/// Information about a resource property whose actual value differs from its expected value, as defined in the
/// stack template and any values specified as template parameters. These will be present only for resources whose
/// StackResourceDriftStatus
is MODIFIED
. For more information, see Detecting Unregulated
/// Configuration Changes to Stacks and Resources.
structure PropertyDifference {
/// The fully-qualified path to the resource property.
@required
PropertyPath: PropertyPath
/// The expected property value of the resource property, as defined in the stack template and any values specified
/// as template parameters.
@required
ExpectedValue: PropertyValue
/// The actual property value of the resource property.
@required
ActualValue: PropertyValue
/// The type of property difference.
///
/// -
///
/// ADD
: A value has been added to a resource property that's 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).
///
///
@required
DifferenceType: DifferenceType
}
/// For extensions that are modules, a public third-party extension that must be activated in your account in order
/// for the module itself to be activated.
/// For more information, see Activating public modules for use in your
/// account in the CloudFormation User Guide.
structure RequiredActivatedType {
/// 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.
TypeNameAlias: TypeName
/// 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.
OriginalTypeName: TypeName
/// The publisher ID of the extension publisher.
PublisherId: PublisherId
/// A list of the major versions of the extension type that the macro supports.
SupportedMajorVersions: SupportedMajorVersions
}
/// The ResourceChange
structure describes the resource and the action that CloudFormation will
/// perform on it if you execute this change set.
structure ResourceChange {
/// 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 can't be determined).
Action: ChangeAction
/// The resource's logical ID, which is defined in the stack's template.
LogicalResourceId: LogicalResourceId
/// The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they
/// haven't been created.
PhysicalResourceId: PhysicalResourceId
/// The type of CloudFormation resource, such as AWS::S3::Bucket
.
ResourceType: ResourceType
/// 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
.
Replacement: Replacement
/// 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
.
Scope: Scope
/// For the Modify
action, a list of ResourceChangeDetail
structures that describes the
/// changes that CloudFormation will make to the resource.
Details: ResourceChangeDetails
/// The change set ID of the nested change set.
ChangeSetId: ChangeSetId
/// Contains information about the module from which the resource was created, if the resource was created from a
/// module included in the stack template.
ModuleInfo: ModuleInfo
}
/// For a resource with Modify
as the action, the ResourceChange
structure describes the
/// changes CloudFormation will make to that resource.
structure ResourceChangeDetail {
/// A ResourceTargetDefinition
structure that describes the field that CloudFormation will change
/// and whether the resource will be recreated.
Target: ResourceTargetDefinition
/// 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, can't 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's 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.
Evaluation: EvaluationType
/// 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.
///
///
ChangeSource: ChangeSource
/// The identity of the entity that triggered this change. This entity is a member of the group that's 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
.
CausingEntity: CausingEntity
}
/// Describes the target resources of a specific type in your import template (for example, all
/// AWS::S3::Bucket
resources) and the properties you can provide during the import to identify resources
/// of that type.
structure ResourceIdentifierSummary {
/// The template resource type of the target resources, such as AWS::S3::Bucket
.
ResourceType: ResourceType
/// The logical IDs of the target resources of the specified ResourceType
, as defined in the import
/// template.
LogicalResourceIds: LogicalResourceIds
/// 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.
ResourceIdentifiers: ResourceIdentifiers
}
/// The field that CloudFormation will change, such as the name of a resource's property, and whether the
/// resource will be recreated.
structure ResourceTargetDefinition {
/// Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
/// Metadata
, Properties
, or Tags
.
Attribute: ResourceAttribute
/// If the Attribute
value is Properties
, the name of the property. For all other
/// attributes, the value is null.
Name: PropertyName
/// 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.
RequiresRecreation: RequiresRecreation
}
/// Describes the target resource of an import operation.
structure ResourceToImport {
/// 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.
@required
ResourceType: ResourceType
/// The logical ID of the target resource as specified in the template.
@required
LogicalResourceId: LogicalResourceId
/// 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
).
@required
ResourceIdentifier: ResourceIdentifierProperties
}
/// Structure containing the rollback triggers for CloudFormation to monitor during stack creation and updating operations,
/// and for the specified monitoring period afterwards.
/// Rollback triggers enable you to have CloudFormation monitor the state of your application during stack creation and
/// updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've
/// specified. For more information, see Monitor and Roll Back Stack
/// Operations.
structure RollbackConfiguration {
/// 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 specified 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.
RollbackTriggers: RollbackTriggers
/// 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 don't 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.
MonitoringTimeInMinutes: MonitoringTimeInMinutes
}
/// A rollback trigger CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes
/// to ALARM state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.
structure RollbackTrigger {
/// The Amazon Resource Name (ARN) of the rollback trigger.
/// If a specified trigger is missing, the entire stack operation fails and is rolled back.
@required
Arn: Arn
/// The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
@required
Type: Type
}
/// The Stack data type.
structure Stack {
/// Unique identifier of the stack.
StackId: StackId
/// The name associated with the stack.
@required
StackName: StackName
/// The unique ID of the change set.
ChangeSetId: ChangeSetId
/// A user-defined description associated with the stack.
Description: Description
/// A list of Parameter
structures.
Parameters: Parameters
/// The time at which the stack was created.
@required
CreationTime: CreationTime
/// The time the stack was deleted.
DeletionTime: DeletionTime
/// The time the stack was last updated. This field will only be returned if the stack has been updated at least
/// once.
LastUpdatedTime: LastUpdatedTime
/// The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for
/// the specified monitoring period afterwards.
RollbackConfiguration: RollbackConfiguration
/// Current status of the stack.
@required
StackStatus: StackStatus
/// Success/failure message associated with the stack status.
StackStatusReason: StackStatusReason
/// Boolean to enable or disable rollback on stack creation failures:
///
/// -
///
/// true
: disable rollback.
///
/// -
///
/// false
: enable rollback.
///
///
DisableRollback: DisableRollback
/// Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
NotificationARNs: NotificationARNs
/// The amount of time within which stack creation should complete.
TimeoutInMinutes: TimeoutMinutes
/// The capabilities allowed in the stack.
Capabilities: Capabilities
/// A list of output structures.
Outputs: Outputs
/// The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the
/// stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.
RoleARN: RoleARN
/// A list of Tag
s that specify information about the stack.
Tags: Tags
/// Whether termination protection is enabled for the stack.
/// For nested
/// stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.
/// For more information, see Protecting a Stack From Being Deleted
/// in the CloudFormation User Guide.
EnableTerminationProtection: EnableTerminationProtection
/// 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.
ParentId: StackId
/// 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.
RootId: StackId
/// Information about whether a stack'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.
DriftInformation: StackDriftInformation
/// When set to true
, newly created resources are deleted when the operation rolls back. This includes newly
/// created resources marked with a deletion policy of Retain
.
/// Default: false
///
RetainExceptOnCreate: RetainExceptOnCreate
}
/// Contains information about whether the stack's actual configuration differs, or has
/// drifted, from its expected configuration, as defined in the stack template and any values
/// specified as template parameters. A stack is considered to have drifted if one or more of its resources have
/// drifted.
structure StackDriftInformation {
/// 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 hasn't 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.
///
///
@required
StackDriftStatus: StackDriftStatus
/// Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources
/// that support drift detection.
LastCheckTimestamp: Timestamp
}
/// Contains information about whether the stack's actual configuration differs, or has
/// drifted, from its expected configuration, as defined in the stack template and any values
/// specified as template parameters. A stack is considered to have drifted if one or more of its resources have
/// drifted.
structure StackDriftInformationSummary {
/// 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 hasn't 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.
///
///
@required
StackDriftStatus: StackDriftStatus
/// Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources
/// that support drift detection.
LastCheckTimestamp: Timestamp
}
/// The StackEvent data type.
structure StackEvent {
/// The unique ID name of the instance of the stack.
@required
StackId: StackId
/// The unique ID of this event.
@required
EventId: EventId
/// The name associated with a stack.
@required
StackName: StackName
/// The logical name of the resource specified in the template.
LogicalResourceId: LogicalResourceId
/// The name or unique identifier associated with the physical instance of the resource.
PhysicalResourceId: PhysicalResourceId
/// Type of resource. (For more information, go to Amazon Web Services Resource Types
/// Reference in the CloudFormation User Guide.)
ResourceType: ResourceType
/// Time the status was updated.
@required
Timestamp: Timestamp
/// Current status of the resource.
ResourceStatus: ResourceStatus
/// Success/failure message associated with the resource.
ResourceStatusReason: ResourceStatusReason
/// BLOB of the properties used to create the resource.
ResourceProperties: ResourceProperties
/// 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
.
ClientRequestToken: ClientRequestToken
/// The name of the hook.
HookType: HookType
/// Provides the status of the change set hook.
HookStatus: HookStatus
/// Provides the reason for the hook status.
HookStatusReason: HookStatusReason
/// Invocation points are points in provisioning logic where hooks are initiated.
HookInvocationPoint: HookInvocationPoint
/// Specify the hook failure mode for non-compliant resources in the followings ways.
///
/// -
///
/// FAIL
Stops provisioning resources.
///
/// -
///
/// WARN
Allows provisioning to continue with a warning message.
///
///
HookFailureMode: HookFailureMode
}
/// An CloudFormation stack, in a specific account and Region, that's part of a stack set operation. A stack
/// instance is a reference to an attempted or actual stack in a given account within a given Region. A stack instance
/// can exist without a stack—for example, if the stack couldn't be created for some reason. A stack instance is
/// associated with only one stack set. Each stack instance contains the ID of its associated stack set, in addition to
/// the ID of the actual stack and the stack status.
structure StackInstance {
/// The name or unique ID of the stack set that the stack instance is associated with.
StackSetId: StackSetId
/// The name of the Amazon Web Services Region that the stack instance is associated with.
Region: Region
/// [Self-managed permissions] The name of the Amazon Web Services account that the stack instance is associated
/// with.
Account: Account
/// The ID of the stack instance.
StackId: StackId
/// A list of parameters from the stack set template whose values have been overridden in this stack
/// instance.
ParameterOverrides: Parameters
/// 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.
///
///
Status: StackInstanceStatus
/// The detailed status of the stack instance.
StackInstanceStatus: StackInstanceComprehensiveStatus
/// The explanation for the specific status code that's assigned to this stack instance.
StatusReason: Reason
/// [Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for
/// DeploymentTargets.
OrganizationalUnitId: OrganizationalUnitId
/// 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 hasn't 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.
///
///
DriftStatus: StackDriftStatus
/// 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 hasn't yet been performed.
LastDriftCheckTimestamp: Timestamp
/// The last unique ID of a StackSet operation performed on a stack instance.
LastOperationId: ClientRequestToken
}
/// The detailed status of the stack instance.
structure StackInstanceComprehensiveStatus {
///
/// -
///
/// CANCELLED
: The operation in the specified account and Region has been canceled. 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.
///
/// -
///
/// SKIPPED_SUSPENDED_ACCOUNT
: The operation in the specified account and Region has been skipped
/// because the account was suspended at the time of the operation.
///
/// -
///
/// SUCCEEDED
: The operation in the specified account and Region completed successfully.
///
///
DetailedStatus: StackInstanceDetailedStatus
}
/// The filter to apply to stack instances
structure StackInstanceFilter {
/// The type of filter to apply.
Name: StackInstanceFilterName
/// The status to filter by.
Values: StackInstanceFilterValues
}
/// The specified stack instance doesn't exist.
@awsQueryError(
code: "StackInstanceNotFoundException"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure StackInstanceNotFoundException {
Message: ErrorMessage
}
/// The structure containing summary information about resource drifts for a stack
/// instance.
structure StackInstanceResourceDriftsSummary {
/// The ID of the stack instance.
@required
StackId: StackId
/// The logical name of the resource specified in the template.
@required
LogicalResourceId: LogicalResourceId
/// The name or unique identifier that corresponds to a physical instance ID of a resource
/// supported by CloudFormation.
PhysicalResourceId: PhysicalResourceId
/// 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 aren't enough
/// to uniquely identify that resource. Each context key-value pair specifies a unique resource
/// that contains the targeted resource.
PhysicalResourceIdContext: PhysicalResourceIdContext
/// Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User
/// Guide.
@required
ResourceType: ResourceType
/// Status of the actual configuration of the resource compared to its expected
/// configuration. These will be present only for resources whose
/// StackInstanceResourceDriftStatus
is MODIFIED
.
PropertyDifferences: PropertyDifferences
/// The drift status of the resource in a stack instance.
///
/// -
///
/// 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 resource's actual configuration matches its expected
/// template configuration.
///
/// -
///
/// NOT_CHECKED
: CloudFormation doesn't currently return this value.
///
///
@required
StackResourceDriftStatus: StackResourceDriftStatus
/// Time at which the stack instance drift detection operation was initiated.
@required
Timestamp: Timestamp
}
/// The structure that contains summary information about a stack instance.
structure StackInstanceSummary {
/// The name or unique ID of the stack set that the stack instance is associated with.
StackSetId: StackSetId
/// The name of the Amazon Web Services Region that the stack instance is associated with.
Region: Region
/// [Self-managed permissions] The name of the Amazon Web Services account that the stack instance is associated
/// with.
Account: Account
/// The ID of the stack instance.
StackId: StackId
/// 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.
///
///
Status: StackInstanceStatus
/// The explanation for the specific status code assigned to this stack instance.
StatusReason: Reason
/// The detailed status of the stack instance.
StackInstanceStatus: StackInstanceComprehensiveStatus
/// [Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for
/// DeploymentTargets.
OrganizationalUnitId: OrganizationalUnitId
/// 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 hasn't 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.
///
///
DriftStatus: StackDriftStatus
/// 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 hasn't yet been performed.
LastDriftCheckTimestamp: Timestamp
/// The last unique ID of a StackSet operation performed on a stack instance.
LastOperationId: ClientRequestToken
}
/// The specified stack ARN doesn't exist or stack doesn't exist corresponding to the ARN in input.
@awsQueryError(
code: "StackNotFoundException"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure StackNotFoundException {
Message: ErrorMessage
}
/// The StackResource data type.
structure StackResource {
/// The name associated with the stack.
StackName: StackName
/// Unique identifier of the stack.
StackId: StackId
/// The logical name of the resource specified in the template.
@required
LogicalResourceId: LogicalResourceId
/// The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
PhysicalResourceId: PhysicalResourceId
/// Type of resource. For more information, go to Amazon Web Services Resource Types
/// Reference in the CloudFormation User Guide.
@required
ResourceType: ResourceType
/// Time the status was updated.
@required
Timestamp: Timestamp
/// Current status of the resource.
@required
ResourceStatus: ResourceStatus
/// Success/failure message associated with the resource.
ResourceStatusReason: ResourceStatusReason
/// User defined description associated with the resource.
Description: Description
/// 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.
DriftInformation: StackResourceDriftInformation
/// Contains information about the module from which the resource was created, if the resource was created from a
/// module included in the stack template.
ModuleInfo: ModuleInfo
}
/// Contains detailed information about the specified stack resource.
structure StackResourceDetail {
/// The name associated with the stack.
StackName: StackName
/// Unique identifier of the stack.
StackId: StackId
/// The logical name of the resource specified in the template.
@required
LogicalResourceId: LogicalResourceId
/// The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
PhysicalResourceId: PhysicalResourceId
/// Type of resource. For more information, go to Amazon Web Services Resource Types
/// Reference in the CloudFormation User Guide.
@required
ResourceType: ResourceType
/// Time the status was updated.
@required
LastUpdatedTimestamp: Timestamp
/// Current status of the resource.
@required
ResourceStatus: ResourceStatus
/// Success/failure message associated with the resource.
ResourceStatusReason: ResourceStatusReason
/// User defined description associated with the resource.
Description: Description
/// The content of the Metadata
attribute declared for the resource. For more information, see Metadata Attribute
/// in the CloudFormation User Guide.
Metadata: Metadata
/// 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.
DriftInformation: StackResourceDriftInformation
/// Contains information about the module from which the resource was created, if the resource was created from a
/// module included in the stack template.
ModuleInfo: ModuleInfo
}
/// Contains the drift information for a resource that has been checked for drift. This includes actual and expected
/// property values for resources in which CloudFormation has detected drift. Only resource properties explicitly defined in the
/// stack template are checked for drift. For more information, see Detecting Unregulated Configuration Changes to
/// Stacks and Resources.
/// Resources that don't currently support drift detection can't be checked. For a list of resources that support
/// drift detection, see Resources that Support Drift
/// Detection.
/// Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.
structure StackResourceDrift {
/// The ID of the stack.
@required
StackId: StackId
/// The logical name of the resource specified in the template.
@required
LogicalResourceId: LogicalResourceId
/// The name or unique identifier that corresponds to a physical instance ID of a resource supported by
/// CloudFormation.
PhysicalResourceId: PhysicalResourceId
/// 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 aren't enough to uniquely identify that resource. Each context
/// key-value pair specifies a unique resource that contains the targeted resource.
PhysicalResourceIdContext: PhysicalResourceIdContext
/// The type of the resource.
@required
ResourceType: ResourceType
/// 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.
ExpectedProperties: Properties
/// A JSON structure containing the actual property values of the stack resource.
/// For resources whose StackResourceDriftStatus
is DELETED
, this structure will not be
/// present.
ActualProperties: Properties
/// 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
.
PropertyDifferences: PropertyDifferences
/// 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 resource's actual configuration matches its expected template configuration.
///
/// -
///
/// NOT_CHECKED
: CloudFormation does not currently return this value.
///
///
@required
StackResourceDriftStatus: StackResourceDriftStatus
/// Time at which CloudFormation performed drift detection on the stack resource.
@required
Timestamp: Timestamp
/// Contains information about the module from which the resource was created, if the resource was created from a
/// module included in the stack template.
ModuleInfo: ModuleInfo
}
/// Contains information about whether the resource's actual configuration differs, or has
/// drifted, from its expected configuration.
structure StackResourceDriftInformation {
/// 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 resource's actual configuration matches its expected configuration.
///
///
@required
StackResourceDriftStatus: StackResourceDriftStatus
/// When CloudFormation last checked if the resource had drifted from its expected configuration.
LastCheckTimestamp: Timestamp
}
/// Summarizes information about whether the resource's actual configuration differs, or has
/// drifted, from its expected configuration.
structure StackResourceDriftInformationSummary {
/// 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 hasn't checked if the resource differs from its expected configuration.
/// Any resources that don't 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 about skipping resources during rollback operations, see Continue Rolling
/// Back an Update in the CloudFormation User Guide.
///
/// -
///
/// IN_SYNC
: The resource's actual configuration matches its expected configuration.
///
///
@required
StackResourceDriftStatus: StackResourceDriftStatus
/// When CloudFormation last checked if the resource had drifted from its expected configuration.
LastCheckTimestamp: Timestamp
}
/// Contains high-level information about the specified stack resource.
structure StackResourceSummary {
/// The logical name of the resource specified in the template.
@required
LogicalResourceId: LogicalResourceId
/// The name or unique identifier that corresponds to a physical instance ID of the resource.
PhysicalResourceId: PhysicalResourceId
/// Type of resource. (For more information, go to Amazon Web Services Resource Types
/// Reference in the CloudFormation User Guide.)
@required
ResourceType: ResourceType
/// Time the status was updated.
@required
LastUpdatedTimestamp: Timestamp
/// Current status of the resource.
@required
ResourceStatus: ResourceStatus
/// Success/failure message associated with the resource.
ResourceStatusReason: ResourceStatusReason
/// 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.
DriftInformation: StackResourceDriftInformationSummary
/// Contains information about the module from which the resource was created, if the resource was created from a
/// module included in the stack template.
ModuleInfo: ModuleInfo
}
/// A structure that contains information about a stack set. A stack set enables you to provision stacks into
/// Amazon Web Services accounts and across Regions by using a single CloudFormation template. In the stack set,
/// you specify the template to use, in addition to any parameters and capabilities that the template requires.
structure StackSet {
/// The name that's associated with the stack set.
StackSetName: StackSetName
/// The ID of the stack set.
StackSetId: StackSetId
/// A description of the stack set that you specify when the stack set is created or updated.
Description: Description
/// The status of the stack set.
Status: StackSetStatus
/// The structure that contains the body of the template that was used to create or update the stack set.
TemplateBody: TemplateBody
/// A list of input parameters for a stack set.
Parameters: Parameters
/// 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.
///
Capabilities: Capabilities
/// A list of tags that specify information about the stack set. A maximum number of 50 tags can be
/// specified.
Tags: Tags
/// The Amazon Resource Name (ARN) of the stack set.
StackSetARN: StackSetARN
/// The Amazon Resource Name (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.
AdministrationRoleARN: RoleARN
/// 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.
ExecutionRoleName: ExecutionRoleName
/// 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 isn't included.
StackSetDriftDetectionDetails: StackSetDriftDetectionDetails
/// [Service-managed permissions] Describes whether StackSets automatically deploys to Organizations
/// accounts that are added to a target organization or organizational unit (OU).
AutoDeployment: AutoDeployment
/// Describes how the IAM roles required for stack set operations are created.
///
/// -
///
With self-managed
permissions, you must create the administrator and execution roles required to
/// deploy to target accounts. For more information, see Grant Self-Managed Stack Set
/// Permissions.
///
/// -
///
With service-managed
permissions, StackSets automatically creates the IAM roles
/// required to deploy to accounts managed by Organizations. For more information, see Grant
/// Service-Managed Stack Set Permissions.
///
///
PermissionModel: PermissionModels
/// [Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for
/// DeploymentTargets.
OrganizationalUnitIds: OrganizationalUnitIdList
/// Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting
/// operations.
ManagedExecution: ManagedExecution
/// Returns a list of all Amazon Web Services Regions the given StackSet has stack instances deployed in. The Amazon Web Services Regions list output is in no particular order.
Regions: RegionList
}
/// 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 in-progress isn't included.
/// For stack set operations, includes information about drift operations currently being performed on the stack
/// set.
/// For more information, see Detecting unmanaged changes in stack sets in
/// the CloudFormation User Guide.
structure StackSetDriftDetectionDetails {
/// 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 hasn't 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.
///
///
DriftStatus: StackSetDriftStatus
/// 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 canceled the drift detection operation.
///
///
DriftDetectionStatus: StackSetDriftDetectionStatus
/// 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 hasn't yet been performed.
LastDriftCheckTimestamp: Timestamp
/// 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.
///
///
TotalStackInstancesCount: TotalStackInstancesCount = 0
/// 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
/// don't match their expected configuration.
DriftedStackInstancesCount: DriftedStackInstancesCount = 0
/// The number of stack instances which match the expected template and parameter configuration of the stack
/// set.
InSyncStackInstancesCount: InSyncStackInstancesCount = 0
/// The number of stack instances that are currently being checked for drift.
InProgressStackInstancesCount: InProgressStackInstancesCount = 0
/// The number of stack instances for which the drift detection operation failed.
FailedStackInstancesCount: FailedStackInstancesCount = 0
}
/// You can't yet delete this stack set, because it still contains one or more stack instances. Delete all stack
/// instances from the stack set before deleting the stack set.
@awsQueryError(
code: "StackSetNotEmptyException"
httpResponseCode: 409
)
@error("client")
@httpError(409)
structure StackSetNotEmptyException {
Message: ErrorMessage
}
/// The specified stack set doesn't exist.
@awsQueryError(
code: "StackSetNotFoundException"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure StackSetNotFoundException {
Message: ErrorMessage
}
/// The structure that contains information about a stack set operation.
structure StackSetOperation {
/// The unique ID of a stack set operation.
OperationId: ClientRequestToken
/// The ID of the stack set.
StackSetId: StackSetId
/// 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, in addition to all associated stack set
/// instances.
Action: StackSetOperationAction
/// 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 canceled 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.
///
///
Status: StackSetOperationStatus
/// The preferences for how CloudFormation performs this stack set operation.
OperationPreferences: StackSetOperationPreferences
/// 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 re-associate a retained stack, or add an
/// existing, saved stack to a new stack set.
RetainStacks: RetainStacksNullable
/// The Amazon Resource Name (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.
AdministrationRoleARN: RoleARN
/// 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.
ExecutionRoleName: ExecutionRoleName
/// 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.
CreationTimestamp: Timestamp
/// 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.
EndTimestamp: Timestamp
/// [Service-managed permissions] The Organizations accounts affected by the stack operation.
DeploymentTargets: DeploymentTargets
/// 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.
StackSetDriftDetectionDetails: StackSetDriftDetectionDetails
/// The status of the operation in details.
StatusReason: StackSetOperationStatusReason
/// Detailed information about the StackSet operation.
StatusDetails: StackSetOperationStatusDetails
}
/// The user-specified preferences for how CloudFormation performs a stack set operation.
/// For more information about maximum concurrent accounts and failure tolerance, see Stack set operation
/// options.
structure StackSetOperationPreferences {
/// The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a
/// time.
RegionConcurrencyType: RegionConcurrencyType
/// The order of the Regions where you want to perform the stack operation.
RegionOrder: RegionList
/// 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.
FailureToleranceCount: FailureToleranceCount
/// 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.
FailureTolerancePercentage: FailureTolerancePercentage
/// 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.
MaxConcurrentCount: MaxConcurrentCount
/// 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.
MaxConcurrentPercentage: MaxConcurrentPercentage
}
/// The structure that contains information about a specified operation's results for a given account in a given
/// Region.
structure StackSetOperationResultSummary {
/// [Self-managed permissions] The name of the Amazon Web Services account for this operation result.
Account: Account
/// The name of the Amazon Web Services Region for this operation result.
Region: Region
/// 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 canceled. 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.
///
///
Status: StackSetOperationResultStatus
/// The reason for the assigned result status.
StatusReason: Reason
/// The results of the account gate function CloudFormation invokes, if present, before proceeding with stack
/// set operations in an account.
AccountGateResult: AccountGateResult
/// [Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for
/// DeploymentTargets.
OrganizationalUnitId: OrganizationalUnitId
}
/// Detailed information about the StackSet operation.
structure StackSetOperationStatusDetails {
/// The number of stack instances for which the StackSet operation failed.
FailedStackInstancesCount: FailedStackInstancesCount = 0
}
/// The structures that contain summary information about the specified operation.
structure StackSetOperationSummary {
/// The unique ID of the stack set operation.
OperationId: ClientRequestToken
/// 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 and all associated stack set instances.
Action: StackSetOperationAction
/// 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 canceled 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.
///
///
Status: StackSetOperationStatus
/// 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.
CreationTimestamp: Timestamp
/// 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.
EndTimestamp: Timestamp
/// The status of the operation in details.
StatusReason: StackSetOperationStatusReason
/// Detailed information about the stack set operation.
StatusDetails: StackSetOperationStatusDetails
/// The user-specified preferences for how CloudFormation performs a stack set operation.
/// For more information about maximum concurrent accounts and failure tolerance, see Stack set operation
/// options.
OperationPreferences: StackSetOperationPreferences
}
/// The structures that contain summary information about the specified stack set.
structure StackSetSummary {
/// The name of the stack set.
StackSetName: StackSetName
/// The ID of the stack set.
StackSetId: StackSetId
/// A description of the stack set that you specify when the stack set is created or updated.
Description: Description
/// The status of the stack set.
Status: StackSetStatus
/// [Service-managed permissions] Describes whether StackSets automatically deploys to Organizations
/// accounts that are added to a target organizational unit (OU).
AutoDeployment: AutoDeployment
/// Describes how the IAM roles required for stack set operations are created.
///
/// -
///
With self-managed
permissions, you must create the administrator and execution roles required to
/// deploy to target accounts. For more information, see Grant Self-Managed Stack Set
/// Permissions.
///
/// -
///
With service-managed
permissions, StackSets automatically creates the IAM roles
/// required to deploy to accounts managed by Organizations. For more information, see Grant
/// Service-Managed Stack Set Permissions.
///
///
PermissionModel: PermissionModels
/// 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 hasn't checked the stack set for drift.
///
/// -
///
/// IN_SYNC
: All 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.
///
///
DriftStatus: StackDriftStatus
/// 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 hasn't yet been performed.
LastDriftCheckTimestamp: Timestamp
/// Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting
/// operations.
ManagedExecution: ManagedExecution
}
/// The StackSummary Data Type
structure StackSummary {
/// Unique stack identifier.
StackId: StackId
/// The name associated with the stack.
@required
StackName: StackName
/// The template description of the template used to create the stack.
TemplateDescription: TemplateDescription
/// The time the stack was created.
@required
CreationTime: CreationTime
/// The time the stack was last updated. This field will only be returned if the stack has been updated at least
/// once.
LastUpdatedTime: LastUpdatedTime
/// The time the stack was deleted.
DeletionTime: DeletionTime
/// The current status of the stack.
@required
StackStatus: StackStatus
/// Success/Failure message associated with the stack status.
StackStatusReason: StackStatusReason
/// 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.
ParentId: StackId
/// 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.
RootId: StackId
/// Summarizes information about whether a stack'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.
DriftInformation: StackDriftInformationSummary
}
/// Another operation has been performed on this stack set since the specified operation was performed.
@awsQueryError(
code: "StaleRequestException"
httpResponseCode: 409
)
@error("client")
@httpError(409)
structure StaleRequestException {
Message: ErrorMessage
}
/// The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.
structure Tag {
///
/// 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:
.
@required
Key: TagKey
///
/// Required. A string containing the value for this tag. You can specify a maximum of 256
/// characters for a tag value.
@required
Value: TagValue
}
/// The TemplateParameter data type.
structure TemplateParameter {
/// The name associated with the parameter.
ParameterKey: ParameterKey
/// The default value associated with the parameter.
DefaultValue: ParameterValue
/// Flag indicating whether the parameter should be displayed as plain text in logs and UIs.
NoEcho: NoEcho
/// User defined description associated with the parameter.
Description: Description
}
/// Options for the GetTemplateSummary
API action.
structure TemplateSummaryConfig {
/// If set to True
, any unrecognized resource types generate warnings and not an error. Any
/// unrecognized resource types are returned in the Warnings
output parameter.
TreatUnrecognizedResourceTypesAsWarnings: TreatUnrecognizedResourceTypesAsWarnings
}
/// A client request token already exists.
@awsQueryError(
code: "TokenAlreadyExistsException"
httpResponseCode: 400
)
@error("client")
@httpError(400)
structure TokenAlreadyExistsException {
Message: ErrorMessage
}
/// Detailed information concerning the specification of a CloudFormation extension in a given account and
/// Region.
/// For more information, see Configuring extensions at
/// the account level in the CloudFormation User Guide.
structure TypeConfigurationDetails {
/// The Amazon Resource Name (ARN) for the configuration data, in this account and Region.
Arn: TypeConfigurationArn
/// The alias specified for this configuration, if one was specified when the configuration was set.
Alias: TypeConfigurationAlias
/// A JSON string specifying the configuration data for the extension, in this account and Region.
/// If a configuration hasn't been set for a specified extension, CloudFormation returns
/// {}
.
Configuration: TypeConfiguration
/// When the configuration data was last updated for this extension.
/// If a configuration hasn't been set for a specified extension, CloudFormation returns
/// null
.
LastUpdated: Timestamp
/// 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.
TypeArn: TypeArn
/// The name of the extension.
TypeName: TypeName
/// Whether this configuration data is the default configuration for the extension.
IsDefaultConfiguration: IsDefaultConfiguration
}
/// Identifying information for the configuration of a CloudFormation extension.
structure TypeConfigurationIdentifier {
/// 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.
TypeArn: TypeArn
/// The alias specified for this configuration, if one was specified when the configuration was set.
TypeConfigurationAlias: TypeConfigurationAlias
/// The Amazon Resource Name (ARN) for the configuration, in this account and Region.
TypeConfigurationArn: TypeConfigurationArn
/// The type of extension.
Type: ThirdPartyType
/// The name of the extension type to which this configuration applies.
TypeName: TypeName
}
/// The specified extension configuration can't be found.
@awsQueryError(
code: "TypeConfigurationNotFoundException"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure TypeConfigurationNotFoundException {
/// An message with details about the error that occurred.
Message: ErrorMessage
}
/// Filter criteria to use in determining which extensions to return.
structure TypeFilters {
/// 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.
///
///
Category: Category
/// The id of the publisher of the extension.
/// Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES
category to
/// specify a list of types published by Amazon.
PublisherId: PublisherId
/// A prefix to use as a filter for results.
TypeNamePrefix: TypeNamePrefix
}
/// The specified extension doesn't exist in the CloudFormation registry.
@awsQueryError(
code: "TypeNotFoundException"
httpResponseCode: 404
)
@error("client")
@httpError(404)
structure TypeNotFoundException {
/// An message with details about the error that occurred.
Message: ErrorMessage
}
/// Contains summary information about the specified CloudFormation extension.
structure TypeSummary {
/// The kind of extension.
Type: RegistryType
/// 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.
TypeName: TypeName
/// The ID of the default version of the extension. The default version is used when the extension version isn't
/// 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.
DefaultVersionId: TypeVersionId
/// The Amazon Resource Name (ARN) of the extension.
TypeArn: TypeArn
/// 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
.
LastUpdated: Timestamp
/// The description of the extension.
Description: Description
/// The ID of the extension publisher, if the extension is published by a third party. Extensions published by
/// Amazon don't return a publisher ID.
PublisherId: PublisherId
/// 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.
OriginalTypeName: TypeName
/// 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 extension 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.
PublicVersionNumber: PublicVersionNumber
/// 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 extension 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.
LatestPublicVersion: PublicVersionNumber
/// 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.
PublisherIdentity: IdentityProvider
/// The publisher name, as defined in the public profile for that publisher in the service used to verify the
/// publisher identity.
PublisherName: PublisherName
/// Whether 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.
IsActivated: IsActivated
}
/// Contains summary information about a specific version of a CloudFormation extension.
structure TypeVersionSummary {
/// The kind of extension.
Type: RegistryType
/// The name of the extension.
TypeName: TypeName
/// 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's registered.
VersionId: TypeVersionId
/// 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, CloudFormation returns null
.
IsDefaultVersion: IsDefaultVersion
/// The Amazon Resource Name (ARN) of the extension version.
Arn: TypeArn
/// When the version was registered.
TimeCreated: Timestamp
/// The description of the extension version.
Description: Description
/// 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 extension 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.
PublicVersionNumber: PublicVersionNumber
}
/// Contains any warnings returned by the GetTemplateSummary
API action.
structure Warnings {
/// A list of all of the unrecognized resource types. This is only returned if the
/// TemplateSummaryConfig
parameter has the TreatUnrecognizedResourceTypesAsWarning
/// configuration set to True
.
UnrecognizedResourceTypes: ResourceTypes
}
list AccountLimitList {
member: AccountLimit
}
list AccountList {
member: Account
}
list AllowedValues {
member: AllowedValue
}
list BatchDescribeTypeConfigurationsErrors {
member: BatchDescribeTypeConfigurationsError
}
list Capabilities {
member: Capability
}
list Changes {
member: Change
}
list ChangeSetHooks {
member: ChangeSetHook
}
list ChangeSetSummaries {
member: ChangeSetSummary
}
list Exports {
member: Export
}
list Imports {
member: StackName
}
@length(
min: 1
max: 200
)
list LogicalResourceIds {
member: LogicalResourceId
}
@length(
min: 0
max: 5
)
list NotificationARNs {
member: NotificationARN
}
@length(
min: 0
max: 1
)
list OperationResultFilters {
member: OperationResultFilter
}
list OrganizationalUnitIdList {
member: OrganizationalUnitId
}
list Outputs {
member: Output
}
list ParameterDeclarations {
member: ParameterDeclaration
}
list Parameters {
member: Parameter
}
@length(
min: 0
max: 5
)
list PhysicalResourceIdContext {
member: PhysicalResourceIdContextKeyValuePair
}
list PropertyDifferences {
member: PropertyDifference
}
list RegionList {
member: Region
}
list RegistrationTokenList {
member: RegistrationToken
}
list RequiredActivatedTypes {
member: RequiredActivatedType
}
list ResourceChangeDetails {
member: ResourceChangeDetail
}
list ResourceIdentifiers {
member: ResourceIdentifierPropertyKey
}
list ResourceIdentifierSummaries {
member: ResourceIdentifierSummary
}
@length(
min: 0
max: 200
)
list ResourcesToImport {
member: ResourceToImport
}
list ResourcesToSkip {
member: ResourceToSkip
}
list ResourceTypes {
member: ResourceType
}
list RetainResources {
member: LogicalResourceId
}
@length(
min: 0
max: 5
)
list RollbackTriggers {
member: RollbackTrigger
}
list Scope {
member: ResourceAttribute
}
list StackEvents {
member: StackEvent
}
list StackIdList {
member: StackId
}
@length(
min: 0
max: 3
)
list StackInstanceFilters {
member: StackInstanceFilter
}
list StackInstanceResourceDriftsSummaries {
member: StackInstanceResourceDriftsSummary
}
list StackInstanceSummaries {
member: StackInstanceSummary
}
list StackResourceDrifts {
member: StackResourceDrift
}
@length(
min: 1
max: 4
)
list StackResourceDriftStatusFilters {
member: StackResourceDriftStatus
}
list StackResources {
member: StackResource
}
list StackResourceSummaries {
member: StackResourceSummary
}
list Stacks {
member: Stack
}
list StackSetOperationResultSummaries {
member: StackSetOperationResultSummary
}
list StackSetOperationSummaries {
member: StackSetOperationSummary
}
list StackSetSummaries {
member: StackSetSummary
}
list StackStatusFilter {
member: StackStatus
}
list StackSummaries {
member: StackSummary
}
list StageList {
member: TemplateStage
}
list SupportedMajorVersions {
member: SupportedMajorVersion
}
@length(
min: 0
max: 50
)
list Tags {
member: Tag
}
list TemplateParameters {
member: TemplateParameter
}
list TransformsList {
member: TransformName
}
list TypeConfigurationDetailsList {
member: TypeConfigurationDetails
}
@length(
min: 1
)
list TypeConfigurationIdentifiers {
member: TypeConfigurationIdentifier
}
list TypeSummaries {
member: TypeSummary
}
list TypeVersionSummaries {
member: TypeVersionSummary
}
list UnprocessedTypeConfigurations {
member: TypeConfigurationIdentifier
}
@length(
min: 1
max: 256
)
map ResourceIdentifierProperties {
key: ResourceIdentifierPropertyKey
value: ResourceIdentifierPropertyValue
}
boolean AcceptTermsAndConditions
@pattern("^[0-9]{12}$")
string Account
enum AccountFilterType {
NONE
INTERSECTION
DIFFERENCE
UNION
}
enum AccountGateStatus {
SUCCEEDED
FAILED
SKIPPED
}
string AccountGateStatusReason
@length(
min: 1
max: 5120
)
@pattern("^(s3://|http(s?)://).+$")
string AccountsUrl
string AllowedValue
string Arn
boolean AutoDeploymentNullable
boolean AutoUpdate
integer BoxedInteger
@range(
min: 1
max: 100
)
integer BoxedMaxResults
enum CallAs {
SELF
DELEGATED_ADMIN
}
string CapabilitiesReason
enum Capability {
CAPABILITY_IAM
CAPABILITY_NAMED_IAM
CAPABILITY_AUTO_EXPAND
}
enum Category {
REGISTERED
ACTIVATED
THIRD_PARTY
AWS_TYPES
}
string CausingEntity
enum ChangeAction {
Add
Modify
Remove
Import
Dynamic
}
enum ChangeSetHooksStatus {
PLANNING
PLANNED
UNAVAILABLE
}
@length(
min: 1
)
@pattern("^arn:[-a-zA-Z0-9:/]*$")
string ChangeSetId
@length(
min: 1
max: 128
)
@pattern("^[a-zA-Z][-a-zA-Z0-9]*$")
string ChangeSetName
@length(
min: 1
max: 1600
)
@pattern("^[a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/]*$")
string ChangeSetNameOrId
enum ChangeSetStatus {
CREATE_PENDING
CREATE_IN_PROGRESS
CREATE_COMPLETE
DELETE_PENDING
DELETE_IN_PROGRESS
DELETE_COMPLETE
DELETE_FAILED
FAILED
}
string ChangeSetStatusReason
enum ChangeSetType {
CREATE
UPDATE
IMPORT
}
enum ChangeSource {
ResourceReference
ParameterReference
ResourceAttribute
DirectModification
Automatic
}
enum ChangeType {
Resource
}
@length(
min: 1
max: 128
)
@pattern("^[a-zA-Z0-9][-a-zA-Z0-9]*$")
string ClientRequestToken
@length(
min: 1
max: 128
)
string ClientToken
@length(
min: 1
max: 60000
)
@pattern("^[\\s\\S]+$")
string ConfigurationSchema
@length(
min: 1
max: 256
)
@pattern("^arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+$")
string ConnectionArn
timestamp CreationTime
timestamp DeletionTime
enum DeprecatedStatus {
LIVE
DEPRECATED
}
@length(
min: 1
max: 1024
)
string Description
enum DifferenceType {
ADD
REMOVE
NOT_EQUAL
}
boolean DisableRollback
@default(0)
@range(
min: 0
)
integer DriftedStackInstancesCount
boolean EnableTerminationProtection
@length(
min: 3
max: 3
)
string ErrorCode
@length(
min: 1
max: 255
)
string ErrorMessage
enum EvaluationType {
Static
Dynamic
}
string EventId
@length(
min: 1
max: 64
)
@pattern("^[a-zA-Z_0-9+=,.@-]+$")
string ExecutionRoleName
enum ExecutionStatus {
UNAVAILABLE
AVAILABLE
EXECUTE_IN_PROGRESS
EXECUTE_COMPLETE
EXECUTE_FAILED
OBSOLETE
}
string ExportName
string ExportValue
@default(0)
@range(
min: 0
)
integer FailedStackInstancesCount
@range(
min: 0
)
integer FailureToleranceCount
@range(
min: 0
max: 100
)
integer FailureTolerancePercentage
enum HandlerErrorCode {
NotUpdatable
InvalidRequest
AccessDenied
InvalidCredentials
AlreadyExists
NotFound
ResourceConflict
Throttling
ServiceLimitExceeded
ServiceTimeout = "NotStabilized"
GeneralServiceException
ServiceInternalError
NetworkFailure
InternalFailure
InvalidTypeConfiguration
HandlerInternalFailure
NonCompliant
Unknown
UnsupportedTarget
}
enum HookFailureMode {
FAIL
WARN
}
@range(
min: 1
max: 100
)
integer HookInvocationCount
enum HookInvocationPoint {
PRE_PROVISION
}
enum HookStatus {
HOOK_IN_PROGRESS
HOOK_COMPLETE_SUCCEEDED
HOOK_COMPLETE_FAILED
HOOK_FAILED
}
@length(
min: 1
max: 1024
)
string HookStatusReason
enum HookTargetType {
RESOURCE
}
@length(
min: 1
max: 256
)
@pattern("^[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}$")
string HookTargetTypeName
@length(
min: 1
max: 255
)
string HookType
@length(
min: 1
max: 128
)
@pattern("^[A-Za-z0-9-]+$")
string HookTypeConfigurationVersionId
@length(
min: 10
max: 196
)
string HookTypeName
@length(
min: 1
max: 128
)
@pattern("^[A-Za-z0-9-]+$")
string HookTypeVersionId
enum IdentityProvider {
AWS_Marketplace
GitHub
Bitbucket
}
boolean IncludeNestedStacks
@default(0)
@range(
min: 0
)
integer InProgressStackInstancesCount
@default(0)
@range(
min: 0
)
integer InSyncStackInstancesCount
boolean IsActivated
boolean IsDefaultConfiguration
boolean IsDefaultVersion
string Key
timestamp LastUpdatedTime
string LimitName
integer LimitValue
@length(
min: 1
max: 512
)
@pattern("^[\\.\\-_/#A-Za-z0-9]+$")
string LogGroupName
string LogicalIdHierarchy
string LogicalResourceId
@range(
min: 1
max: 100000
)
long MajorVersion
boolean ManagedExecutionNullable
@range(
min: 1
)
integer MaxConcurrentCount
@range(
min: 1
max: 100
)
integer MaxConcurrentPercentage
@range(
min: 1
max: 100
)
integer MaxResults
string Metadata
@range(
min: 0
max: 180
)
integer MonitoringTimeInMinutes
@length(
min: 1
max: 1024
)
string NextToken
boolean NoEcho
string NotificationARN
enum OnFailure {
DO_NOTHING
ROLLBACK
DELETE
}
enum OnStackFailure {
DO_NOTHING
ROLLBACK
DELETE
}
enum OperationResultFilterName {
OPERATION_RESULT_STATUS
}
@length(
min: 6
max: 9
)
@pattern("^\\S{6,9}$")
string OperationResultFilterValues
enum OperationStatus {
PENDING
IN_PROGRESS
SUCCESS
FAILED
}
@length(
min: 0
max: 4096
)
string OptionalSecureUrl
@pattern("^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$")
string OrganizationalUnitId
enum OrganizationStatus {
ENABLED
DISABLED
DISABLED_PERMANENTLY
}
string OutputKey
string OutputValue
string ParameterKey
string ParameterType
string ParameterValue
enum PermissionModels {
SERVICE_MANAGED
SELF_MANAGED
}
string PhysicalResourceId
@length(
min: 0
max: 1024
)
@pattern("^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:[0-9]{12}:type/.+$")
string PrivateTypeArn
string Properties
string PropertyName
string PropertyPath
string PropertyValue
enum ProvisioningType {
NON_PROVISIONABLE
IMMUTABLE
FULLY_MUTABLE
}
@length(
min: 5
)
@pattern("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(.*)$")
string PublicVersionNumber
@length(
min: 1
max: 40
)
@pattern("^[0-9a-zA-Z]{12,40}$")
string PublisherId
@length(
min: 1
max: 100
)
@pattern("^[\\s\\S]+$")
string PublisherName
@length(
min: 0
max: 1024
)
@pattern("^(http:|https:)+[^\\s]+[\\w]$")
string PublisherProfile
enum PublisherStatus {
VERIFIED
UNVERIFIED
}
string Reason
@pattern("^[a-zA-Z0-9-]{1,128}$")
string Region
enum RegionConcurrencyType {
SEQUENTIAL
PARALLEL
}
enum RegistrationStatus {
COMPLETE
IN_PROGRESS
FAILED
}
@length(
min: 1
max: 128
)
@pattern("^[a-zA-Z0-9][-a-zA-Z0-9]*$")
string RegistrationToken
enum RegistryType {
RESOURCE
MODULE
HOOK
}
enum Replacement {
True
False
Conditional
}
@length(
min: 1
max: 128
)
@pattern("^[a-zA-Z0-9][-a-zA-Z0-9]*$")
string RequestToken
enum RequiresRecreation {
Never
Conditionally
Always
}
enum ResourceAttribute {
Properties
Metadata
CreationPolicy
UpdatePolicy
DeletionPolicy
Tags
}
@length(
min: 1
max: 2048
)
string ResourceIdentifierPropertyKey
@length(
min: 1
max: 2048
)
string ResourceIdentifierPropertyValue
@length(
min: 1
max: 16384
)
string ResourceModel
string ResourceProperties
enum ResourceSignalStatus {
SUCCESS
FAILURE
}
@length(
min: 1
max: 64
)
string ResourceSignalUniqueId
enum ResourceStatus {
CREATE_IN_PROGRESS
CREATE_FAILED
CREATE_COMPLETE
DELETE_IN_PROGRESS
DELETE_FAILED
DELETE_COMPLETE
DELETE_SKIPPED
UPDATE_IN_PROGRESS
UPDATE_FAILED
UPDATE_COMPLETE
IMPORT_FAILED
IMPORT_COMPLETE
IMPORT_IN_PROGRESS
IMPORT_ROLLBACK_IN_PROGRESS
IMPORT_ROLLBACK_FAILED
IMPORT_ROLLBACK_COMPLETE
UPDATE_ROLLBACK_IN_PROGRESS
UPDATE_ROLLBACK_COMPLETE
UPDATE_ROLLBACK_FAILED
ROLLBACK_IN_PROGRESS
ROLLBACK_COMPLETE
ROLLBACK_FAILED
}
string ResourceStatusReason
@pattern("^[a-zA-Z0-9]+|[a-zA-Z][-a-zA-Z0-9]*\\.[a-zA-Z0-9]+$")
string ResourceToSkip
@length(
min: 1
max: 256
)
string ResourceType
boolean RetainExceptOnCreate
@default(false)
boolean RetainStacks
boolean RetainStacksNullable
boolean RetainStacksOnAccountRemovalNullable
@length(
min: 20
max: 2048
)
string RoleARN
@length(
min: 1
max: 256
)
@pattern("^arn:.+:iam::[0-9]{12}:role/.+$")
string RoleARN2
@length(
min: 3
max: 63
)
@pattern("^[\\s\\S]+$")
string S3Bucket
@length(
min: 1
max: 4096
)
string S3Url
@length(
min: 1
max: 36
)
string StackDriftDetectionId
enum StackDriftDetectionStatus {
DETECTION_IN_PROGRESS
DETECTION_FAILED
DETECTION_COMPLETE
}
string StackDriftDetectionStatusReason
enum StackDriftStatus {
DRIFTED
IN_SYNC
UNKNOWN
NOT_CHECKED
}
string StackId
@length(
min: 1
max: 5120
)
@pattern("^(s3://|http(s?)://).+$")
string StackIdsUrl
enum StackInstanceDetailedStatus {
PENDING
RUNNING
SUCCEEDED
FAILED
CANCELLED
INOPERABLE
SKIPPED_SUSPENDED_ACCOUNT
}
enum StackInstanceFilterName {
DETAILED_STATUS
LAST_OPERATION_ID
DRIFT_STATUS
}
@length(
min: 1
max: 128
)
@pattern("^\\S{1,128}$")
string StackInstanceFilterValues
enum StackInstanceStatus {
CURRENT
OUTDATED
INOPERABLE
}
string StackName
@length(
min: 1
)
@pattern("^([a-zA-Z][-a-zA-Z0-9]*)|(arn:\\b(aws|aws-us-gov|aws-cn)\\b:[-a-zA-Z0-9:/._+]*)$")
string StackNameOrId
@length(
min: 1
max: 16384
)
string StackPolicyBody
@length(
min: 1
max: 16384
)
string StackPolicyDuringUpdateBody
@length(
min: 1
max: 1350
)
string StackPolicyDuringUpdateURL
@length(
min: 1
max: 1350
)
string StackPolicyURL
enum StackResourceDriftStatus {
IN_SYNC
MODIFIED
DELETED
NOT_CHECKED
}
string StackSetARN
enum StackSetDriftDetectionStatus {
COMPLETED
FAILED
PARTIAL_SUCCESS
IN_PROGRESS
STOPPED
}
enum StackSetDriftStatus {
DRIFTED
IN_SYNC
NOT_CHECKED
}
string StackSetId
string StackSetName
@pattern("^[a-zA-Z][-a-zA-Z0-9]*(?::[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})?$")
string StackSetNameOrId
enum StackSetOperationAction {
CREATE
UPDATE
DELETE
DETECT_DRIFT
}
enum StackSetOperationResultStatus {
PENDING
RUNNING
SUCCEEDED
FAILED
CANCELLED
}
enum StackSetOperationStatus {
RUNNING
SUCCEEDED
FAILED
STOPPING
STOPPED
QUEUED
}
string StackSetOperationStatusReason
enum StackSetStatus {
ACTIVE
DELETED
}
enum StackStatus {
CREATE_IN_PROGRESS
CREATE_FAILED
CREATE_COMPLETE
ROLLBACK_IN_PROGRESS
ROLLBACK_FAILED
ROLLBACK_COMPLETE
DELETE_IN_PROGRESS
DELETE_FAILED
DELETE_COMPLETE
UPDATE_IN_PROGRESS
UPDATE_COMPLETE_CLEANUP_IN_PROGRESS
UPDATE_COMPLETE
UPDATE_FAILED
UPDATE_ROLLBACK_IN_PROGRESS
UPDATE_ROLLBACK_FAILED
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS
UPDATE_ROLLBACK_COMPLETE
REVIEW_IN_PROGRESS
IMPORT_IN_PROGRESS
IMPORT_COMPLETE
IMPORT_ROLLBACK_IN_PROGRESS
IMPORT_ROLLBACK_FAILED
IMPORT_ROLLBACK_COMPLETE
}
string StackStatusReason
@length(
min: 0
max: 1024
)
string StatusMessage
@range(
min: 1
max: 65535
)
integer SupportedMajorVersion
@length(
min: 1
max: 128
)
string TagKey
@length(
min: 1
max: 256
)
string TagValue
@length(
min: 1
)
string TemplateBody
string TemplateDescription
enum TemplateStage {
Original
Processed
}
@length(
min: 1
max: 1024
)
string TemplateURL
enum ThirdPartyType {
RESOURCE
MODULE
HOOK
}
@length(
min: 0
max: 1024
)
@pattern("^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}::type/.+/[0-9a-zA-Z]{12,40}/.+$")
string ThirdPartyTypeArn
@range(
min: 1
)
integer TimeoutMinutes
timestamp Timestamp
@default(0)
@range(
min: 0
)
integer TotalStackInstancesCount
string TransformName
boolean TreatUnrecognizedResourceTypesAsWarnings
string Type
@length(
min: 0
max: 1024
)
@pattern("^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+$")
string TypeArn
@length(
min: 1
max: 204800
)
@pattern("^[\\s\\S]+$")
string TypeConfiguration
@length(
min: 1
max: 256
)
@pattern("^[a-zA-Z0-9]{1,256}$")
string TypeConfigurationAlias
@length(
min: 0
max: 1024
)
@pattern("^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type-configuration/.+$")
string TypeConfigurationArn
string TypeHierarchy
@length(
min: 10
max: 204
)
@pattern("^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}$")
string TypeName
@length(
min: 1
max: 204
)
@pattern("^([A-Za-z0-9]{2,64}::){0,2}([A-Za-z0-9]{2,64}:?){0,1}$")
string TypeNamePrefix
@length(
min: 1
max: 16777216
)
string TypeSchema
enum TypeTestsStatus {
PASSED
FAILED
IN_PROGRESS
NOT_TESTED
}
@length(
min: 1
max: 1024
)
@pattern("^[\\s\\S]+$")
string TypeTestsStatusDescription
@length(
min: 1
max: 128
)
@pattern("^[A-Za-z0-9-]+$")
string TypeVersionId
string Url
boolean UsePreviousTemplate
boolean UsePreviousValue
string Value
string Version
enum VersionBump {
MAJOR
MINOR
}
enum Visibility {
PUBLIC
PRIVATE
}