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.ResourceTargetDefinition

Description

 
Synopsis

Documentation

data ResourceTargetDefinition Source #

The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.

See: newResourceTargetDefinition smart constructor.

Constructors

ResourceTargetDefinition' 

Fields

  • attribute :: Maybe ResourceAttribute

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

  • name :: Maybe Text

    If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

  • requiresRecreation :: Maybe RequiresRecreation

    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

Instances

Instances details
FromXML ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Generic ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Associated Types

type Rep ResourceTargetDefinition :: Type -> Type #

Read ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Show ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

NFData ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Eq ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Hashable ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

type Rep ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

type Rep ResourceTargetDefinition = D1 ('MetaData "ResourceTargetDefinition" "Amazonka.CloudFormation.Types.ResourceTargetDefinition" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ResourceTargetDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceAttribute)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requiresRecreation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequiresRecreation)))))

newResourceTargetDefinition :: ResourceTargetDefinition Source #

Create a value of ResourceTargetDefinition 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:attribute:ResourceTargetDefinition', resourceTargetDefinition_attribute - Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

$sel:name:ResourceTargetDefinition', resourceTargetDefinition_name - If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

$sel:requiresRecreation:ResourceTargetDefinition', resourceTargetDefinition_requiresRecreation - If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.

resourceTargetDefinition_attribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute) Source #

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

resourceTargetDefinition_name :: Lens' ResourceTargetDefinition (Maybe Text) Source #

If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

resourceTargetDefinition_requiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation) Source #

If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the CloudFormation User Guide.