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 ResourceChange structure describes the resource and the action that AWS CloudFormation will perform on it if you execute this change set.

Inheritance Hierarchy


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


public class ResourceChange

The ResourceChange type exposes the following members


Public Method ResourceChange()


Public Property Action Amazon.CloudFormation.ChangeAction

Gets and sets the property Action.

The action that AWS CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), or Remove (deletes a resource).

Public Property Details System.Collections.Generic.List<Amazon.CloudFormation.Model.ResourceChangeDetail>

Gets and sets the property Details.

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

Public Property LogicalResourceId System.String

Gets and sets the property LogicalResourceId.

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

Public Property PhysicalResourceId System.String

Gets and sets the property PhysicalResourceId.

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

Public Property Replacement Amazon.CloudFormation.Replacement

Gets and sets the property Replacement.

For the Modify action, indicates whether AWS 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.

Public Property ResourceType System.String

Gets and sets the property ResourceType.

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

Public Property Scope System.Collections.Generic.List<System.String>

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

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms