class
Amazonite::CloudFormation::SetStackPolicyInput
- Amazonite::CloudFormation::SetStackPolicyInput
- Reference
- Object
Overview
The input for the SetStackPolicy action.
Defined in:
cloudformation/set_stack_policy_input.crConstructors
- .from_xml(node : XML::Node) : self
- .new(stack_name : String, stack_policy_body : String | Nil = nil, stack_policy_url : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#stack_name : String
The name or unique stack ID that you want to associate a policy with.
-
#stack_name=(stack_name : String)
The name or unique stack ID that you want to associate a policy with.
-
#stack_policy_body : String | Nil
Structure that contains the stack policy body.
-
#stack_policy_body=(stack_policy_body : String | Nil)
Structure that contains the stack policy body.
-
#stack_policy_url : String | Nil
Location of a file that contains the stack policy.
-
#stack_policy_url=(stack_policy_url : String | Nil)
Location of a file that contains the stack policy.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The name or unique stack ID that you want to associate a policy with.
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.
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.
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.
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.