Container for the parameters to the UpdateStack operation.
Namespace: Amazon.CloudFormation.ModelUpdates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.
To get a copy of the template for an existing stack, you can use the GetTemplate action.
For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class UpdateStackRequest : AmazonWebServiceRequest
Public Class UpdateStackRequest _ Inherits AmazonWebServiceRequest
public ref class UpdateStackRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |||
|---|---|---|---|---|
| UpdateStackRequest()()()() | Initializes a new instance of the UpdateStackRequest class | |||
| Capabilities |
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM
value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.
| |||
| Equals(Object) | (Inherited from Object.) | |||
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |||
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |||
| Parameters |
A list of Parameter structures that specify input parameters for the stack.
| |||
| StackName |
The name or stack ID of the stack to update.
| |||
| TemplateBody |
Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.) Conditional: You must pass
TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.
Constraints: | |||
| TemplateURL |
Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For
more information, go to the AWS CloudFormation User
Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.
Constraints: | |||
| ToString()()()() | (Inherited from Object.) | |||
| WithCapabilities(IEnumerable<(Of <<'(String>)>>)) |
Adds elements to the Capabilities collection
| |||
| WithCapabilities(array<String>[]()[][]) |
Adds elements to the Capabilities collection
| |||
| WithParameters(array<Parameter>[]()[][]) |
Adds elements to the Parameters collection
| |||
| WithParameters(IEnumerable<(Of <<'(Parameter>)>>)) |
Adds elements to the Parameters collection
| |||
| WithStackName(String) |
Sets the StackName property
| |||
| WithTemplateBody(String) |
Sets the TemplateBody property
| |||
| WithTemplateURL(String) |
Sets the TemplateURL property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudFormation.Model..::..UpdateStackRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudFormation.Model..::..UpdateStackRequest