@Generated(value="software.amazon.awssdk:codegen") public final class CreateCloudFormationChangeSetRequest extends ServerlessApplicationRepositoryRequest implements ToCopyableBuilder<CreateCloudFormationChangeSetRequest.Builder,CreateCloudFormationChangeSetRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCloudFormationChangeSetRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationId()
The Amazon Resource Name (ARN) of the application.
|
static CreateCloudFormationChangeSetRequest.Builder |
builder() |
List<String> |
capabilities()
A list of values that you must specify before you can deploy certain applications.
|
String |
changeSetName()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
String |
clientToken()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
String |
description()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<String> |
notificationArns()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
List<ParameterValue> |
parameterOverrides()
A list of parameter values for the parameters of the application.
|
List<String> |
resourceTypes()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
RollbackConfiguration |
rollbackConfiguration()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
List<SdkField<?>> |
sdkFields() |
String |
semanticVersion()
The semantic version of the application:
|
static Class<? extends CreateCloudFormationChangeSetRequest.Builder> |
serializableBuilderClass() |
String |
stackName()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
List<Tag> |
tags()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet
API.
|
String |
templateId()
The UUID returned by CreateCloudFormationTemplate.
|
CreateCloudFormationChangeSetRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String applicationId()
The Amazon Resource Name (ARN) of the application.
public List<String> 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, and CAPABILITY_RESOURCE_POLICY.
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.
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.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
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.
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.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
public String changeSetName()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
public String clientToken()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
public String description()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
public List<String> notificationArns()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ParameterValue> parameterOverrides()
A list of parameter values for the parameters of the application.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> resourceTypes()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public RollbackConfiguration rollbackConfiguration()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
public String semanticVersion()
The semantic version of the application:
public String stackName()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
public List<Tag> tags()
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String 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}
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}
public CreateCloudFormationChangeSetRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateCloudFormationChangeSetRequest.Builder,CreateCloudFormationChangeSetRequest>
toBuilder
in class ServerlessApplicationRepositoryRequest
public static CreateCloudFormationChangeSetRequest.Builder builder()
public static Class<? extends CreateCloudFormationChangeSetRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.