Class CfnChangeSetProps
Properties for defining a CfnChangeSet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnChangeSetProps : ICfnChangeSetProps
Syntax (vb)
Public Class CfnChangeSetProps Implements ICfnChangeSetProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFormation;
var cfnChangeSetProps = new CfnChangeSetProps {
ChangeSetName = "changeSetName",
StackName = "stackName",
// the properties below are optional
Capabilities = new [] { "capabilities" },
ChangeSetType = "changeSetType",
DeploymentMode = "deploymentMode",
Description = "description",
ImportExistingResources = false,
IncludeNestedStacks = false,
NotificationArns = new [] { "notificationArns" },
OnStackFailure = "onStackFailure",
RoleArn = "roleArn",
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} },
TemplateBody = "templateBody",
TemplateUrl = "templateUrl",
UsePreviousTemplate = false
};
Synopsis
Constructors
| CfnChangeSetProps() | Properties for defining a |
Properties
| Capabilities | The capabilities that are allowed in the stack. |
| ChangeSetName | The name of the change set. |
| ChangeSetType | The type of change set operation. |
| DeploymentMode | Determines how CloudFormation handles configuration drift during deployment. |
| Description | A description to help you identify this change set. |
| ImportExistingResources | Indicates if the change set imports resources that already exist. |
| IncludeNestedStacks | Creates a change set for all nested stacks specified in the template. |
| NotificationArns | The ARNs of Amazon SNS topics that CloudFormation associates with the stack. |
| OnStackFailure | Determines what action will be taken if stack creation fails. |
| RoleArn | The ARN of an IAM role that CloudFormation assumes when executing the change set. |
| StackName | The name or unique ID of the stack for which you are creating a change set. |
| Tags | Key-value pairs to associate with the change set. |
| TemplateBody | A structure that contains the body of the revised template. |
| TemplateUrl | The URL of the file that contains the revised template. |
| UsePreviousTemplate | Whether to reuse the template associated with the stack to create the change set. |
Constructors
CfnChangeSetProps()
Properties for defining a CfnChangeSet.
public CfnChangeSetProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFormation;
var cfnChangeSetProps = new CfnChangeSetProps {
ChangeSetName = "changeSetName",
StackName = "stackName",
// the properties below are optional
Capabilities = new [] { "capabilities" },
ChangeSetType = "changeSetType",
DeploymentMode = "deploymentMode",
Description = "description",
ImportExistingResources = false,
IncludeNestedStacks = false,
NotificationArns = new [] { "notificationArns" },
OnStackFailure = "onStackFailure",
RoleArn = "roleArn",
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} },
TemplateBody = "templateBody",
TemplateUrl = "templateUrl",
UsePreviousTemplate = false
};
Properties
Capabilities
The capabilities that are allowed in the stack.
public string[]? Capabilities { get; set; }
Property Value
string[]
Remarks
ChangeSetName
The name of the change set.
public string ChangeSetName { get; set; }
Property Value
Remarks
Must be unique among all change sets associated with the specified stack.
ChangeSetType
The type of change set operation.
public string? ChangeSetType { get; set; }
Property Value
Remarks
DeploymentMode
Determines how CloudFormation handles configuration drift during deployment.
public string? DeploymentMode { get; set; }
Property Value
Remarks
Description
A description to help you identify this change set.
public string? Description { get; set; }
Property Value
Remarks
ImportExistingResources
Indicates if the change set imports resources that already exist.
public object? ImportExistingResources { get; set; }
Property Value
Remarks
IncludeNestedStacks
Creates a change set for all nested stacks specified in the template.
public object? IncludeNestedStacks { get; set; }
Property Value
Remarks
NotificationArns
The ARNs of Amazon SNS topics that CloudFormation associates with the stack.
public string[]? NotificationArns { get; set; }
Property Value
string[]
Remarks
OnStackFailure
Determines what action will be taken if stack creation fails.
public string? OnStackFailure { get; set; }
Property Value
Remarks
RoleArn
The ARN of an IAM role that CloudFormation assumes when executing the change set.
public string? RoleArn { get; set; }
Property Value
Remarks
StackName
The name or unique ID of the stack for which you are creating a change set.
public string StackName { get; set; }
Property Value
Remarks
Tags
Key-value pairs to associate with the change set.
public CfnChangeSet.ITagsItemsProperty[]? Tags { get; set; }
Property Value
Remarks
TemplateBody
A structure that contains the body of the revised template.
public string? TemplateBody { get; set; }
Property Value
Remarks
TemplateUrl
The URL of the file that contains the revised template.
public string? TemplateUrl { get; set; }
Property Value
Remarks
UsePreviousTemplate
Whether to reuse the template associated with the stack to create the change set.
public object? UsePreviousTemplate { get; set; }