Class: Aws::Organizations::Types::EffectivePolicy

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. The effective policy is the aggregation of any policies the account inherits, plus any policy directly attached to the account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_updated_timestamp ⇒ Time

The time of the last update to this policy.

Returns:

  • (Time)


2122
2123
2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2122

class EffectivePolicy < Struct.new(
  :policy_content,
  :last_updated_timestamp,
  :target_id,
  :policy_type)
  SENSITIVE = []
  include Aws::Structure
end

#policy_content ⇒ String

The text content of the policy.

Returns:

  • (String)


2122
2123
2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2122

class EffectivePolicy < Struct.new(
  :policy_content,
  :last_updated_timestamp,
  :target_id,
  :policy_type)
  SENSITIVE = []
  include Aws::Structure
end

#policy_type ⇒ String

The policy type.

Returns:

  • (String)


2122
2123
2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2122

class EffectivePolicy < Struct.new(
  :policy_content,
  :last_updated_timestamp,
  :target_id,
  :policy_type)
  SENSITIVE = []
  include Aws::Structure
end

#target_id ⇒ String

The account ID of the policy target.

Returns:

  • (String)


2122
2123
2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2122

class EffectivePolicy < Struct.new(
  :policy_content,
  :last_updated_timestamp,
  :target_id,
  :policy_type)
  SENSITIVE = []
  include Aws::Structure
end