public class UpdateStackRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for an UpdateStack action.
NOOP| Constructor and Description | 
|---|
| UpdateStackRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateStackRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| List<String> | getCapabilities()
 A list of capabilities that you must specify before AWS CloudFormation
 can update certain stacks. | 
| List<String> | getNotificationARNs()
 Amazon Simple Notification Service topic Amazon Resource Names (ARNs)
 that AWS CloudFormation associates with the stack. | 
| List<Parameter> | getParameters()
 A list of  Parameterstructures that specify input parameters
 for the stack. | 
| List<String> | getResourceTypes()
 The template resource types that you have permissions to work with for
 this update stack action, such as  AWS::EC2::Instance,AWS::EC2::*, orCustom::MyCustomInstance. | 
| String | getStackName()
 The name or unique stack ID of the stack to update. | 
| String | getStackPolicyBody()
 Structure containing a new stack policy body. | 
| String | getStackPolicyDuringUpdateBody()
 Structure containing the temporary overriding stack policy body. | 
| String | getStackPolicyDuringUpdateURL()
 Location of a file containing the temporary overriding stack policy. | 
| String | getStackPolicyURL()
 Location of a file containing the updated stack policy. | 
| List<Tag> | getTags()
 Key-value pairs to associate with this stack. | 
| String | getTemplateBody()
 Structure containing the template body with a minimum length of 1 byte
 and a maximum length of 51,200 bytes. | 
| String | getTemplateURL()
 Location of file containing the template body. | 
| Boolean | getUsePreviousTemplate()
 Reuse the existing template that is associated with the stack that you
 are updating. | 
| int | hashCode() | 
| Boolean | isUsePreviousTemplate()
 Reuse the existing template that is associated with the stack that you
 are updating. | 
| void | setCapabilities(Collection<String> capabilities)
 A list of capabilities that you must specify before AWS CloudFormation
 can update certain stacks. | 
| void | setNotificationARNs(Collection<String> notificationARNs)
 Amazon Simple Notification Service topic Amazon Resource Names (ARNs)
 that AWS CloudFormation associates with the stack. | 
| void | setParameters(Collection<Parameter> parameters)
 A list of  Parameterstructures that specify input parameters
 for the stack. | 
| void | setResourceTypes(Collection<String> resourceTypes)
 The template resource types that you have permissions to work with for
 this update stack action, such as  AWS::EC2::Instance,AWS::EC2::*, orCustom::MyCustomInstance. | 
| void | setStackName(String stackName)
 The name or unique stack ID of the stack to update. | 
| void | setStackPolicyBody(String stackPolicyBody)
 Structure containing a new stack policy body. | 
| void | setStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
 Structure containing the temporary overriding stack policy body. | 
| void | setStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
 Location of a file containing the temporary overriding stack policy. | 
| void | setStackPolicyURL(String stackPolicyURL)
 Location of a file containing the updated stack policy. | 
| void | setTags(Collection<Tag> tags)
 Key-value pairs to associate with this stack. | 
| void | setTemplateBody(String templateBody)
 Structure containing the template body with a minimum length of 1 byte
 and a maximum length of 51,200 bytes. | 
| void | setTemplateURL(String templateURL)
 Location of file containing the template body. | 
| void | setUsePreviousTemplate(Boolean usePreviousTemplate)
 Reuse the existing template that is associated with the stack that you
 are updating. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| UpdateStackRequest | withCapabilities(Capability... capabilities)
 A list of capabilities that you must specify before AWS CloudFormation
 can update certain stacks. | 
| UpdateStackRequest | withCapabilities(Collection<String> capabilities)
 A list of capabilities that you must specify before AWS CloudFormation
 can update certain stacks. | 
| UpdateStackRequest | withCapabilities(String... capabilities)
 A list of capabilities that you must specify before AWS CloudFormation
 can update certain stacks. | 
| UpdateStackRequest | withNotificationARNs(Collection<String> notificationARNs)
 Amazon Simple Notification Service topic Amazon Resource Names (ARNs)
 that AWS CloudFormation associates with the stack. | 
| UpdateStackRequest | withNotificationARNs(String... notificationARNs)
 Amazon Simple Notification Service topic Amazon Resource Names (ARNs)
 that AWS CloudFormation associates with the stack. | 
| UpdateStackRequest | withParameters(Collection<Parameter> parameters)
 A list of  Parameterstructures that specify input parameters
 for the stack. | 
| UpdateStackRequest | withParameters(Parameter... parameters)
 A list of  Parameterstructures that specify input parameters
 for the stack. | 
| UpdateStackRequest | withResourceTypes(Collection<String> resourceTypes)
 The template resource types that you have permissions to work with for
 this update stack action, such as  AWS::EC2::Instance,AWS::EC2::*, orCustom::MyCustomInstance. | 
| UpdateStackRequest | withResourceTypes(String... resourceTypes)
 The template resource types that you have permissions to work with for
 this update stack action, such as  AWS::EC2::Instance,AWS::EC2::*, orCustom::MyCustomInstance. | 
| UpdateStackRequest | withStackName(String stackName)
 The name or unique stack ID of the stack to update. | 
| UpdateStackRequest | withStackPolicyBody(String stackPolicyBody)
 Structure containing a new stack policy body. | 
| UpdateStackRequest | withStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
 Structure containing the temporary overriding stack policy body. | 
| UpdateStackRequest | withStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
 Location of a file containing the temporary overriding stack policy. | 
| UpdateStackRequest | withStackPolicyURL(String stackPolicyURL)
 Location of a file containing the updated stack policy. | 
| UpdateStackRequest | withTags(Collection<Tag> tags)
 Key-value pairs to associate with this stack. | 
| UpdateStackRequest | withTags(Tag... tags)
 Key-value pairs to associate with this stack. | 
| UpdateStackRequest | withTemplateBody(String templateBody)
 Structure containing the template body with a minimum length of 1 byte
 and a maximum length of 51,200 bytes. | 
| UpdateStackRequest | withTemplateURL(String templateURL)
 Location of file containing the template body. | 
| UpdateStackRequest | withUsePreviousTemplate(Boolean usePreviousTemplate)
 Reuse the existing template that is associated with the stack that you
 are updating. | 
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStackName(String stackName)
The name or unique stack ID of the stack to update.
stackName - The name or unique stack ID of the stack to update.public String getStackName()
The name or unique stack ID of the stack to update.
public UpdateStackRequest withStackName(String stackName)
The name or unique stack ID of the stack to update.
stackName - The name or unique stack ID of the stack to update.public void setTemplateBody(String 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 TemplateBody or the
 TemplateURL parameter, but not both.
 
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 TemplateBody
        or the TemplateURL parameter, but not both.
public String getTemplateBody()
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 TemplateBody or the
 TemplateURL parameter, but not both.
 
         Conditional: You must specify either the
         TemplateBody or the TemplateURL
         parameter, but not both.
public UpdateStackRequest withTemplateBody(String 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 TemplateBody or the
 TemplateURL parameter, but not both.
 
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 TemplateBody
        or the TemplateURL parameter, but not both.
public void setTemplateURL(String templateURL)
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.
 Conditional: You must specify either the TemplateBody or the
 TemplateURL parameter, but not both.
 
templateURL - Location of file containing the template body. The URL must point
        to a template that is located in an Amazon S3 bucket. For more
        information, go to Template Anatomy in the AWS CloudFormation User Guide.
        
        Conditional: You must specify either the TemplateBody
        or the TemplateURL parameter, but not both.
public String getTemplateURL()
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.
 Conditional: You must specify either the TemplateBody or the
 TemplateURL parameter, but not both.
 
         Conditional: You must specify either the
         TemplateBody or the TemplateURL
         parameter, but not both.
public UpdateStackRequest withTemplateURL(String templateURL)
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.
 Conditional: You must specify either the TemplateBody or the
 TemplateURL parameter, but not both.
 
templateURL - Location of file containing the template body. The URL must point
        to a template that is located in an Amazon S3 bucket. For more
        information, go to Template Anatomy in the AWS CloudFormation User Guide.
        
        Conditional: You must specify either the TemplateBody
        or the TemplateURL parameter, but not both.
public void setUsePreviousTemplate(Boolean usePreviousTemplate)
Reuse the existing template that is associated with the stack that you are updating.
usePreviousTemplate - Reuse the existing template that is associated with the stack that
        you are updating.public Boolean getUsePreviousTemplate()
Reuse the existing template that is associated with the stack that you are updating.
public UpdateStackRequest withUsePreviousTemplate(Boolean usePreviousTemplate)
Reuse the existing template that is associated with the stack that you are updating.
usePreviousTemplate - Reuse the existing template that is associated with the stack that
        you are updating.public Boolean isUsePreviousTemplate()
Reuse the existing template that is associated with the stack that you are updating.
public void setStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
 Structure containing the temporary overriding stack policy body. You can
 specify either the StackPolicyDuringUpdateBody or the
 StackPolicyDuringUpdateURL parameter, but not both.
 
If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
stackPolicyDuringUpdateBody - Structure containing the temporary overriding stack policy body.
        You can specify either the
        StackPolicyDuringUpdateBody or the
        StackPolicyDuringUpdateURL parameter, but not
        both.
        If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
public String getStackPolicyDuringUpdateBody()
 Structure containing the temporary overriding stack policy body. You can
 specify either the StackPolicyDuringUpdateBody or the
 StackPolicyDuringUpdateURL parameter, but not both.
 
If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
StackPolicyDuringUpdateBody or the
         StackPolicyDuringUpdateURL parameter, but not
         both.
         If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
public UpdateStackRequest withStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
 Structure containing the temporary overriding stack policy body. You can
 specify either the StackPolicyDuringUpdateBody or the
 StackPolicyDuringUpdateURL parameter, but not both.
 
If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
stackPolicyDuringUpdateBody - Structure containing the temporary overriding stack policy body.
        You can specify either the
        StackPolicyDuringUpdateBody or the
        StackPolicyDuringUpdateURL parameter, but not
        both.
        If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
public void setStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
 Location of a file containing the temporary overriding 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
 StackPolicyDuringUpdateBody or the
 StackPolicyDuringUpdateURL parameter, but not both.
 
If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
stackPolicyDuringUpdateURL - Location of a file containing the temporary overriding 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 StackPolicyDuringUpdateBody or the
        StackPolicyDuringUpdateURL parameter, but not
        both.
        If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
public String getStackPolicyDuringUpdateURL()
 Location of a file containing the temporary overriding 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
 StackPolicyDuringUpdateBody or the
 StackPolicyDuringUpdateURL parameter, but not both.
 
If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
StackPolicyDuringUpdateBody or the
         StackPolicyDuringUpdateURL parameter, but not
         both.
         If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
public UpdateStackRequest withStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
 Location of a file containing the temporary overriding 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
 StackPolicyDuringUpdateBody or the
 StackPolicyDuringUpdateURL parameter, but not both.
 
If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
stackPolicyDuringUpdateURL - Location of a file containing the temporary overriding 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 StackPolicyDuringUpdateBody or the
        StackPolicyDuringUpdateURL parameter, but not
        both.
        If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.
public List<Parameter> getParameters()
 A list of Parameter structures that specify input parameters
 for the stack. For more information, see the Parameter data type.
 
Parameter structures that specify input
         parameters for the stack. For more information, see the Parameter data type.public void setParameters(Collection<Parameter> parameters)
 A list of Parameter structures that specify input parameters
 for the stack. For more information, see the Parameter data type.
 
parameters - A list of Parameter structures that specify input
        parameters for the stack. For more information, see the Parameter data type.public UpdateStackRequest withParameters(Parameter... parameters)
 A list of Parameter structures that specify input parameters
 for the stack. For more information, see the Parameter data type.
 
 NOTE: This method appends the values to the existing list (if
 any). Use setParameters(java.util.Collection) or
 withParameters(java.util.Collection) if you want to override the
 existing values.
 
parameters - A list of Parameter structures that specify input
        parameters for the stack. For more information, see the Parameter data type.public UpdateStackRequest withParameters(Collection<Parameter> parameters)
 A list of Parameter structures that specify input parameters
 for the stack. For more information, see the Parameter data type.
 
parameters - A list of Parameter structures that specify input
        parameters for the stack. For more information, see the Parameter data type.public List<String> getCapabilities()
A list of capabilities that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter.
 Currently, the only valid value is CAPABILITY_IAM, which is
 required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template contains
 these resources, we recommend that you review all permissions associated
 with them and edit their permissions if necessary. If your template
 contains any of the listed resources and you don't specify this
 parameter, this action returns an InsufficientCapabilities
 error.
 
         Currently, the only valid value is CAPABILITY_IAM,
         which is required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template
         contains these resources, we recommend that you review all
         permissions associated with them and edit their permissions if
         necessary. If your template contains any of the listed resources
         and you don't specify this parameter, this action returns an
         InsufficientCapabilities error.
Capabilitypublic void setCapabilities(Collection<String> capabilities)
A list of capabilities that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter.
 Currently, the only valid value is CAPABILITY_IAM, which is
 required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template contains
 these resources, we recommend that you review all permissions associated
 with them and edit their permissions if necessary. If your template
 contains any of the listed resources and you don't specify this
 parameter, this action returns an InsufficientCapabilities
 error.
 
capabilities - A list of capabilities that you must specify before AWS
        CloudFormation can update certain stacks. Some stack templates
        might include resources that can affect permissions in your AWS
        account, for example, by creating new AWS Identity and Access
        Management (IAM) users. For those stacks, you must explicitly
        acknowledge their capabilities by specifying this parameter.
        
        Currently, the only valid value is CAPABILITY_IAM,
        which is required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template
        contains these resources, we recommend that you review all
        permissions associated with them and edit their permissions if
        necessary. If your template contains any of the listed resources
        and you don't specify this parameter, this action returns an
        InsufficientCapabilities error.
Capabilitypublic UpdateStackRequest withCapabilities(String... capabilities)
A list of capabilities that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter.
 Currently, the only valid value is CAPABILITY_IAM, which is
 required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template contains
 these resources, we recommend that you review all permissions associated
 with them and edit their permissions if necessary. If your template
 contains any of the listed resources and you don't specify this
 parameter, this action returns an InsufficientCapabilities
 error.
 
 NOTE: This method appends the values to the existing list (if
 any). Use setCapabilities(java.util.Collection) or
 withCapabilities(java.util.Collection) if you want to override
 the existing values.
 
capabilities - A list of capabilities that you must specify before AWS
        CloudFormation can update certain stacks. Some stack templates
        might include resources that can affect permissions in your AWS
        account, for example, by creating new AWS Identity and Access
        Management (IAM) users. For those stacks, you must explicitly
        acknowledge their capabilities by specifying this parameter.
        
        Currently, the only valid value is CAPABILITY_IAM,
        which is required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template
        contains these resources, we recommend that you review all
        permissions associated with them and edit their permissions if
        necessary. If your template contains any of the listed resources
        and you don't specify this parameter, this action returns an
        InsufficientCapabilities error.
Capabilitypublic UpdateStackRequest withCapabilities(Collection<String> capabilities)
A list of capabilities that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter.
 Currently, the only valid value is CAPABILITY_IAM, which is
 required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template contains
 these resources, we recommend that you review all permissions associated
 with them and edit their permissions if necessary. If your template
 contains any of the listed resources and you don't specify this
 parameter, this action returns an InsufficientCapabilities
 error.
 
capabilities - A list of capabilities that you must specify before AWS
        CloudFormation can update certain stacks. Some stack templates
        might include resources that can affect permissions in your AWS
        account, for example, by creating new AWS Identity and Access
        Management (IAM) users. For those stacks, you must explicitly
        acknowledge their capabilities by specifying this parameter.
        
        Currently, the only valid value is CAPABILITY_IAM,
        which is required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template
        contains these resources, we recommend that you review all
        permissions associated with them and edit their permissions if
        necessary. If your template contains any of the listed resources
        and you don't specify this parameter, this action returns an
        InsufficientCapabilities error.
Capabilitypublic UpdateStackRequest withCapabilities(Capability... capabilities)
A list of capabilities that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter.
 Currently, the only valid value is CAPABILITY_IAM, which is
 required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template contains
 these resources, we recommend that you review all permissions associated
 with them and edit their permissions if necessary. If your template
 contains any of the listed resources and you don't specify this
 parameter, this action returns an InsufficientCapabilities
 error.
 
capabilities - A list of capabilities that you must specify before AWS
        CloudFormation can update certain stacks. Some stack templates
        might include resources that can affect permissions in your AWS
        account, for example, by creating new AWS Identity and Access
        Management (IAM) users. For those stacks, you must explicitly
        acknowledge their capabilities by specifying this parameter.
        
        Currently, the only valid value is CAPABILITY_IAM,
        which is required for the following resources:  AWS::IAM::AccessKey,  AWS::IAM::Group,  AWS::IAM::InstanceProfile,  AWS::IAM::Policy,  AWS::IAM::Role,  AWS::IAM::User, and  AWS::IAM::UserToGroupAddition. If your stack template
        contains these resources, we recommend that you review all
        permissions associated with them and edit their permissions if
        necessary. If your template contains any of the listed resources
        and you don't specify this parameter, this action returns an
        InsufficientCapabilities error.
Capabilitypublic List<String> getResourceTypes()
 The template resource types that you have permissions to work with for
 this update stack action, such as AWS::EC2::Instance,
 AWS::EC2::*, or Custom::MyCustomInstance.
 
If the list of resource types doesn't include a resource that you're updating, the stack update 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.
AWS::EC2::Instance, AWS::EC2::*, or
         Custom::MyCustomInstance.
         If the list of resource types doesn't include a resource that you're updating, the stack update 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.
public void setResourceTypes(Collection<String> resourceTypes)
 The template resource types that you have permissions to work with for
 this update stack action, such as AWS::EC2::Instance,
 AWS::EC2::*, or Custom::MyCustomInstance.
 
If the list of resource types doesn't include a resource that you're updating, the stack update 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.
resourceTypes - The template resource types that you have permissions to work with
        for this update stack action, such as
        AWS::EC2::Instance, AWS::EC2::*, or
        Custom::MyCustomInstance.
        If the list of resource types doesn't include a resource that you're updating, the stack update 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.
public UpdateStackRequest withResourceTypes(String... resourceTypes)
 The template resource types that you have permissions to work with for
 this update stack action, such as AWS::EC2::Instance,
 AWS::EC2::*, or Custom::MyCustomInstance.
 
If the list of resource types doesn't include a resource that you're updating, the stack update 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.
 NOTE: This method appends the values to the existing list (if
 any). Use setResourceTypes(java.util.Collection) or
 withResourceTypes(java.util.Collection) if you want to override
 the existing values.
 
resourceTypes - The template resource types that you have permissions to work with
        for this update stack action, such as
        AWS::EC2::Instance, AWS::EC2::*, or
        Custom::MyCustomInstance.
        If the list of resource types doesn't include a resource that you're updating, the stack update 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.
public UpdateStackRequest withResourceTypes(Collection<String> resourceTypes)
 The template resource types that you have permissions to work with for
 this update stack action, such as AWS::EC2::Instance,
 AWS::EC2::*, or Custom::MyCustomInstance.
 
If the list of resource types doesn't include a resource that you're updating, the stack update 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.
resourceTypes - The template resource types that you have permissions to work with
        for this update stack action, such as
        AWS::EC2::Instance, AWS::EC2::*, or
        Custom::MyCustomInstance.
        If the list of resource types doesn't include a resource that you're updating, the stack update 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.
public void setStackPolicyBody(String stackPolicyBody)
 Structure containing a new stack policy body. You can specify either the
 StackPolicyBody or the StackPolicyURL
 parameter, but not both.
 
You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
stackPolicyBody - Structure containing a new stack policy body. You can specify
        either the StackPolicyBody or the
        StackPolicyURL parameter, but not both.
        You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
public String getStackPolicyBody()
 Structure containing a new stack policy body. You can specify either the
 StackPolicyBody or the StackPolicyURL
 parameter, but not both.
 
You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
StackPolicyBody or the
         StackPolicyURL parameter, but not both.
         You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
public UpdateStackRequest withStackPolicyBody(String stackPolicyBody)
 Structure containing a new stack policy body. You can specify either the
 StackPolicyBody or the StackPolicyURL
 parameter, but not both.
 
You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
stackPolicyBody - Structure containing a new stack policy body. You can specify
        either the StackPolicyBody or the
        StackPolicyURL parameter, but not both.
        You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
public void setStackPolicyURL(String stackPolicyURL)
 Location of a file containing the updated 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
 StackPolicyBody or the StackPolicyURL
 parameter, but not both.
 
You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
stackPolicyURL - Location of a file containing the updated 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
        StackPolicyBody or the StackPolicyURL
        parameter, but not both.
        You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
public String getStackPolicyURL()
 Location of a file containing the updated 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
 StackPolicyBody or the StackPolicyURL
 parameter, but not both.
 
You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
StackPolicyBody or the StackPolicyURL
         parameter, but not both.
         You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
public UpdateStackRequest withStackPolicyURL(String stackPolicyURL)
 Location of a file containing the updated 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
 StackPolicyBody or the StackPolicyURL
 parameter, but not both.
 
You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
stackPolicyURL - Location of a file containing the updated 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
        StackPolicyBody or the StackPolicyURL
        parameter, but not both.
        You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.
public List<String> getNotificationARNs()
Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack. Specify an empty list to remove all notification topics.
public void setNotificationARNs(Collection<String> notificationARNs)
Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack. Specify an empty list to remove all notification topics.
notificationARNs - Amazon Simple Notification Service topic Amazon Resource Names
        (ARNs) that AWS CloudFormation associates with the stack. Specify
        an empty list to remove all notification topics.public UpdateStackRequest withNotificationARNs(String... notificationARNs)
Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack. Specify an empty list to remove all notification topics.
 NOTE: This method appends the values to the existing list (if
 any). Use setNotificationARNs(java.util.Collection) or
 withNotificationARNs(java.util.Collection) if you want to
 override the existing values.
 
notificationARNs - Amazon Simple Notification Service topic Amazon Resource Names
        (ARNs) that AWS CloudFormation associates with the stack. Specify
        an empty list to remove all notification topics.public UpdateStackRequest withNotificationARNs(Collection<String> notificationARNs)
Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack. Specify an empty list to remove all notification topics.
notificationARNs - Amazon Simple Notification Service topic Amazon Resource Names
        (ARNs) that AWS CloudFormation associates with the stack. Specify
        an empty list to remove all notification topics.public List<Tag> getTags()
Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 10 tags.
If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
public void setTags(Collection<Tag> tags)
Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 10 tags.
If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
tags - Key-value pairs to associate with this stack. AWS CloudFormation
        also propagates these tags to supported resources in the stack.
        You can specify a maximum number of 10 tags.
        If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
public UpdateStackRequest withTags(Tag... tags)
Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 10 tags.
If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
 NOTE: This method appends the values to the existing list (if
 any). Use setTags(java.util.Collection) or
 withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - Key-value pairs to associate with this stack. AWS CloudFormation
        also propagates these tags to supported resources in the stack.
        You can specify a maximum number of 10 tags.
        If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
public UpdateStackRequest withTags(Collection<Tag> tags)
Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 10 tags.
If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
tags - Key-value pairs to associate with this stack. AWS CloudFormation
        also propagates these tags to supported resources in the stack.
        You can specify a maximum number of 10 tags.
        If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.
public String toString()
toString in class ObjectObject.toString()public UpdateStackRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.