You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Organizations::Types::Policy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb

Overview

Contains rules to be applied to the affected accounts. Policies can be attached directly to accounts, or to roots and OUs to affect all accounts in those hierarchies.

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The text content of the policy.

Returns:

  • (String)


2425
2426
2427
2428
2429
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2425

class Policy < Struct.new(
  :policy_summary,
  :content)
  include Aws::Structure
end

#policy_summaryTypes::PolicySummary

A structure that contains additional details about the policy.



2425
2426
2427
2428
2429
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2425

class Policy < Struct.new(
  :policy_summary,
  :content)
  include Aws::Structure
end