Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates an AWS CloudFormation change set for the given application.
Synopsis
- data CreateCloudFormationChangeSet = CreateCloudFormationChangeSet' {
- capabilities :: Maybe [Text]
- changeSetName :: Maybe Text
- clientToken :: Maybe Text
- description :: Maybe Text
- notificationArns :: Maybe [Text]
- parameterOverrides :: Maybe [ParameterValue]
- resourceTypes :: Maybe [Text]
- rollbackConfiguration :: Maybe RollbackConfiguration
- semanticVersion :: Maybe Text
- tags :: Maybe [Tag]
- templateId :: Maybe Text
- applicationId :: Text
- stackName :: Text
- newCreateCloudFormationChangeSet :: Text -> Text -> CreateCloudFormationChangeSet
- createCloudFormationChangeSet_capabilities :: Lens' CreateCloudFormationChangeSet (Maybe [Text])
- createCloudFormationChangeSet_changeSetName :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_clientToken :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_description :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_notificationArns :: Lens' CreateCloudFormationChangeSet (Maybe [Text])
- createCloudFormationChangeSet_parameterOverrides :: Lens' CreateCloudFormationChangeSet (Maybe [ParameterValue])
- createCloudFormationChangeSet_resourceTypes :: Lens' CreateCloudFormationChangeSet (Maybe [Text])
- createCloudFormationChangeSet_rollbackConfiguration :: Lens' CreateCloudFormationChangeSet (Maybe RollbackConfiguration)
- createCloudFormationChangeSet_semanticVersion :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_tags :: Lens' CreateCloudFormationChangeSet (Maybe [Tag])
- createCloudFormationChangeSet_templateId :: Lens' CreateCloudFormationChangeSet (Maybe Text)
- createCloudFormationChangeSet_applicationId :: Lens' CreateCloudFormationChangeSet Text
- createCloudFormationChangeSet_stackName :: Lens' CreateCloudFormationChangeSet Text
- data CreateCloudFormationChangeSetResponse = CreateCloudFormationChangeSetResponse' {
- applicationId :: Maybe Text
- changeSetId :: Maybe Text
- semanticVersion :: Maybe Text
- stackId :: Maybe Text
- httpStatus :: Int
- newCreateCloudFormationChangeSetResponse :: Int -> CreateCloudFormationChangeSetResponse
- createCloudFormationChangeSetResponse_applicationId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text)
- createCloudFormationChangeSetResponse_changeSetId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text)
- createCloudFormationChangeSetResponse_semanticVersion :: 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: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:changeSetName:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_changeSetName
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:clientToken:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_clientToken
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
CreateCloudFormationChangeSet
, createCloudFormationChangeSet_description
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:notificationArns:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_notificationArns
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:parameterOverrides:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_parameterOverrides
- A list of parameter values for the parameters of the application.
$sel:resourceTypes:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_resourceTypes
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
$sel:rollbackConfiguration:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_rollbackConfiguration
- This property corresponds to the parameter of the same name for the /AWS
CloudFormation
CreateChangeSet/
API.
CreateCloudFormationChangeSet
, createCloudFormationChangeSet_semanticVersion
- The semantic version of the application:
$sel:tags:CreateCloudFormationChangeSet'
, createCloudFormationChangeSet_tags
- 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}
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_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_changeSetName :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_clientToken :: 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_notificationArns :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_parameterOverrides :: Lens' CreateCloudFormationChangeSet (Maybe [ParameterValue]) Source #
A list of parameter values for the parameters of the application.
createCloudFormationChangeSet_resourceTypes :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_rollbackConfiguration :: Lens' CreateCloudFormationChangeSet (Maybe RollbackConfiguration) Source #
This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.
createCloudFormationChangeSet_semanticVersion :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #
The semantic version of the application:
createCloudFormationChangeSet_tags :: Lens' CreateCloudFormationChangeSet (Maybe [Tag]) 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_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:
CreateCloudFormationChangeSet
, createCloudFormationChangeSetResponse_applicationId
- The application Amazon Resource Name (ARN).
$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:/]*
CreateCloudFormationChangeSet
, createCloudFormationChangeSetResponse_semanticVersion
- The semantic version of the application:
$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_applicationId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
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_semanticVersion :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #
The semantic version of the application:
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.