libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Description

Creates an AWS CloudFormation change set for the given application.

Synopsis

Creating a Request

data CreateCloudFormationChangeSet Source #

See: newCreateCloudFormationChangeSet smart constructor.

Constructors

CreateCloudFormationChangeSet' 

Fields

Instances

Instances details
Eq CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Read CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Show CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Generic CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Associated Types

type Rep CreateCloudFormationChangeSet :: Type -> Type #

NFData CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Hashable CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToJSON CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

AWSRequest CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToHeaders CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToPath CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToQuery CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSet = D1 ('MetaData "CreateCloudFormationChangeSet" "Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "CreateCloudFormationChangeSet'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notificationArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "changeSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "parameterOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterValue])) :*: S1 ('MetaSel ('Just "rollbackConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RollbackConfiguration)))) :*: ((S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

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:

https://semver.org/

$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_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_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 #

Constructors

CreateCloudFormationChangeSetResponse' 

Fields

Instances

Instances details
Eq CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Read CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Show CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Generic CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

NFData CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSetResponse = D1 ('MetaData "CreateCloudFormationChangeSetResponse" "Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "CreateCloudFormationChangeSetResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "changeSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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:

https://semver.org/

$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_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:/]*