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.
Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateStackRequest : AmazonCloudFormationRequest IRequestEvents
The CreateStackRequest type exposes the following members
Name | Description | |
---|---|---|
CreateStackRequest() |
Name | Type | Description | |
---|---|---|---|
Capabilities | System.Collections.Generic.List<System.String> |
Gets and sets the property Capabilities.
A list of capabilities that you must specify before AWS CloudFormation can create or update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter.
Currently, the only valid value is |
|
DisableRollback | System.Boolean |
Gets and sets the property DisableRollback.
Set to
Default: |
|
NotificationARNs | System.Collections.Generic.List<System.String> |
Gets and sets the property NotificationARNs.
The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI). |
|
OnFailure | Amazon.CloudFormation.OnFailure |
Gets and sets the property OnFailure.
Determines what action will be taken if stack creation fails. This must be one of:
DO_NOTHING, ROLLBACK, or DELETE. You can specify either
Default: |
|
Parameters | System.Collections.Generic.List<Amazon.CloudFormation.Model.Parameter> |
Gets and sets the property Parameters.
A list of |
|
ResourceTypes | System.Collections.Generic.List<System.String> |
Gets and sets the property ResourceTypes.
The template resource types that you have permissions to work with for this create
stack action, such as If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for AWS CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with AWS Identity and Access Management. |
|
StackName | System.String |
Gets and sets the property StackName.
The name that is associated with the stack. The name must be unique in the region in which you are creating the stack. |
|
StackPolicyBody | System.String |
Gets and sets the property StackPolicyBody.
Structure containing the stack policy body. For more information, go to
Prevent Updates to Stack Resources in the AWS CloudFormation User Guide. You can
specify either the |
|
StackPolicyURL | System.String |
Gets and sets the property StackPolicyURL.
Location of a file containing the stack policy. The URL must point to a policy (max
size: 16KB) located in an S3 bucket in the same region as the stack. You can specify
either the |
|
Tags | System.Collections.Generic.List<Amazon.CloudFormation.Model.Tag> |
Gets and sets the property Tags.
Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 10 tags can be specified. |
|
TemplateBody | System.String |
Gets and sets the property TemplateBody.
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify either the |
|
TemplateURL | System.String |
Gets and sets the property TemplateURL.
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, go to the Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify either the |
|
TimeoutInMinutes | System.Int32 |
Gets and sets the property TimeoutInMinutes.
The amount of time that can pass before the stack status becomes CREATE_FAILED; if
|
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1