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)


2131
2132
2133
2134
2135
2136
2137
2138
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2131

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