amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.Types.ResourceChange

Description

 
Synopsis

Documentation

data ResourceChange Source #

The ResourceChange structure describes the resource and the action that CloudFormation will perform on it if you execute this change set.

See: newResourceChange smart constructor.

Constructors

ResourceChange' 

Fields

  • action :: Maybe ChangeAction

    The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), or Dynamic (exact action for the resource can't be determined).

  • changeSetId :: Maybe Text

    The change set ID of the nested change set.

  • details :: Maybe [ResourceChangeDetail]

    For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource.

  • logicalResourceId :: Maybe Text

    The resource's logical ID, which is defined in the stack's template.

  • moduleInfo :: Maybe ModuleInfo

    Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

  • physicalResourceId :: Maybe Text

    The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.

  • replacement :: Maybe Replacement

    For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

    If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

  • resourceType :: Maybe Text

    The type of CloudFormation resource, such as AWS::S3::Bucket.

  • scope :: Maybe [ResourceAttribute]

    For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

Instances

Instances details
FromXML ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

Generic ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

Associated Types

type Rep ResourceChange :: Type -> Type #

Read ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

Show ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

NFData ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

Methods

rnf :: ResourceChange -> () #

Eq ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

Hashable ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

type Rep ResourceChange Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceChange

newResourceChange :: ResourceChange Source #

Create a value of ResourceChange 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:action:ResourceChange', resourceChange_action - The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), or Dynamic (exact action for the resource can't be determined).

$sel:changeSetId:ResourceChange', resourceChange_changeSetId - The change set ID of the nested change set.

$sel:details:ResourceChange', resourceChange_details - For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource.

$sel:logicalResourceId:ResourceChange', resourceChange_logicalResourceId - The resource's logical ID, which is defined in the stack's template.

$sel:moduleInfo:ResourceChange', resourceChange_moduleInfo - Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

$sel:physicalResourceId:ResourceChange', resourceChange_physicalResourceId - The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.

$sel:replacement:ResourceChange', resourceChange_replacement - For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

$sel:resourceType:ResourceChange', resourceChange_resourceType - The type of CloudFormation resource, such as AWS::S3::Bucket.

$sel:scope:ResourceChange', resourceChange_scope - For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

resourceChange_action :: Lens' ResourceChange (Maybe ChangeAction) Source #

The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), or Dynamic (exact action for the resource can't be determined).

resourceChange_changeSetId :: Lens' ResourceChange (Maybe Text) Source #

The change set ID of the nested change set.

resourceChange_details :: Lens' ResourceChange (Maybe [ResourceChangeDetail]) Source #

For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource.

resourceChange_logicalResourceId :: Lens' ResourceChange (Maybe Text) Source #

The resource's logical ID, which is defined in the stack's template.

resourceChange_moduleInfo :: Lens' ResourceChange (Maybe ModuleInfo) Source #

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

resourceChange_physicalResourceId :: Lens' ResourceChange (Maybe Text) Source #

The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.

resourceChange_replacement :: Lens' ResourceChange (Maybe Replacement) Source #

For the Modify action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the RequiresRecreation property in the ResourceTargetDefinition structure. For example, if the RequiresRecreation field is Always and the Evaluation field is Static, Replacement is True. If the RequiresRecreation field is Always and the Evaluation field is Dynamic, Replacement is Conditionally.

If you have multiple changes with different RequiresRecreation values, the Replacement value depends on the change with the most impact. A RequiresRecreation value of Always has the most impact, followed by Conditionally, and then Never.

resourceChange_resourceType :: Lens' ResourceChange (Maybe Text) Source #

The type of CloudFormation resource, such as AWS::S3::Bucket.

resourceChange_scope :: Lens' ResourceChange (Maybe [ResourceAttribute]) Source #

For the Modify action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.