Interface CreateCloudFormationChangeSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCloudFormationChangeSetRequest.Builder,
,CreateCloudFormationChangeSetRequest> SdkBuilder<CreateCloudFormationChangeSetRequest.Builder,
,CreateCloudFormationChangeSetRequest> SdkPojo
,SdkRequest.Builder
,ServerlessApplicationRepositoryRequest.Builder
- Enclosing class:
CreateCloudFormationChangeSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The Amazon Resource Name (ARN) of the application.capabilities
(String... capabilities) A list of values that you must specify before you can deploy certain applications.capabilities
(Collection<String> capabilities) A list of values that you must specify before you can deploy certain applications.changeSetName
(String changeSetName) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.clientToken
(String clientToken) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.description
(String description) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.notificationArns
(String... notificationArns) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.notificationArns
(Collection<String> notificationArns) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameterOverrides
(Collection<ParameterValue> parameterOverrides) A list of parameter values for the parameters of the application.parameterOverrides
(Consumer<ParameterValue.Builder>... parameterOverrides) A list of parameter values for the parameters of the application.parameterOverrides
(ParameterValue... parameterOverrides) A list of parameter values for the parameters of the application.resourceTypes
(String... resourceTypes) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.resourceTypes
(Collection<String> resourceTypes) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.rollbackConfiguration
(Consumer<RollbackConfiguration.Builder> rollbackConfiguration) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.rollbackConfiguration
(RollbackConfiguration rollbackConfiguration) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.semanticVersion
(String semanticVersion) The semantic version of the application:This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.tags
(Collection<Tag> tags) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.tags
(Consumer<Tag.Builder>... tags) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.templateId
(String templateId) The UUID returned by CreateCloudFormationTemplate.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryRequest.Builder
build
-
Method Details
-
applicationId
The Amazon Resource Name (ARN) of the application.
- Parameters:
applicationId
- The Amazon Resource Name (ARN) of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
- Parameters:
capabilities
- A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
- Parameters:
capabilities
- A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeSetName
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
changeSetName
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
clientToken
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
description
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationArns
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
notificationArns
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationArns
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
notificationArns
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterOverrides
CreateCloudFormationChangeSetRequest.Builder parameterOverrides(Collection<ParameterValue> parameterOverrides) A list of parameter values for the parameters of the application.
- Parameters:
parameterOverrides
- A list of parameter values for the parameters of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterOverrides
CreateCloudFormationChangeSetRequest.Builder parameterOverrides(ParameterValue... parameterOverrides) A list of parameter values for the parameters of the application.
- Parameters:
parameterOverrides
- A list of parameter values for the parameters of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterOverrides
CreateCloudFormationChangeSetRequest.Builder parameterOverrides(Consumer<ParameterValue.Builder>... parameterOverrides) A list of parameter values for the parameters of the application.
This is a convenience method that creates an instance of theParameterValue.Builder
avoiding the need to create one manually viaParameterValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameterOverrides(List<ParameterValue>)
.- Parameters:
parameterOverrides
- a consumer that will call methods onParameterValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceTypes
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
resourceTypes
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
resourceTypes
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackConfiguration
CreateCloudFormationChangeSetRequest.Builder rollbackConfiguration(RollbackConfiguration rollbackConfiguration) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
rollbackConfiguration
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackConfiguration
default CreateCloudFormationChangeSetRequest.Builder rollbackConfiguration(Consumer<RollbackConfiguration.Builder> rollbackConfiguration) This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
This is a convenience method that creates an instance of theRollbackConfiguration.Builder
avoiding the need to create one manually viaRollbackConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torollbackConfiguration(RollbackConfiguration)
.- Parameters:
rollbackConfiguration
- a consumer that will call methods onRollbackConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
semanticVersion
The semantic version of the application:
- Parameters:
semanticVersion
- The semantic version of the application:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackName
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
stackName
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
tags
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
- Parameters:
tags
- This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateId
The UUID returned by CreateCloudFormationTemplate.
Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
- Parameters:
templateId
- The UUID returned by CreateCloudFormationTemplate.Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCloudFormationChangeSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCloudFormationChangeSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-