You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFormation::Types::SetStackPolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::SetStackPolicyInput
- Defined in:
- (unknown)
Overview
When passing SetStackPolicyInput as input to an Aws::Client method, you can use a vanilla Hash:
{
stack_name: "StackName", # required
stack_policy_body: "StackPolicyBody",
stack_policy_url: "StackPolicyURL",
}
The input for the SetStackPolicy action.
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 containing the stack policy body.
-
#stack_policy_url ⇒ String
Location of a file containing the stack policy.
Instance Attribute Details
#stack_name ⇒ String
The name or unique stack ID that you want to associate a policy with.
#stack_policy_body ⇒ String
Structure containing the stack policy body. For more information, go to
Prevent Updates to Stack Resources in the AWS CloudFormation User
Guide. You can specify either the StackPolicyBody
or the
StackPolicyURL
parameter, but not both.
#stack_policy_url ⇒ String
Location of a file containing the stack policy. The URL must point to a
policy (maximum size: 16 KB) 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.