Class: Aws::CloudFormation::Types::SetStackPolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::SetStackPolicyInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudformation/types.rb
Overview
The input for the SetStackPolicy action.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#stack_name ⇒ String
The name or unique stack ID that you want to associate a policy with.
-
#stack_policy_body ⇒ String
Structure that contains the stack policy body.
-
#stack_policy_url ⇒ String
Location of a file that contains the stack policy.
Instance Attribute Details
#stack_name ⇒ String
The name or unique stack ID that you want to associate a policy with.
7858 7859 7860 7861 7862 7863 7864 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 7858 class SetStackPolicyInput < Struct.new( :stack_name, :stack_policy_body, :stack_policy_url) SENSITIVE = [] include Aws::Structure end |
#stack_policy_body ⇒ String
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 ‘StackPolicyBody` or the `StackPolicyURL` parameter, but not both.
[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html
7858 7859 7860 7861 7862 7863 7864 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 7858 class SetStackPolicyInput < Struct.new( :stack_name, :stack_policy_body, :stack_policy_url) SENSITIVE = [] include Aws::Structure end |
#stack_policy_url ⇒ String
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 ‘https://`. URLs from S3 static websites are not supported.
You can specify either the ‘StackPolicyBody` or the `StackPolicyURL` parameter, but not both.
7858 7859 7860 7861 7862 7863 7864 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 7858 class SetStackPolicyInput < Struct.new( :stack_name, :stack_policy_body, :stack_policy_url) SENSITIVE = [] include Aws::Structure end |