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.
Container for the parameters to the SetStackPolicy operation. Sets a stack policy for a specified stack.
Namespace: Amazon.CloudFormation.Model
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z
public class SetStackPolicyRequest : AmazonCloudFormationRequest IAmazonWebServiceRequest
The SetStackPolicyRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
SetStackPolicyRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
StackName | System.String |
Gets and sets the property StackName. The name or unique stack ID that you want to associate a policy with. |
![]() |
StackPolicyBody | System.String |
Gets and sets the property StackPolicyBody.
Structure that contains the stack policy body. For more information, see Prevent
updates to stack resources in the CloudFormation User Guide. You can specify
either the |
![]() |
StackPolicyURL | System.String |
Gets and sets the property StackPolicyURL.
Location of a file that contains the stack policy. The URL must point to a policy
(maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services
Region as the stack. The location for an Amazon S3 bucket must start with
You can specify either the |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer