Class: Aws::CloudFormation::Types::SetStackPolicyInput

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#stack_nameString

The name or unique stack ID that you want to associate a policy with.

Returns:

  • (String)

6008
6009
6010
6011
6012
6013
6014
# File 'lib/aws-sdk-cloudformation/types.rb', line 6008

class SetStackPolicyInput < Struct.new(
  :stack_name,
  :stack_policy_body,
  :stack_policy_url)
  SENSITIVE = []
  include Aws::Structure
end

#stack_policy_bodyString

Structure containing the stack policy body. For more information, go to [ 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

Returns:

  • (String)

6008
6009
6010
6011
6012
6013
6014
# File 'lib/aws-sdk-cloudformation/types.rb', line 6008

class SetStackPolicyInput < Struct.new(
  :stack_name,
  :stack_policy_body,
  :stack_policy_url)
  SENSITIVE = []
  include Aws::Structure
end

#stack_policy_urlString

Location of a file containing 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. You can specify either the `StackPolicyBody` or the `StackPolicyURL` parameter, but not both.

Returns:

  • (String)

6008
6009
6010
6011
6012
6013
6014
# File 'lib/aws-sdk-cloudformation/types.rb', line 6008

class SetStackPolicyInput < Struct.new(
  :stack_name,
  :stack_policy_body,
  :stack_policy_url)
  SENSITIVE = []
  include Aws::Structure
end