AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.CloudFormation.Model.ResourceTargetDefinition

Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z

Syntax

C#
public class ResourceTargetDefinition

The ResourceTargetDefinition type exposes the following members

Constructors

NameDescription
Public Method ResourceTargetDefinition()

Properties

NameTypeDescription
Public Property AfterValue System.String

Gets and sets the property AfterValue.

The value of the property after the change is executed. Large values can be truncated.

Public Property Attribute Amazon.CloudFormation.ResourceAttribute

Gets and sets the property Attribute.

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

Public Property AttributeChangeType Amazon.CloudFormation.AttributeChangeType

Gets and sets the property AttributeChangeType.

The type of change to be made to the property if the change is executed.

  • Add The item will be added.

  • Remove The item will be removed.

  • Modify The item will be modified.

Public Property BeforeValue System.String

Gets and sets the property BeforeValue.

The value of the property before the change is executed. Large values can be truncated.

Public Property Name System.String

Gets and sets the property Name.

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

Public Property Path System.String

Gets and sets the property Path.

The property path of the property.

Public Property RequiresRecreation Amazon.CloudFormation.RequiresRecreation

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5