create_cloud_formation_change_set
(**kwargs)¶Creates an AWS CloudFormation change set for the given application.
See also: AWS API Documentation
Request Syntax
response = client.create_cloud_formation_change_set(
ApplicationId='string',
Capabilities=[
'string',
],
ChangeSetName='string',
ClientToken='string',
Description='string',
NotificationArns=[
'string',
],
ParameterOverrides=[
{
'Name': 'string',
'Value': 'string'
},
],
ResourceTypes=[
'string',
],
RollbackConfiguration={
'MonitoringTimeInMinutes': 123,
'RollbackTriggers': [
{
'Arn': 'string',
'Type': 'string'
},
]
},
SemanticVersion='string',
StackName='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
TemplateId='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the application.
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.
This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet API.
A list of parameter values for the parameters of the application.
Parameter value of the application.
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
The input value associated with the parameter.
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.
This property corresponds to the content of the same name for the AWS CloudFormation RollbackConfiguration Data Type.
This property corresponds to the content of the same name for the AWS CloudFormation RollbackConfiguration Data Type.
This property corresponds to the AWS CloudFormation RollbackTrigger Data Type.
This property corresponds to the content of the same name for the AWS CloudFormation RollbackTrigger Data Type.
This property corresponds to the content of the same name for the AWS CloudFormation RollbackTrigger Data Type.
The semantic version of the application:
[REQUIRED]
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.
This property corresponds to the AWS CloudFormation Tag Data Type.
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}
dict
Response Syntax
{
'ApplicationId': 'string',
'ChangeSetId': 'string',
'SemanticVersion': 'string',
'StackId': 'string'
}
Response Structure
(dict) --
Success
ApplicationId (string) --
The application Amazon Resource Name (ARN).
ChangeSetId (string) --
The Amazon Resource Name (ARN) of the change set.
Length constraints: Minimum length of 1.
Pattern: ARN:[-a-zA-Z0-9:/]*
SemanticVersion (string) --
The semantic version of the application:
StackId (string) --
The unique ID of the stack.
Exceptions
ServerlessApplicationRepository.Client.exceptions.TooManyRequestsException
ServerlessApplicationRepository.Client.exceptions.BadRequestException
ServerlessApplicationRepository.Client.exceptions.InternalServerErrorException
ServerlessApplicationRepository.Client.exceptions.ForbiddenException