Struct aws_sdk_cloudformation::client::Client
source · [−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Client for AWS CloudFormation
Client for invoking operations on AWS CloudFormation. Each operation on AWS CloudFormation is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_cloudformation::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_cloudformation::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_cloudformation::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the ActivateType
operation.
- The fluent builder is configurable:
r#type(ThirdPartyType)
/set_type(Option<ThirdPartyType>)
:The extension type.
Conditional: You must specify
PublicTypeArn
, orTypeName
,Type
, andPublisherId
.public_type_arn(impl Into<String>)
/set_public_type_arn(Option<String>)
:The Amazon Resource Number (ARN) of the public extension.
Conditional: You must specify
PublicTypeArn
, orTypeName
,Type
, andPublisherId
.publisher_id(impl Into<String>)
/set_publisher_id(Option<String>)
:The ID of the extension publisher.
Conditional: You must specify
PublicTypeArn
, orTypeName
,Type
, andPublisherId
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify
PublicTypeArn
, orTypeName
,Type
, andPublisherId
.type_name_alias(impl Into<String>)
/set_type_name_alias(Option<String>)
: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.
auto_update(bool)
/set_auto_update(Option<bool>)
: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
.logging_config(LoggingConfig)
/set_logging_config(Option<LoggingConfig>)
:Contains logging configuration information for an extension.
execution_role_arn(impl Into<String>)
/set_execution_role_arn(Option<String>)
:The name of the IAM execution role to use to activate the extension.
version_bump(VersionBump)
/set_version_bump(Option<VersionBump>)
: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.
-
major_version(i64)
/set_major_version(Option<i64>)
: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
orVersionBump
, but not both.
- On success, responds with
ActivateTypeOutput
with field(s):arn(Option<String>)
:The Amazon Resource Number (ARN) of the activated extension, in this account and region.
- On failure, responds with
SdkError<ActivateTypeError>
Constructs a fluent builder for the BatchDescribeTypeConfigurations
operation.
- The fluent builder is configurable:
type_configuration_identifiers(Vec<TypeConfigurationIdentifier>)
/set_type_configuration_identifiers(Option<Vec<TypeConfigurationIdentifier>>)
:The list of identifiers for the desired extension configurations.
- On success, responds with
BatchDescribeTypeConfigurationsOutput
with field(s):errors(Option<Vec<BatchDescribeTypeConfigurationsError>>)
:A list of information concerning any errors generated during the setting of the specified configurations.
unprocessed_type_configurations(Option<Vec<TypeConfigurationIdentifier>>)
:A list of any of the specified extension configurations that CloudFormation could not process for any reason.
type_configurations(Option<Vec<TypeConfigurationDetails>>)
:A list of any of the specified extension configurations from the CloudFormation registry.
- On failure, responds with
SdkError<BatchDescribeTypeConfigurationsError>
Constructs a fluent builder for the CancelUpdateStack
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
: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 retryCancelUpdateStack
requests to ensure that CloudFormation successfully received them.
- On success, responds with
CancelUpdateStackOutput
- On failure, responds with
SdkError<CancelUpdateStackError>
Constructs a fluent builder for the ContinueUpdateRollback
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
: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 theAWS::CloudFormation::Stack
resource).role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role’s credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don’t have permission to pass it. Ensure that the role grants least privilege.
If you don’t specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.
resources_to_skip(Vec<String>)
/set_resources_to_skip(Option<Vec<String>>)
: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 theUPDATE_FAILED
state for other reasons, for example, because an update was cancelled. To check why a resource update failed, use theDescribeStackResources
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 theResourcesToSkip
list, then its corresponding embedded stack must be in one of the following states:DELETE_IN_PROGRESS
,DELETE_COMPLETE
, orDELETE_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.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
:A unique identifier for this
ContinueUpdateRollback
request. Specify this token if you plan to retry requests so that CloudFormationknows that you’re not attempting to continue the rollback to a stack with the same name. You might retryContinueUpdateRollback
requests to ensure that CloudFormation successfully received them.
- On success, responds with
ContinueUpdateRollbackOutput
- On failure, responds with
SdkError<ContinueUpdateRollbackError>
Constructs a fluent builder for the CreateChangeSet
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
: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.
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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
orTemplateURL
.template_url(impl Into<String>)
/set_template_url(Option<String>)
:The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that is located in an S3 bucket or a Systems Manager document. CloudFormation generates the change set by comparing this template with the stack that you specified.
Conditional: You must specify only
TemplateBody
orTemplateURL
.use_previous_template(bool)
/set_use_previous_template(Option<bool>)
:Whether to reuse the template that is associated with the stack to create the change set.
parameters(Vec<Parameter>)
/set_parameters(Option<Vec<Parameter>>)
:A list of
Parameter
structures that specify input parameters for the change set. For more information, see theParameter
data type.capabilities(Vec<Capability>)
/set_capabilities(Option<Vec<Capability>>)
:In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.
-
CAPABILITY_IAM
andCAPABILITY_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
orCAPABILITY_NAMED_IAM
capability.-
If you have IAM resources, you can specify either capability.
-
If you have IAM resources with custom names, you must specify
CAPABILITY_NAMED_IAM
. -
If you don’t specify either of these capabilities, CloudFormation returns an
InsufficientCapabilities
error.
If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
-
-
CAPABILITY_AUTO_EXPAND
Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.
This capacity does not apply to creating change sets, and specifying it when creating change sets has no effect.
If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the
CreateStack
orUpdateStack
action, and specifying this capability.For more information on macros, see Using CloudFormation Macros to Perform Custom Processing on Templates.
-
resource_types(Vec<String>)
/set_resource_types(Option<Vec<String>>)
:The template resource types that you have permissions to work with if you execute this change set, such as
AWS::EC2::Instance
,AWS::EC2::*
, orCustom::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.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role’s credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don’t have permission to pass it. Ensure that the role grants least privilege.
If you don’t specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.
rollback_configuration(RollbackConfiguration)
/set_rollback_configuration(Option<RollbackConfiguration>)
:The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
notification_ar_ns(Vec<String>)
/set_notification_ar_ns(Option<Vec<String>>)
: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.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
: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.
change_set_name(impl Into<String>)
/set_change_set_name(Option<String>)
:The name of the change set. The name must be unique among all change sets that are associated with the specified stack.
A change set name can contain only alphanumeric, case sensitive characters and hyphens. It must start with an alphabetic character and cannot exceed 128 characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
: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 retryCreateChangeSet
requests to ensure that CloudFormation successfully received them.description(impl Into<String>)
/set_description(Option<String>)
:A description to help you identify this change set.
change_set_type(ChangeSetType)
/set_change_set_type(Option<ChangeSetType>)
: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, specifyUPDATE
. To create a change set for an import operation, specifyIMPORT
.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 theUPDATE
type to create a change set for a new stack or theCREATE
type to create a change set for an existing stack.resources_to_import(Vec<ResourceToImport>)
/set_resources_to_import(Option<Vec<ResourceToImport>>)
:The resources to import into your stack.
include_nested_stacks(bool)
/set_include_nested_stacks(Option<bool>)
: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, specifyTrue
.
- On success, responds with
CreateChangeSetOutput
with field(s):id(Option<String>)
:The Amazon Resource Name (ARN) of the change set.
stack_id(Option<String>)
:The unique ID of the stack.
- On failure, responds with
SdkError<CreateChangeSetError>
Constructs a fluent builder for the CreateStack
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name that is associated with the stack. The name must be unique in the Region in which you are creating the stack.
A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and cannot be longer than 128 characters.
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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 theTemplateURL
parameter, but not both.template_url(impl Into<String>)
/set_template_url(Option<String>)
:Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template Anatomy in the CloudFormation User Guide.
Conditional: You must specify either the
TemplateBody
or theTemplateURL
parameter, but not both.parameters(Vec<Parameter>)
/set_parameters(Option<Vec<Parameter>>)
:A list of
Parameter
structures that specify input parameters for the stack. For more information, see the Parameter data type.disable_rollback(bool)
/set_disable_rollback(Option<bool>)
:Set to
true
to disable rollback of the stack if stack creation failed. You can specify eitherDisableRollback
orOnFailure
, but not both.Default:
false
rollback_configuration(RollbackConfiguration)
/set_rollback_configuration(Option<RollbackConfiguration>)
:The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
timeout_in_minutes(i32)
/set_timeout_in_minutes(Option<i32>)
:The amount of time that can pass before the stack status becomes CREATE_FAILED; if
DisableRollback
is not set or is set tofalse
, the stack will be rolled back.notification_ar_ns(Vec<String>)
/set_notification_ar_ns(Option<Vec<String>>)
:The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI).
capabilities(Vec<Capability>)
/set_capabilities(Option<Vec<Capability>>)
:In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.
-
CAPABILITY_IAM
andCAPABILITY_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
orCAPABILITY_NAMED_IAM
capability.-
If you have IAM resources, you can specify either capability.
-
If you have IAM resources with custom names, you must specify
CAPABILITY_NAMED_IAM
. -
If you don’t specify either of these capabilities, CloudFormation returns an
InsufficientCapabilities
error.
If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
-
-
CAPABILITY_AUTO_EXPAND
Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.
If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability.
You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs.
Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.
For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.
-
resource_types(Vec<String>)
/set_resource_types(Option<Vec<String>>)
:The template resource types that you have permissions to work with for this create stack action, such as
AWS::EC2::Instance
,AWS::EC2::
, orCustom::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), andAWS::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.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role’s credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don’t have permission to pass it. Ensure that the role grants least privilege.
If you don’t specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.
on_failure(OnFailure)
/set_on_failure(Option<OnFailure>)
: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
orDisableRollback
, but not both.Default:
ROLLBACK
stack_policy_body(impl Into<String>)
/set_stack_policy_body(Option<String>)
: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 theStackPolicyURL
parameter, but not both.stack_policy_url(impl Into<String>)
/set_stack_policy_url(Option<String>)
: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 theStackPolicyURL
parameter, but not both.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
: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.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
: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 retryCreateStack
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 tokentoken1
, then all theStackEvents
generated by that operation will haveClientRequestToken
set astoken1
.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
.enable_termination_protection(bool)
/set_enable_termination_protection(Option<bool>)
:Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is disabled on stacks by default.
For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack.
- On success, responds with
CreateStackOutput
with field(s):stack_id(Option<String>)
:Unique identifier of the stack.
- On failure, responds with
SdkError<CreateStackError>
Constructs a fluent builder for the CreateStackInstances
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to create stack instances from.
accounts(Vec<String>)
/set_accounts(Option<Vec<String>>)
:[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
orDeploymentTargets
, but not both.deployment_targets(DeploymentTargets)
/set_deployment_targets(Option<DeploymentTargets>)
:[Service-managed permissions] The Organizations accounts for which to create stack instances in the specified Regions.
You can specify
Accounts
orDeploymentTargets
, but not both.regions(Vec<String>)
/set_regions(Option<Vec<String>>)
:The names of one or more Regions where you want to create stack instances using the specified Amazon Web Services accounts.
parameter_overrides(Vec<Parameter>)
/set_parameter_overrides(Option<Vec<Parameter>>)
:A list of stack set parameters whose values you want to override in the selected stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance operations:
-
To override the current value for a parameter, include the parameter and specify its value.
-
To leave an overridden parameter set to its present value, include the parameter and specify
UsePreviousValue
astrue
. (You cannot specify both a value and setUsePreviousValue
totrue
.) -
To set an overridden parameter back to the value specified in the stack set, specify a parameter list but do not include the parameter in the list.
-
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template.
-
operation_preferences(StackSetOperationPreferences)
/set_operation_preferences(Option<StackSetOperationPreferences>)
:Preferences for how CloudFormation performs this stack set operation.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
: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
.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
CreateStackInstancesOutput
with field(s):operation_id(Option<String>)
:The unique identifier for this stack set operation.
- On failure, responds with
SdkError<CreateStackInstancesError>
Constructs a fluent builder for the CreateStackSet
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
: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.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the stack set. You can use the description to identify the stack set’s purpose or other important information.
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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.
template_url(impl Into<String>)
/set_template_url(Option<String>)
: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.
stack_id(impl Into<String>)
/set_stack_id(Option<String>)
:The stack ID you are importing into a new stack set. Specify the Amazon Resource Number (ARN) of the stack.
parameters(Vec<Parameter>)
/set_parameters(Option<Vec<Parameter>>)
:The input parameters for the stack set template.
capabilities(Vec<Capability>)
/set_capabilities(Option<Vec<Capability>>)
: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
andCAPABILITY_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
orCAPABILITY_NAMED_IAM
capability.-
If you have IAM resources, you can specify either capability.
-
If you have IAM resources with custom names, you must specify
CAPABILITY_NAMED_IAM
. -
If you don’t specify either of these capabilities, CloudFormation returns an
InsufficientCapabilities
error.
If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
-
-
CAPABILITY_AUTO_EXPAND
Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.
Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.
-
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
: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 entireCreateStackSet
action fails with anaccess denied
error, and the stack set is not created.administration_role_arn(impl Into<String>)
/set_administration_role_arn(Option<String>)
:The Amazon Resource Number (ARN) of the IAM role to use to create this stack set.
Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide.
execution_role_name(impl Into<String>)
/set_execution_role_name(Option<String>)
: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.
permission_model(PermissionModels)
/set_permission_model(Option<PermissionModels>)
: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.
-
auto_deployment(AutoDeployment)
/set_auto_deployment(Option<AutoDeployment>)
:Describes whether StackSets automatically deploys to Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if
PermissionModel
isSERVICE_MANAGED
.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
: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 retryCreateStackSet
requests to ensure that CloudFormation successfully received them.If you don’t specify an operation ID, the SDK generates one automatically.
managed_execution(ManagedExecution)
/set_managed_execution(Option<ManagedExecution>)
:Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- On success, responds with
CreateStackSetOutput
with field(s):stack_set_id(Option<String>)
:The ID of the stack set that you’re creating.
- On failure, responds with
SdkError<CreateStackSetError>
Constructs a fluent builder for the DeactivateType
operation.
- The fluent builder is configurable:
type_name(impl Into<String>)
/set_type_name(Option<String>)
: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
, orTypeName
andType
.r#type(ThirdPartyType)
/set_type(Option<ThirdPartyType>)
:The extension type.
Conditional: You must specify either
Arn
, orTypeName
andType
.arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) for the extension, in this account and region.
Conditional: You must specify either
Arn
, orTypeName
andType
.
- On success, responds with
DeactivateTypeOutput
- On failure, responds with
SdkError<DeactivateTypeError>
Constructs a fluent builder for the DeleteChangeSet
operation.
- The fluent builder is configurable:
change_set_name(impl Into<String>)
/set_change_set_name(Option<String>)
:The name or Amazon Resource Name (ARN) of the change set that you want to delete.
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it.
- On success, responds with
DeleteChangeSetOutput
- On failure, responds with
SdkError<DeleteChangeSetError>
Constructs a fluent builder for the DeleteStack
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack.
retain_resources(Vec<String>)
/set_retain_resources(Option<Vec<String>>)
:For stacks in the
DELETE_FAILED
state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but does not delete the retained resources.Retaining resources is useful when you cannot delete a resource, such as a non-empty S3 bucket, but you want to delete the stack.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role’s credentials to make calls on your behalf.
If you don’t specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
: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 retryDeleteStack
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 tokentoken1
, then all theStackEvents
generated by that operation will haveClientRequestToken
set astoken1
.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
.
- On success, responds with
DeleteStackOutput
- On failure, responds with
SdkError<DeleteStackError>
Constructs a fluent builder for the DeleteStackInstances
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to delete stack instances for.
accounts(Vec<String>)
/set_accounts(Option<Vec<String>>)
:[Self-managed permissions] The names of the Amazon Web Services accounts that you want to delete stack instances for.
You can specify
Accounts
orDeploymentTargets
, but not both.deployment_targets(DeploymentTargets)
/set_deployment_targets(Option<DeploymentTargets>)
:[Service-managed permissions] The Organizations accounts from which to delete stack instances.
You can specify
Accounts
orDeploymentTargets
, but not both.regions(Vec<String>)
/set_regions(Option<Vec<String>>)
:The Regions where you want to delete stack set instances.
operation_preferences(StackSetOperationPreferences)
/set_operation_preferences(Option<StackSetOperationPreferences>)
:Preferences for how CloudFormation performs this stack set operation.
retain_stacks(bool)
/set_retain_stacks(bool)
: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.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
: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
.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
DeleteStackInstancesOutput
with field(s):operation_id(Option<String>)
:The unique identifier for this stack set operation.
- On failure, responds with
SdkError<DeleteStackInstancesError>
Constructs a fluent builder for the DeleteStackSet
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you’re deleting. You can obtain this value by running
ListStackSets
.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
DeleteStackSetOutput
- On failure, responds with
SdkError<DeleteStackSetError>
Constructs a fluent builder for the DeregisterType
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.r#type(RegistryType)
/set_type(Option<RegistryType>)
:The kind of extension.
Conditional: You must specify either
TypeName
andType
, orArn
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.version_id(impl Into<String>)
/set_version_id(Option<String>)
: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.
- On success, responds with
DeregisterTypeOutput
- On failure, responds with
SdkError<DeregisterTypeError>
Constructs a fluent builder for the DescribeAccountLimits
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string that identifies the next page of limits that you want to retrieve.
- On success, responds with
DescribeAccountLimitsOutput
with field(s):account_limits(Option<Vec<AccountLimit>>)
:An account limit structure that contain a list of CloudFormation account limits and their values.
next_token(Option<String>)
: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.
- On failure, responds with
SdkError<DescribeAccountLimitsError>
Constructs a fluent builder for the DescribeChangeSet
operation.
- The fluent builder is configurable:
change_set_name(impl Into<String>)
/set_change_set_name(Option<String>)
:The name or Amazon Resource Name (ARN) of the change set that you want to describe.
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to describe.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string (provided by the
DescribeChangeSet
response output) that identifies the next page of information that you want to retrieve.
- On success, responds with
DescribeChangeSetOutput
with field(s):change_set_name(Option<String>)
:The name of the change set.
change_set_id(Option<String>)
:The ARN of the change set.
stack_id(Option<String>)
:The ARN of the stack that is associated with the change set.
stack_name(Option<String>)
:The name of the stack that is associated with the change set.
description(Option<String>)
:Information about the change set.
parameters(Option<Vec<Parameter>>)
: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.creation_time(Option<DateTime>)
:The start time when the change set was created, in UTC.
execution_status(Option<ExecutionStatus>)
: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 anUNAVAILABLE
state because CloudFormation is still creating it or in anOBSOLETE
state because the stack was already updated.status(Option<ChangeSetStatus>)
:The current status of the change set, such as
CREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.status_reason(Option<String>)
:A description of the change set’s status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
notification_ar_ns(Option<Vec<String>>)
:The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.
rollback_configuration(Option<RollbackConfiguration>)
:The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
capabilities(Option<Vec<Capability>>)
:If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
tags(Option<Vec<Tag>>)
:If you execute the change set, the tags that will be associated with the stack.
changes(Option<Vec<Change>>)
:A list of
Change
structures that describes the resources CloudFormation changes if you execute the change set.next_token(Option<String>)
: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.
include_nested_stacks(Option<bool>)
:Verifies if
IncludeNestedStacks
is set toTrue
.parent_change_set_id(Option<String>)
:Specifies the change set ID of the parent change set in the current nested change set hierarchy.
root_change_set_id(Option<String>)
:Specifies the change set ID of the root change set in the current nested change set hierarchy.
- On failure, responds with
SdkError<DescribeChangeSetError>
Constructs a fluent builder for the DescribePublisher
operation.
- The fluent builder is configurable:
publisher_id(impl Into<String>)
/set_publisher_id(Option<String>)
:The ID of the extension publisher.
If you do not supply a
PublisherId
, and you have registered as an extension publisher,DescribePublisher
returns information about your own publisher account.
- On success, responds with
DescribePublisherOutput
with field(s):publisher_id(Option<String>)
:The ID of the extension publisher.
publisher_status(Option<PublisherStatus>)
:Whether the publisher is verified. Currently, all registered publishers are verified.
identity_provider(Option<IdentityProvider>)
:The type of account used as the identity provider when registering this publisher with CloudFormation.
publisher_profile(Option<String>)
:The URL to the publisher’s profile with the identity provider.
- On failure, responds with
SdkError<DescribePublisherError>
pub fn describe_stack_drift_detection_status(
&self
) -> DescribeStackDriftDetectionStatus<C, M, R>
pub fn describe_stack_drift_detection_status(
&self
) -> DescribeStackDriftDetectionStatus<C, M, R>
Constructs a fluent builder for the DescribeStackDriftDetectionStatus
operation.
- The fluent builder is configurable:
stack_drift_detection_id(impl Into<String>)
/set_stack_drift_detection_id(Option<String>)
: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.
- On success, responds with
DescribeStackDriftDetectionStatusOutput
with field(s):stack_id(Option<String>)
:The ID of the stack.
stack_drift_detection_id(Option<String>)
: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.
stack_drift_status(Option<StackDriftStatus>)
:Status of the stack’s actual configuration compared to its expected configuration.
-
DRIFTED
: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED
: CloudFormation has not checked if the stack differs from its expected template configuration. -
IN_SYNC
: The stack’s actual configuration matches its expected template configuration. -
UNKNOWN
: This value is reserved for future use.
-
detection_status(Option<StackDriftDetectionStatus>)
:The status of the stack drift detection operation.
-
DETECTION_COMPLETE
: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that do not currently support stack detection remain unchecked.)If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
-
DETECTION_FAILED
: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. -
DETECTION_IN_PROGRESS
: The stack drift detection operation is currently in progress.
-
detection_status_reason(Option<String>)
:The reason the stack drift detection operation has its current status.
drifted_stack_resource_count(Option<i32>)
: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 isIN_SYNC
.timestamp(Option<DateTime>)
:Time at which the stack drift detection operation was initiated.
- On failure, responds with
SdkError<DescribeStackDriftDetectionStatusError>
Constructs a fluent builder for the DescribeStackEvents
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string that identifies the next page of events that you want to retrieve.
- On success, responds with
DescribeStackEventsOutput
with field(s):stack_events(Option<Vec<StackEvent>>)
:A list of
StackEvents
structures.next_token(Option<String>)
: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.
- On failure, responds with
SdkError<DescribeStackEventsError>
Constructs a fluent builder for the DescribeStackInstance
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or the unique stack ID of the stack set that you want to get stack instance information for.
stack_instance_account(impl Into<String>)
/set_stack_instance_account(Option<String>)
:The ID of an Amazon Web Services account that’s associated with this stack instance.
stack_instance_region(impl Into<String>)
/set_stack_instance_region(Option<String>)
:The name of a Region that’s associated with this stack instance.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
DescribeStackInstanceOutput
with field(s):stack_instance(Option<StackInstance>)
:The stack instance that matches the specified request parameters.
- On failure, responds with
SdkError<DescribeStackInstanceError>
Constructs a fluent builder for the DescribeStackResource
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
-
logical_resource_id(impl Into<String>)
/set_logical_resource_id(Option<String>)
:The logical name of the resource as specified in the template.
Default: There is no default value.
- On success, responds with
DescribeStackResourceOutput
with field(s):stack_resource_detail(Option<StackResourceDetail>)
:A
StackResourceDetail
structure containing the description of the specified resource in the specified stack.
- On failure, responds with
SdkError<DescribeStackResourceError>
Constructs a fluent builder for the DescribeStackResourceDrifts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name of the stack for which you want drift information.
stack_resource_drift_status_filters(Vec<StackResourceDriftStatus>)
/set_stack_resource_drift_status_filters(Option<Vec<StackResourceDriftStatus>>)
:The resource drift status values to use as filters for the resource drift results returned.
-
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED
: One or more resource properties differ from their expected template values. -
IN_SYNC
: The resources’s actual configuration matches its expected template configuration. -
NOT_CHECKED
: CloudFormation does not currently return this value.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string that identifies the next page of stack resource drift results.
max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.
- On success, responds with
DescribeStackResourceDriftsOutput
with field(s):stack_resource_drifts(Option<Vec<StackResourceDrift>>)
:Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.
For a given stack, there will be one
StackResourceDrift
for each stack resource that has been checked for drift. Resources that have not yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.next_token(Option<String>)
:If the request doesn’t return all of the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callDescribeStackResourceDrifts
again and assign that token to the request object’sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.
- On failure, responds with
SdkError<DescribeStackResourceDriftsError>
Constructs a fluent builder for the DescribeStackResources
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you do not specify
StackName
, you must specifyPhysicalResourceId
.-
logical_resource_id(impl Into<String>)
/set_logical_resource_id(Option<String>)
:The logical name of the resource as specified in the template.
Default: There is no default value.
physical_resource_id(impl Into<String>)
/set_physical_resource_id(Option<String>)
: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 theInstanceId
. You can pass the EC2InstanceId
toDescribeStackResources
to find which stack the instance belongs to and what other resources are part of the stack.Required: Conditional. If you do not specify
PhysicalResourceId
, you must specifyStackName
.Default: There is no default value.
- On success, responds with
DescribeStackResourcesOutput
with field(s):stack_resources(Option<Vec<StackResource>>)
:A list of
StackResource
structures.
- On failure, responds with
SdkError<DescribeStackResourcesError>
Constructs a fluent builder for the DescribeStacks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string that identifies the next page of stacks that you want to retrieve.
- On success, responds with
DescribeStacksOutput
with field(s):stacks(Option<Vec<Stack>>)
:A list of stack structures.
next_token(Option<String>)
: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.
- On failure, responds with
SdkError<DescribeStacksError>
Constructs a fluent builder for the DescribeStackSet
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set whose description you want.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
DescribeStackSetOutput
with field(s):stack_set(Option<StackSet>)
:The specified stack set.
- On failure, responds with
SdkError<DescribeStackSetError>
Constructs a fluent builder for the DescribeStackSetOperation
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or the unique stack ID of the stack set for the stack operation.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
:The unique ID of the stack set operation.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
DescribeStackSetOperationOutput
with field(s):stack_set_operation(Option<StackSetOperation>)
:The specified stack set operation.
- On failure, responds with
SdkError<DescribeStackSetOperationError>
Constructs a fluent builder for the DescribeType
operation.
- The fluent builder is configurable:
r#type(RegistryType)
/set_type(Option<RegistryType>)
:The kind of extension.
Conditional: You must specify either
TypeName
andType
, orArn
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.version_id(impl Into<String>)
/set_version_id(Option<String>)
: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.publisher_id(impl Into<String>)
/set_publisher_id(Option<String>)
:The publisher ID of the extension publisher.
Extensions provided by Amazon are not assigned a publisher ID.
public_version_number(impl Into<String>)
/set_public_version_number(Option<String>)
:The version number of a public third-party extension.
- On success, responds with
DescribeTypeOutput
with field(s):arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension.
r#type(Option<RegistryType>)
:The kind of extension.
type_name(Option<String>)
: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.
default_version_id(Option<String>)
:The ID of the default version of the extension. The default version is used when the extension version is not specified.
This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns
null
. For more information, see RegisterType.To set the default version of an extension, use
SetTypeDefaultVersion
is_default_version(Option<bool>)
:Whether the specified extension version is set as the default version.
This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, whether or not they are activated in your account, CloudFormation returns
null
.type_tests_status(Option<TypeTestsStatus>)
:The contract test status of the registered extension version. To return the extension test status of a specifc extension version, you must specify
VersionId
.This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account.
-
PASSED
: The extension has passed all its contract tests.An extension must have a test status of
PASSED
before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide. -
FAILED
: The extension has failed one or more contract tests. -
IN_PROGRESS
: Contract tests are currently being performed on the extension. -
NOT_TESTED
: Contract tests have not been performed on the extension.
-
type_tests_status_description(Option<String>)
:The description of the test status. To return the extension test status of a specifc extension version, you must specify
VersionId
.This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account.
description(Option<String>)
:The description of the extension.
schema(Option<String>)
:The schema that defines the extension.
For more information on extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.
provisioning_type(Option<ProvisioningType>)
:For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
Valid values include:
-
FULLY_MUTABLE
: The resource type includes an update handler to process updates to the type during stack update operations. -
IMMUTABLE
: The resource type does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations. -
NON_PROVISIONABLE
: The resource type does not include all of the following handlers, and therefore cannot actually be provisioned.-
create
-
read
-
delete
-
-
deprecated_status(Option<DeprecatedStatus>)
: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
.-
logging_config(Option<LoggingConfig>)
:Contains logging configuration information for private extensions. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns
null
. For more information, see RegisterType.required_activated_types(Option<Vec<RequiredActivatedType>>)
: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.
execution_role_arn(Option<String>)
: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.
visibility(Option<Visibility>)
: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 asPRIVATE
. -
PUBLIC
: The extension is publically visible and usable within any Amazon account.
-
source_url(Option<String>)
:The URL of the source code for the extension.
documentation_url(Option<String>)
:The URL of a page providing detailed documentation for this extension.
last_updated(Option<DateTime>)
: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.
-
time_created(Option<DateTime>)
:When the specified private extension version was registered or activated in your account.
configuration_schema(Option<String>)
: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.
publisher_id(Option<String>)
:The publisher ID of the extension publisher.
This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon, CloudFormation returns
null
.original_type_name(Option<String>)
: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.original_type_arn(Option<String>)
:For public extensions that have been activated for this account and region, the Amazon Resource Name (ARN) of the public extension.
public_version_number(Option<String>)
: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
.latest_public_version(Option<String>)
:The latest version of a public extension that is available for use.
This only applies if you specify a public extension, and you do not specify a version. For all other requests, CloudFormation returns
null
.is_activated(Option<bool>)
:Whether or not the extension is activated in the account and region.
This only applies to public third-party extensions. For all other extensions, CloudFormation returns
null
.auto_update(Option<bool>)
: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.
- On failure, responds with
SdkError<DescribeTypeError>
Constructs a fluent builder for the DescribeTypeRegistration
operation.
- The fluent builder is configurable:
registration_token(impl Into<String>)
/set_registration_token(Option<String>)
:The identifier for this registration request.
This registration token is generated by CloudFormation when you initiate a registration request using
RegisterType
- On success, responds with
DescribeTypeRegistrationOutput
with field(s):progress_status(Option<RegistrationStatus>)
:The current status of the extension registration request.
description(Option<String>)
:The description of the extension registration request.
type_arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension being registered.
For registration requests with a
ProgressStatus
of other thanCOMPLETE
, this will benull
.type_version_arn(Option<String>)
:The Amazon Resource Name (ARN) of this specific version of the extension being registered.
For registration requests with a
ProgressStatus
of other thanCOMPLETE
, this will benull
.
- On failure, responds with
SdkError<DescribeTypeRegistrationError>
Constructs a fluent builder for the DetectStackDrift
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name of the stack for which you want to detect drift.
logical_resource_ids(Vec<String>)
/set_logical_resource_ids(Option<Vec<String>>)
:The logical names of any resources you want to use as filters.
- On success, responds with
DetectStackDriftOutput
with field(s):stack_drift_detection_id(Option<String>)
: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.
- On failure, responds with
SdkError<DetectStackDriftError>
Constructs a fluent builder for the DetectStackResourceDrift
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name of the stack to which the resource belongs.
logical_resource_id(impl Into<String>)
/set_logical_resource_id(Option<String>)
:The logical name of the resource for which to return drift information.
- On success, responds with
DetectStackResourceDriftOutput
with field(s):stack_resource_drift(Option<StackResourceDrift>)
: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.
- On failure, responds with
SdkError<DetectStackResourceDriftError>
Constructs a fluent builder for the DetectStackSetDrift
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name of the stack set on which to perform the drift detection operation.
operation_preferences(StackSetOperationPreferences)
/set_operation_preferences(Option<StackSetOperationPreferences>)
:The user-specified preferences for how CloudFormation performs a stack set operation.
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
:The ID of the stack set operation.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
DetectStackSetDriftOutput
with field(s):operation_id(Option<String>)
:The ID of the drift detection stack set operation.
you can use this operation id with
DescribeStackSetOperation
- On failure, responds with
SdkError<DetectStackSetDriftError>
Constructs a fluent builder for the EstimateTemplateCost
operation.
- The fluent builder is configurable:
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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
orTemplateURL
. If both are passed, onlyTemplateBody
is used.template_url(impl Into<String>)
/set_template_url(Option<String>)
:Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must pass
TemplateURL
orTemplateBody
. If both are passed, onlyTemplateBody
is used.parameters(Vec<Parameter>)
/set_parameters(Option<Vec<Parameter>>)
:A list of
Parameter
structures that specify input parameters.
- On success, responds with
EstimateTemplateCostOutput
with field(s):url(Option<String>)
:An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template.
- On failure, responds with
SdkError<EstimateTemplateCostError>
Constructs a fluent builder for the ExecuteChangeSet
operation.
- The fluent builder is configurable:
change_set_name(impl Into<String>)
/set_change_set_name(Option<String>)
:The name or ARN of the change set that you want use to update the specified stack.
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
: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 retryExecuteChangeSet
requests to ensure that CloudFormation successfully received them.disable_rollback(bool)
/set_disable_rollback(Option<bool>)
:Preserves the state of previously provisioned resources when an operation fails.
Default:
True
- On success, responds with
ExecuteChangeSetOutput
- On failure, responds with
SdkError<ExecuteChangeSetError>
Constructs a fluent builder for the GetStackPolicy
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or unique stack ID that is associated with the stack whose policy you want to get.
- On success, responds with
GetStackPolicyOutput
with field(s):stack_policy_body(Option<String>)
:Structure containing the stack policy body. (For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide.)
- On failure, responds with
SdkError<GetStackPolicyError>
Constructs a fluent builder for the GetTemplate
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
-
change_set_name(impl Into<String>)
/set_change_set_name(Option<String>)
: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
.template_stage(TemplateStage)
/set_template_stage(Option<TemplateStage>)
: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, specifyProcessed
.If the template doesn’t include transforms,
Original
andProcessed
return the same template. By default, CloudFormation specifiesProcessed
.
- On success, responds with
GetTemplateOutput
with field(s):template_body(Option<String>)
: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.
stages_available(Option<Vec<TemplateStage>>)
:The stage of the template that you can retrieve. For stacks, the
Original
andProcessed
templates are always available. For change sets, theOriginal
template is always available. After CloudFormation finishes creating the change set, theProcessed
template becomes available.
- On failure, responds with
SdkError<GetTemplateError>
Constructs a fluent builder for the GetTemplateSummary
operation.
- The fluent builder is configurable:
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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
, orTemplateURL
.template_url(impl Into<String>)
/set_template_url(Option<String>)
:Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template Anatomy in the CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,StackSetName
,TemplateBody
, orTemplateURL
.stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack’s name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters:
StackName
,StackSetName
,TemplateBody
, orTemplateURL
.stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
: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
, orTemplateURL
.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
GetTemplateSummaryOutput
with field(s):parameters(Option<Vec<ParameterDeclaration>>)
:A list of parameter declarations that describe various properties for each parameter.
description(Option<String>)
:The value that is defined in the
Description
property of the template.capabilities(Option<Vec<Capability>>)
:The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
orCAPABILITY_NAMED_IAM
value for this parameter when you use theCreateStack
orUpdateStack
actions with your template; otherwise, those actions return anInsufficientCapabilities
error.For more information, see Acknowledging IAM Resources in CloudFormation Templates.
capabilities_reason(Option<String>)
:The list of resources that generated the values in the
Capabilities
response element.resource_types(Option<Vec<String>>)
:A list of all the template resource types that are defined in the template, such as
AWS::EC2::Instance
,AWS::Dynamo::Table
, andCustom::MyCustomInstance
.version(Option<String>)
:The Amazon Web Services template format version, which identifies the capabilities of the template.
metadata(Option<String>)
:The value that is defined for the
Metadata
property of the template.declared_transforms(Option<Vec<String>>)
:A list of the transforms that are declared in the template.
resource_identifier_summaries(Option<Vec<ResourceIdentifierSummary>>)
: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 anAWS::S3::Bucket
resource.
- On failure, responds with
SdkError<GetTemplateSummaryError>
Constructs a fluent builder for the ImportStacksToStackSet
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name of the stack set. The name must be unique in the Region where you create your stack set.
stack_ids(Vec<String>)
/set_stack_ids(Option<Vec<String>>)
: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
orStackIdsUrl
.stack_ids_url(impl Into<String>)
/set_stack_ids_url(Option<String>)
:The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either
StackIds
orStackIdsUrl
.organizational_unit_ids(Vec<String>)
/set_organizational_unit_ids(Option<Vec<String>>)
:The list of OU ID’s to which the stacks being imported has to be mapped as deployment target.
operation_preferences(StackSetOperationPreferences)
/set_operation_preferences(Option<StackSetOperationPreferences>)
:The user-specified preferences for how CloudFormation performs a stack set operation.
For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
:A unique, user defined, identifier for the stack set operation.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:By default,
SELF
is specified. UseSELF
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
.
-
- On success, responds with
ImportStacksToStackSetOutput
with field(s):operation_id(Option<String>)
:The unique identifier for the stack set operation.
- On failure, responds with
SdkError<ImportStacksToStackSetError>
Constructs a fluent builder for the ListChangeSets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string (provided by the
ListChangeSets
response output) that identifies the next page of change sets that you want to retrieve.
- On success, responds with
ListChangeSetsOutput
with field(s):summaries(Option<Vec<ChangeSetSummary>>)
:A list of
ChangeSetSummary
structures that provides the ID and status of each change set for the specified stack.next_token(Option<String>)
: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.
- On failure, responds with
SdkError<ListChangeSetsError>
Constructs a fluent builder for the ListExports
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string (provided by the
ListExports
response output) that identifies the next page of exported output values that you asked to retrieve.
- On success, responds with
ListExportsOutput
with field(s):exports(Option<Vec<Export>>)
:The output for the
ListExports
action.next_token(Option<String>)
: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.
- On failure, responds with
SdkError<ListExportsError>
Constructs a fluent builder for the ListImports
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
export_name(impl Into<String>)
/set_export_name(Option<String>)
:The name of the exported output value. CloudFormation returns the stack names that are importing this value.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string (provided by the
ListImports
response output) that identifies the next page of stacks that are importing the specified exported output value.
- On success, responds with
ListImportsOutput
with field(s):imports(Option<Vec<String>>)
:A list of stack names that are importing the specified exported output value.
next_token(Option<String>)
:A string that identifies the next page of exports. If there is no additional page, this value is null.
- On failure, responds with
SdkError<ListImportsError>
Constructs a fluent builder for the ListStackInstances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to list stack instances for.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:If the previous request didn’t return all of the remaining results, the response’s
NextToken
parameter value is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.filters(Vec<StackInstanceFilter>)
/set_filters(Option<Vec<StackInstanceFilter>>)
:The status that stack instances are filtered by.
stack_instance_account(impl Into<String>)
/set_stack_instance_account(Option<String>)
:The name of the Amazon Web Services account that you want to list stack instances for.
stack_instance_region(impl Into<String>)
/set_stack_instance_region(Option<String>)
:The name of the Region where you want to list stack instances.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
ListStackInstancesOutput
with field(s):summaries(Option<Vec<StackInstanceSummary>>)
:A list of
StackInstanceSummary
structures that contain information about the specified stack instances.next_token(Option<String>)
:If the request doesn’t return all of the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object’sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListStackInstancesError>
Constructs a fluent builder for the ListStackResources
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string that identifies the next page of stack resources that you want to retrieve.
- On success, responds with
ListStackResourcesOutput
with field(s):stack_resource_summaries(Option<Vec<StackResourceSummary>>)
:A list of
StackResourceSummary
structures.next_token(Option<String>)
: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.
- On failure, responds with
SdkError<ListStackResourcesError>
Constructs a fluent builder for the ListStacks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A string that identifies the next page of stacks that you want to retrieve.
stack_status_filter(Vec<StackStatus>)
/set_stack_status_filter(Option<Vec<StackStatus>>)
: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 theStack
data type.
- On success, responds with
ListStacksOutput
with field(s):stack_summaries(Option<Vec<StackSummary>>)
:A list of
StackSummary
structures containing information about the specified stacks.next_token(Option<String>)
: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.
- On failure, responds with
SdkError<ListStacksError>
Constructs a fluent builder for the ListStackSetOperationResults
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to get operation results for.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
:The ID of the stack set operation.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:If the previous request didn’t return all of the remaining results, the response object’s
NextToken
parameter value is set to a token. To retrieve the next set of results, callListStackSetOperationResults
again and assign that token to the request object’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
ListStackSetOperationResultsOutput
with field(s):summaries(Option<Vec<StackSetOperationResultSummary>>)
:A list of
StackSetOperationResultSummary
structures that contain information about the specified operation results, for accounts and Regions that are included in the operation.next_token(Option<String>)
:If the request doesn’t return all results,
NextToken
is set to a token. To retrieve the next set of results, callListOperationResults
again and assign that token to the request object’sNextToken
parameter. If there are no remaining results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListStackSetOperationResultsError>
Constructs a fluent builder for the ListStackSetOperations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to get operation summaries for.
next_token(impl Into<String>)
/set_next_token(Option<String>)
: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, callListStackSetOperations
again and assign that token to the request object’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
ListStackSetOperationsOutput
with field(s):summaries(Option<Vec<StackSetOperationSummary>>)
:A list of
StackSetOperationSummary
structures that contain summary information about operations for the specified stack set.next_token(Option<String>)
:If the request doesn’t return all results,
NextToken
is set to a token. To retrieve the next set of results, callListOperationResults
again and assign that token to the request object’sNextToken
parameter. If there are no remaining results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListStackSetOperationsError>
Constructs a fluent builder for the ListStackSets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
: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, callListStackSets
again and assign that token to the request object’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.status(StackSetStatus)
/set_status(Option<StackSetStatus>)
:The status of the stack sets that you want to get summary information about.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
ListStackSetsOutput
with field(s):summaries(Option<Vec<StackSetSummary>>)
:A list of
StackSetSummary
structures that contain information about the user’s stack sets.next_token(Option<String>)
:If the request doesn’t return all of the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object’sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListStackSetsError>
Constructs a fluent builder for the ListTypeRegistrations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
r#type(RegistryType)
/set_type(Option<RegistryType>)
:The kind of extension.
Conditional: You must specify either
TypeName
andType
, orArn
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.type_arn(impl Into<String>)
/set_type_arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.registration_status_filter(RegistrationStatus)
/set_registration_status_filter(Option<RegistrationStatus>)
:The current status of the extension registration request.
The default is
IN_PROGRESS
.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.next_token(impl Into<String>)
/set_next_token(Option<String>)
: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’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.
- On success, responds with
ListTypeRegistrationsOutput
with field(s):registration_token_list(Option<Vec<String>>)
:A list of extension registration tokens.
Use
DescribeTypeRegistration
next_token(Option<String>)
: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’sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListTypeRegistrationsError>
Constructs a fluent builder for the ListTypes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
visibility(Visibility)
/set_visibility(Option<Visibility>)
:The scope at which the extensions are visible and usable in CloudFormation operations.
Valid values include:
-
PRIVATE
: Extensions that are visible and usable within this account and region. This includes:-
Private extensions you have registered in this account and region.
-
Public extensions that you have activated in this account and region.
-
-
PUBLIC
: Extensions that are publicly visible and available to be activated within any Amazon account. This includes extensions from Amazon, as well as third-party publishers.
The default is
PRIVATE
.-
provisioning_type(ProvisioningType)
/set_provisioning_type(Option<ProvisioningType>)
:For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
Valid values include:
-
FULLY_MUTABLE
: The resource type includes an update handler to process updates to the type during stack update operations. -
IMMUTABLE
: The resource type does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations. -
NON_PROVISIONABLE
: The resource type does not include create, read, and delete handlers, and therefore cannot actually be provisioned.
The default is
FULLY_MUTABLE
.-
deprecated_status(DeprecatedStatus)
/set_deprecated_status(Option<DeprecatedStatus>)
: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.
-
r#type(RegistryType)
/set_type(Option<RegistryType>)
:The type of extension.
filters(TypeFilters)
/set_filters(Option<TypeFilters>)
:Filter criteria to use in determining which extensions to return.
Filters must be compatible with
Visibility
to return valid results. For example, specifyingAWS_TYPES
forCategory
andPRIVATE
forVisibility
returns an empty list of types, but specifyingPUBLIC
forVisibility
returns the desired list.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.next_token(impl Into<String>)
/set_next_token(Option<String>)
: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’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.
- On success, responds with
ListTypesOutput
with field(s):type_summaries(Option<Vec<TypeSummary>>)
:A list of
TypeSummary
structures that contain information about the specified extensions.next_token(Option<String>)
: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’sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListTypesError>
Constructs a fluent builder for the ListTypeVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
r#type(RegistryType)
/set_type(Option<RegistryType>)
:The kind of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension for which you want version summary information.
Conditional: You must specify either
TypeName
andType
, orArn
.arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either
TypeName
andType
, orArn
.max_results(i32)
/set_max_results(Option<i32>)
: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 theNextToken
request parameter to get the next set of results.next_token(impl Into<String>)
/set_next_token(Option<String>)
: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’sNextToken
parameter. If there are no remaining results, the previous response object’sNextToken
parameter is set tonull
.deprecated_status(DeprecatedStatus)
/set_deprecated_status(Option<DeprecatedStatus>)
: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
.-
publisher_id(impl Into<String>)
/set_publisher_id(Option<String>)
:The publisher ID of the extension publisher.
Extensions published by Amazon are not assigned a publisher ID.
- On success, responds with
ListTypeVersionsOutput
with field(s):type_version_summaries(Option<Vec<TypeVersionSummary>>)
:A list of
TypeVersionSummary
structures that contain information about the specified extension’s versions.next_token(Option<String>)
: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’sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.
- On failure, responds with
SdkError<ListTypeVersionsError>
Constructs a fluent builder for the PublishType
operation.
- The fluent builder is configurable:
r#type(ThirdPartyType)
/set_type(Option<ThirdPartyType>)
:The type of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Number (ARN) of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.public_version_number(impl Into<String>)
/set_public_version_number(Option<String>)
:The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you do not specify a version number, CloudFormation increments the version number by one minor version release.
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
.
- On success, responds with
PublishTypeOutput
with field(s):public_type_arn(Option<String>)
:The Amazon Resource Number (ARN) assigned to the public extension upon publication.
- On failure, responds with
SdkError<PublishTypeError>
Constructs a fluent builder for the RecordHandlerProgress
operation.
- The fluent builder is configurable:
bearer_token(impl Into<String>)
/set_bearer_token(Option<String>)
:Reserved for use by the CloudFormation CLI.
operation_status(OperationStatus)
/set_operation_status(Option<OperationStatus>)
:Reserved for use by the CloudFormation CLI.
current_operation_status(OperationStatus)
/set_current_operation_status(Option<OperationStatus>)
:Reserved for use by the CloudFormation CLI.
status_message(impl Into<String>)
/set_status_message(Option<String>)
:Reserved for use by the CloudFormation CLI.
error_code(HandlerErrorCode)
/set_error_code(Option<HandlerErrorCode>)
:Reserved for use by the CloudFormation CLI.
resource_model(impl Into<String>)
/set_resource_model(Option<String>)
:Reserved for use by the CloudFormation CLI.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
:Reserved for use by the CloudFormation CLI.
- On success, responds with
RecordHandlerProgressOutput
- On failure, responds with
SdkError<RecordHandlerProgressError>
Constructs a fluent builder for the RegisterPublisher
operation.
- The fluent builder is configurable:
accept_terms_and_conditions(bool)
/set_accept_terms_and_conditions(Option<bool>)
: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
.connection_arn(impl Into<String>)
/set_connection_arn(Option<String>)
: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.
- On success, responds with
RegisterPublisherOutput
with field(s):publisher_id(Option<String>)
:The ID assigned this account by CloudFormation for publishing extensions.
- On failure, responds with
SdkError<RegisterPublisherError>
Constructs a fluent builder for the RegisterType
operation.
- The fluent builder is configurable:
r#type(RegistryType)
/set_type(Option<RegistryType>)
:The kind of extension.
type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension being registered.
We recommend that extension names adhere to the following patterns:
-
For resource types, company_or_organization::service::type.
-
For modules, company_or_organization::service::type::MODULE.
The following organization namespaces are reserved and cannot be used in your extension names:
-
Alexa
-
AMZN
-
Amazon
-
AWS
-
Custom
-
Dev
-
schema_handler_package(impl Into<String>)
/set_schema_handler_package(Option<String>)
:A url to the S3 bucket containing the extension project package that contains the neccessary files for the extension you want to register.
For information on generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide.
The user registering the extension must be able to access the package in the S3 bucket. That is, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide.
logging_config(LoggingConfig)
/set_logging_config(Option<LoggingConfig>)
:Specifies logging configuration information for an extension.
execution_role_arn(impl Into<String>)
/set_execution_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.
For CloudFormation to assume the specified execution role, the role must contain a trust relationship with the CloudFormation service principle (
resources.cloudformation.amazonaws.com
). For more information on adding trust relationships, see Modifying a role trust policy in the Identity and Access Management User Guide.If your extension calls Amazon Web Services APIs in any of its handlers, you must create an 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.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
:A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registeration request, even if the request is submitted multiple times.
- On success, responds with
RegisterTypeOutput
with field(s):registration_token(Option<String>)
:The identifier for this registration request.
Use this registration token when calling
DescribeTypeRegistration
- On failure, responds with
SdkError<RegisterTypeError>
Constructs a fluent builder for the RollbackStack
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name that is associated with the stack.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
:A unique identifier for this
RollbackStack
request.
- On success, responds with
RollbackStackOutput
with field(s):stack_id(Option<String>)
:Unique identifier of the stack.
- On failure, responds with
SdkError<RollbackStackError>
Constructs a fluent builder for the SetStackPolicy
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or unique stack ID that you want to associate a policy with.
stack_policy_body(impl Into<String>)
/set_stack_policy_body(Option<String>)
: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 theStackPolicyURL
parameter, but not both.stack_policy_url(impl Into<String>)
/set_stack_policy_url(Option<String>)
: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 theStackPolicyURL
parameter, but not both.
- On success, responds with
SetStackPolicyOutput
- On failure, responds with
SdkError<SetStackPolicyError>
Constructs a fluent builder for the SetTypeConfiguration
operation.
- The fluent builder is configurable:
type_arn(impl Into<String>)
/set_type_arn(Option<String>)
: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.
configuration(impl Into<String>)
/set_configuration(Option<String>)
:The configuration data for the extension, in this account and region.
The configuration data must be formatted as JSON, and validate against the schema returned in the
ConfigurationSchema
response element of API_DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.configuration_alias(impl Into<String>)
/set_configuration_alias(Option<String>)
: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.
type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify
ConfigurationArn
, orType
andTypeName
.r#type(ThirdPartyType)
/set_type(Option<ThirdPartyType>)
:The type of extension.
Conditional: You must specify
ConfigurationArn
, orType
andTypeName
.
- On success, responds with
SetTypeConfigurationOutput
with field(s):configuration_arn(Option<String>)
:The Amazon Resource Name (ARN) for the configuration data, in this account and region.
Conditional: You must specify
ConfigurationArn
, orType
andTypeName
.
- On failure, responds with
SdkError<SetTypeConfigurationError>
Constructs a fluent builder for the SetTypeDefaultVersion
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either
TypeName
andType
, orArn
.r#type(RegistryType)
/set_type(Option<RegistryType>)
:The kind of extension.
Conditional: You must specify either
TypeName
andType
, orArn
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.version_id(impl Into<String>)
/set_version_id(Option<String>)
: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.
- On success, responds with
SetTypeDefaultVersionOutput
- On failure, responds with
SdkError<SetTypeDefaultVersionError>
Constructs a fluent builder for the SignalResource
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The stack name or unique stack ID that includes the resource that you want to signal.
logical_resource_id(impl Into<String>)
/set_logical_resource_id(Option<String>)
: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.
unique_id(impl Into<String>)
/set_unique_id(Option<String>)
: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.
status(ResourceSignalStatus)
/set_status(Option<ResourceSignalStatus>)
:The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
- On success, responds with
SignalResourceOutput
- On failure, responds with
SdkError<SignalResourceError>
Constructs a fluent builder for the StopStackSetOperation
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to stop the operation for.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
:The ID of the stack operation.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
StopStackSetOperationOutput
- On failure, responds with
SdkError<StopStackSetOperationError>
Constructs a fluent builder for the TestType
operation.
- The fluent builder is configurable:
arn(impl Into<String>)
/set_arn(Option<String>)
:The Amazon Resource Number (ARN) of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.r#type(ThirdPartyType)
/set_type(Option<ThirdPartyType>)
:The type of the extension to test.
Conditional: You must specify
Arn
, orTypeName
andType
.type_name(impl Into<String>)
/set_type_name(Option<String>)
:The name of the extension to test.
Conditional: You must specify
Arn
, orTypeName
andType
.version_id(impl Into<String>)
/set_version_id(Option<String>)
:The version of the extension to test.
You can specify the version id with either
Arn
, or withTypeName
andType
.If you do not specify a version, CloudFormation uses the default version of the extension in this account and region for testing.
log_delivery_bucket(impl Into<String>)
/set_log_delivery_bucket(Option<String>)
: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
orFAILED
.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.
-
- On success, responds with
TestTypeOutput
with field(s):type_version_arn(Option<String>)
:The Amazon Resource Number (ARN) of the extension.
- On failure, responds with
SdkError<TestTypeError>
Constructs a fluent builder for the UpdateStack
operation.
- The fluent builder is configurable:
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or unique stack ID of the stack to update.
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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 theUsePreviousTemplate
totrue
.template_url(impl Into<String>)
/set_template_url(Option<String>)
:Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
TemplateBody
,TemplateURL
, or set theUsePreviousTemplate
totrue
.use_previous_template(bool)
/set_use_previous_template(Option<bool>)
: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 theUsePreviousTemplate
totrue
.stack_policy_during_update_body(impl Into<String>)
/set_stack_policy_during_update_body(Option<String>)
:Structure containing the temporary overriding stack policy body. You can specify either the
StackPolicyDuringUpdateBody
or theStackPolicyDuringUpdateURL
parameter, but not both.If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
stack_policy_during_update_url(impl Into<String>)
/set_stack_policy_during_update_url(Option<String>)
: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 theStackPolicyDuringUpdateURL
parameter, but not both.If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
parameters(Vec<Parameter>)
/set_parameters(Option<Vec<Parameter>>)
:A list of
Parameter
structures that specify input parameters for the stack. For more information, see the Parameter data type.capabilities(Vec<Capability>)
/set_capabilities(Option<Vec<Capability>>)
:In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack.
-
CAPABILITY_IAM
andCAPABILITY_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
orCAPABILITY_NAMED_IAM
capability.-
If you have IAM resources, you can specify either capability.
-
If you have IAM resources with custom names, you must specify
CAPABILITY_NAMED_IAM
. -
If you don’t specify either of these capabilities, CloudFormation returns an
InsufficientCapabilities
error.
If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
-
-
CAPABILITY_AUTO_EXPAND
Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.
If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability.
You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs.
Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified.
For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.
-
resource_types(Vec<String>)
/set_resource_types(Option<Vec<String>>)
:The template resource types that you have permissions to work with for this update stack action, such as
AWS::EC2::Instance
,AWS::EC2::*
, orCustom::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.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role’s credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don’t have permission to pass it. Ensure that the role grants least privilege.
If you don’t specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials.
rollback_configuration(RollbackConfiguration)
/set_rollback_configuration(Option<RollbackConfiguration>)
:The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
stack_policy_body(impl Into<String>)
/set_stack_policy_body(Option<String>)
:Structure containing a new stack policy body. You can specify either the
StackPolicyBody
or theStackPolicyURL
parameter, but not both.You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
stack_policy_url(impl Into<String>)
/set_stack_policy_url(Option<String>)
: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 theStackPolicyURL
parameter, but not both.You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
notification_ar_ns(Vec<String>)
/set_notification_ar_ns(Option<Vec<String>>)
:Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that CloudFormation associates with the stack. Specify an empty list to remove all notification topics.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
: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.
disable_rollback(bool)
/set_disable_rollback(Option<bool>)
:Preserve the state of previously provisioned resources when an operation fails.
Default:
False
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
: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 retryUpdateStack
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 tokentoken1
, then all theStackEvents
generated by that operation will haveClientRequestToken
set astoken1
.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
.
- On success, responds with
UpdateStackOutput
with field(s):stack_id(Option<String>)
:Unique identifier of the stack.
- On failure, responds with
SdkError<UpdateStackError>
Constructs a fluent builder for the UpdateStackInstances
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set associated with the stack instances.
accounts(Vec<String>)
/set_accounts(Option<Vec<String>>)
:[Self-managed permissions] The names of one or more Amazon Web Services accounts for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Regions.
You can specify
Accounts
orDeploymentTargets
, but not both.deployment_targets(DeploymentTargets)
/set_deployment_targets(Option<DeploymentTargets>)
:[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
orDeploymentTargets
, but not both.regions(Vec<String>)
/set_regions(Option<Vec<String>>)
:The names of one or more Regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Regions.
parameter_overrides(Vec<Parameter>)
/set_parameter_overrides(Option<Vec<Parameter>>)
:A list of input parameters whose values you want to update for the specified stack instances.
Any overridden parameter values will be applied to all stack instances in the specified accounts and Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance update operations:
-
To override the current value for a parameter, include the parameter and specify its value.
-
To leave an overridden parameter set to its present value, include the parameter and specify
UsePreviousValue
astrue
. (You cannot specify both a value and setUsePreviousValue
totrue
.) -
To set an overridden parameter back to the value specified in the stack set, specify a parameter list but do not include the parameter in the list.
-
To leave all parameters set to their present values, do not specify this property at all.
During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value.
You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use
UpdateStackSet
to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value usingUpdateStackInstances
.-
operation_preferences(StackSetOperationPreferences)
/set_operation_preferences(Option<StackSetOperationPreferences>)
:Preferences for how CloudFormation performs this stack set operation.
operation_id(impl Into<String>)
/set_operation_id(Option<String>)
: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.
call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
- On success, responds with
UpdateStackInstancesOutput
with field(s):operation_id(Option<String>)
:The unique identifier for this stack set operation.
- On failure, responds with
SdkError<UpdateStackInstancesError>
Constructs a fluent builder for the UpdateStackSet
operation.
- The fluent builder is configurable:
stack_set_name(impl Into<String>)
/set_stack_set_name(Option<String>)
:The name or unique ID of the stack set that you want to update.
description(impl Into<String>)
/set_description(Option<String>)
:A brief description of updates that you are making.
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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
orTemplateURL
—or setUsePreviousTemplate
to true.template_url(impl Into<String>)
/set_template_url(Option<String>)
: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
orTemplateURL
—or setUsePreviousTemplate
to true.use_previous_template(bool)
/set_use_previous_template(Option<bool>)
: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
orTemplateURL
—or setUsePreviousTemplate
to true.parameters(Vec<Parameter>)
/set_parameters(Option<Vec<Parameter>>)
:A list of input parameters for the stack set template.
capabilities(Vec<Capability>)
/set_capabilities(Option<Vec<Capability>>)
: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
andCAPABILITY_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
orCAPABILITY_NAMED_IAM
capability.-
If you have IAM resources, you can specify either capability.
-
If you have IAM resources with custom names, you must specify
CAPABILITY_NAMED_IAM
. -
If you don’t specify either of these capabilities, CloudFormation returns an
InsufficientCapabilities
error.
If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
-
-
CAPABILITY_AUTO_EXPAND
Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates.
Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail.
-
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags.
If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means:
-
If you don’t specify this parameter, CloudFormation doesn’t modify the stack’s tags.
-
If you specify any tags using this parameter, you must specify all the tags that you want associated with this stack set, even tags you’ve specifed before (for example, when creating the stack set or during a previous update of the stack set.). Any tags that you don’t include in the updated list of tags are removed from the stack set, and therefore from the stacks and resources as well.
-
If you specify an empty value, CloudFormation removes all currently associated tags.
If you specify new tags as part of an
UpdateStackSet
action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from the list of tags you specify, CloudFormation assumes that you want to remove those tags from the stack set, and checks to see if you have permission to untag resources. If you don’t have the necessary permission(s), the entireUpdateStackSet
action fails with anaccess denied
error, and the stack set is not updated.-
operation_preferences(StackSetOperationPreferences)
/set_operation_preferences(Option<StackSetOperationPreferences>)
:Preferences for how CloudFormation performs this stack set operation.
administration_role_arn(impl Into<String>)
/set_administration_role_arn(Option<String>)
:The Amazon Resource Number (ARN) of the IAM role to use to update this stack set.
Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Granting Permissions for Stack Set Operations in the CloudFormation User Guide.
If you specified a customized administrator role when you created the stack set, you must specify a customized administrator role, even if it is the same customized administrator role used with this stack set previously.
execution_role_name(impl Into<String>)
/set_execution_role_name(Option<String>)
: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.
deployment_targets(DeploymentTargets)
/set_deployment_targets(Option<DeploymentTargets>)
:[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
orRegions
.If the stack set update includes changes to the template (that is, if
TemplateBody
orTemplateURL
is specified), or theParameters
, CloudFormation marks all stack instances with a status ofOUTDATED
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.permission_model(PermissionModels)
/set_permission_model(Option<PermissionModels>)
: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.
-
auto_deployment(AutoDeployment)
/set_auto_deployment(Option<AutoDeployment>)
:[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
If you specify
AutoDeployment
, do not specifyDeploymentTargets
orRegions
.operation_id(impl Into<String>)
/set_operation_id(Option<String>)
: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
.accounts(Vec<String>)
/set_accounts(Option<Vec<String>>)
:[Self-managed permissions] The accounts in which to update associated stack instances. If you specify accounts, you must also specify the Regions in which to update stack set instances.
To update all the stack instances associated with this stack set, do not specify the
Accounts
orRegions
properties.If the stack set update includes changes to the template (that is, if the
TemplateBody
orTemplateURL
properties are specified), or theParameters
property, CloudFormation marks all stack instances with a status ofOUTDATED
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(Vec<String>)
/set_regions(Option<Vec<String>>)
:The Regions in which to update associated stack instances. If you specify Regions, you must also specify accounts in which to update stack set instances.
To update all the stack instances associated with this stack set, do not specify the
Accounts
orRegions
properties.If the stack set update includes changes to the template (that is, if the
TemplateBody
orTemplateURL
properties are specified), or theParameters
property, CloudFormation marks all stack instances with a status ofOUTDATED
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.call_as(CallAs)
/set_call_as(Option<CallAs>)
:[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. UseSELF
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.
-
managed_execution(ManagedExecution)
/set_managed_execution(Option<ManagedExecution>)
:Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- On success, responds with
UpdateStackSetOutput
with field(s):operation_id(Option<String>)
:The unique ID for this stack set operation.
- On failure, responds with
SdkError<UpdateStackSetError>
Constructs a fluent builder for the UpdateTerminationProtection
operation.
- The fluent builder is configurable:
enable_termination_protection(bool)
/set_enable_termination_protection(Option<bool>)
:Whether to enable termination protection on the specified stack.
stack_name(impl Into<String>)
/set_stack_name(Option<String>)
:The name or unique ID of the stack for which you want to set termination protection.
- On success, responds with
UpdateTerminationProtectionOutput
with field(s):stack_id(Option<String>)
:The unique ID of the stack.
- On failure, responds with
SdkError<UpdateTerminationProtectionError>
Constructs a fluent builder for the ValidateTemplate
operation.
- The fluent builder is configurable:
template_body(impl Into<String>)
/set_template_body(Option<String>)
: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
orTemplateBody
. If both are passed, onlyTemplateBody
is used.template_url(impl Into<String>)
/set_template_url(Option<String>)
: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
orTemplateBody
. If both are passed, onlyTemplateBody
is used.
- On success, responds with
ValidateTemplateOutput
with field(s):parameters(Option<Vec<TemplateParameter>>)
:A list of
TemplateParameter
structures.description(Option<String>)
:The description found within the template.
capabilities(Option<Vec<Capability>>)
: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
orUpdateStack
actions with your template; otherwise, those actions return an InsufficientCapabilities error.For more information, see Acknowledging IAM Resources in CloudFormation Templates.
capabilities_reason(Option<String>)
:The list of resources that generated the values in the
Capabilities
response element.declared_transforms(Option<Vec<String>>)
:A list of the transforms that are declared in the template.
- On failure, responds with
SdkError<ValidateTemplateError>
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more