libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
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.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.

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

  • name :: Maybe Text

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

Instances

Instances details
Eq ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Read ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Show 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 #

NFData ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

Hashable ResourceTargetDefinition Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceTargetDefinition

FromXML 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" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ResourceTargetDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceAttribute)) :*: (S1 ('MetaSel ('Just "requiresRecreation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequiresRecreation)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

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

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

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.