Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates an AWS CloudFormation change set for the given application.
Synopsis
- data CreateCloudFormationChangeSet = CreateCloudFormationChangeSet' {
- clientToken :: Maybe Text
- templateId :: Maybe Text
- semanticVersion :: Maybe Text
- notificationArns :: Maybe [Text]
- changeSetName :: Maybe Text
- description :: Maybe Text
- capabilities :: Maybe [Text]
- parameterOverrides :: Maybe [ParameterValue]
- rollbackConfiguration :: Maybe RollbackConfiguration
- resourceTypes :: Maybe [Text]
- tags :: Maybe [Tag]
- applicationId :: Text
- stackName :: Text
- newCreateCloudFormationChangeSet :: Text -> Text -> CreateCloudFormationChangeSet
- createCloudFormationChangeSet_clientToken :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_templateId :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_semanticVersion :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_notificationArns :: Lens' CreateCloudFormationChangeSet (Maybe [Text])
- createCloudFormationChangeSet_changeSetName :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_description :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_capabilities :: Lens' CreateCloudFormationChangeSet (Maybe [Text])
- createCloudFormationChangeSet_parameterOverrides :: Lens' CreateCloudFormationChangeSet (Maybe [ParameterValue])
- createCloudFormationChangeSet_rollbackConfiguration :: Lens' CreateCloudFormationChangeSet (Maybe RollbackConfiguration)
- createCloudFormationChangeSet_resourceTypes :: Lens' CreateCloudFormationChangeSet (Maybe [Text])
- createCloudFormationChangeSet_tags :: Lens' CreateCloudFormationChangeSet (Maybe [Tag])
- createCloudFormationChangeSet_applicationId :: Lens' CreateCloudFormationChangeSet Text
- createCloudFormationChangeSet_stackName :: Lens' CreateCloudFormationChangeSet Text
- data CreateCloudFormationChangeSetResponse = CreateCloudFormationChangeSetResponse' {
- semanticVersion :: Maybe Text
- changeSetId :: Maybe Text
- applicationId :: Maybe Text
- stackId :: Maybe Text
- httpStatus :: Int
- newCreateCloudFormationChangeSetResponse :: Int -> CreateCloudFormationChangeSetResponse
- createCloudFormationChangeSetResponse_semanticVersion :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text)
- createCloudFormationChangeSetResponse_changeSetId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text)
- createCloudFormationChangeSetResponse_applicationId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text)
- createCloudFormationChangeSetResponse_stackId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text)
- createCloudFormationChangeSetResponse_httpStatus :: Lens' CreateCloudFormationChangeSetResponse Int
Creating a Request
data CreateCloudFormationChangeSet Source #
See: newCreateCloudFormationChangeSet
smart constructor.
CreateCloudFormationChangeSet' | |
|
Instances
newCreateCloudFormationChangeSet Source #
Create a value of CreateCloudFormationChangeSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_clientToken
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:templateId:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_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}
$sel:semanticVersion:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_semanticVersion
- The semantic version of the application:
$sel:notificationArns:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_notificationArns
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:changeSetName:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_changeSetName
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:description:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_description
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:capabilities:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_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.
$sel:parameterOverrides:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_parameterOverrides
- A list of parameter values for the parameters of the application.
$sel:rollbackConfiguration:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_rollbackConfiguration
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:resourceTypes:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_resourceTypes
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:tags:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_tags
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:applicationId:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_applicationId
- The Amazon Resource Name (ARN) of the application.
$sel:stackName:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_stackName
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
Request Lenses
createCloudFormationChangeSet_clientToken :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_templateId :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
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}
createCloudFormationChangeSet_semanticVersion :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
The semantic version of the application:
createCloudFormationChangeSet_notificationArns :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_changeSetName :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_description :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_capabilities :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #
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.
createCloudFormationChangeSet_parameterOverrides :: Lens' CreateCloudFormationChangeSet (Maybe [ParameterValue]) Source #
A list of parameter values for the parameters of the application.
createCloudFormationChangeSet_rollbackConfiguration :: Lens' CreateCloudFormationChangeSet (Maybe RollbackConfiguration) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_resourceTypes :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_tags :: Lens' CreateCloudFormationChangeSet (Maybe [Tag]) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_applicationId :: Lens' CreateCloudFormationChangeSet Text Source #
The Amazon Resource Name (ARN) of the application.
createCloudFormationChangeSet_stackName :: Lens' CreateCloudFormationChangeSet Text Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
Destructuring the Response
data CreateCloudFormationChangeSetResponse Source #
See: newCreateCloudFormationChangeSetResponse
smart constructor.
CreateCloudFormationChangeSetResponse' | |
|
Instances
newCreateCloudFormationChangeSetResponse Source #
Create a value of CreateCloudFormationChangeSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:semanticVersion:CreateCloudFormationChangeSet'
, createCloudFormationChangeSetResponse_semanticVersion
- The semantic version of the application:
$sel:changeSetId:CreateCloudFormationChangeSetResponse'
, createCloudFormationChangeSetResponse_changeSetId
- The Amazon Resource Name (ARN) of the change set.
Length constraints: Minimum length of 1.
Pattern: ARN:[-a-zA-Z0-9:/]*
$sel:applicationId:CreateCloudFormationChangeSet'
, createCloudFormationChangeSetResponse_applicationId
- The application Amazon Resource Name (ARN).
$sel:stackId:CreateCloudFormationChangeSetResponse'
, createCloudFormationChangeSetResponse_stackId
- The unique ID of the stack.
$sel:httpStatus:CreateCloudFormationChangeSetResponse'
, createCloudFormationChangeSetResponse_httpStatus
- The response's http status code.
Response Lenses
createCloudFormationChangeSetResponse_semanticVersion :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #
The semantic version of the application:
createCloudFormationChangeSetResponse_changeSetId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the change set.
Length constraints: Minimum length of 1.
Pattern: ARN:[-a-zA-Z0-9:/]*
createCloudFormationChangeSetResponse_applicationId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
createCloudFormationChangeSetResponse_stackId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #
The unique ID of the stack.
createCloudFormationChangeSetResponse_httpStatus :: Lens' CreateCloudFormationChangeSetResponse Int Source #
The response's http status code.