Container for the parameters to the SetStackPolicy operation.
            
Sets a stack policy for a specified stack.
 Declaration Syntax
 Declaration Syntax| C# | 
public class SetStackPolicyRequest : AmazonWebServiceRequest
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | SetStackPolicyRequest()()()() | Initializes a new instance of the SetStackPolicyRequest class | 
|  | 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.) | 
|  | StackName | 
            The name or stack ID that you want to associate a policy with.
             
             | 
|  | StackPolicyBody | 
            Structure containing the stack policy body. (For more information, go to  Prevent Updates to Stack Resources in
            the AWS CloudFormation User Guide.) You must pass StackPolicyBody or StackPolicyURL. If both are passed, only
            StackPolicyBody is used.
             
             Constraints: | 
|  | 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 must pass StackPolicyBody or StackPolicyURL. If both are passed, only StackPolicyBody is used.
             
             Constraints: | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithStackName(String) | Obsolete. 
            Sets the StackName property
             | 
|  | WithStackPolicyBody(String) | Obsolete. 
            Sets the StackPolicyBody property
             | 
|  | WithStackPolicyURL(String) | Obsolete. 
            Sets the StackPolicyURL property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | ||
|  | AmazonWebServiceRequest | |
|  | SetStackPolicyRequest | |