Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudformation/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)

7753
7754
7755
7756
7757
7758
7759
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 7753

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, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

Returns:

  • (String)

7753
7754
7755
7756
7757
7758
7759
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 7753

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. The location for an Amazon S3 bucket must start with https://. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

Returns:

  • (String)

7753
7754
7755
7756
7757
7758
7759
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 7753

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