Class: Aws::Organizations::Types::PolicySummary

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

Overview

Contains information about a policy, but does not include the content. To see the content of a policy, see DescribePolicy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the policy.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

Returns:

  • (String)


4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4875

class PolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :type,
  :aws_managed)
  SENSITIVE = []
  include Aws::Structure
end

#aws_managed ⇒ Boolean

A boolean value that indicates whether the specified policy is an Amazon Web Services managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.

Returns:

  • (Boolean)


4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4875

class PolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :type,
  :aws_managed)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of the policy.

Returns:

  • (String)


4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4875

class PolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :type,
  :aws_managed)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The unique identifier (ID) of the policy.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Returns:

  • (String)


4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4875

class PolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :type,
  :aws_managed)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The friendly name of the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

Returns:

  • (String)


4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4875

class PolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :type,
  :aws_managed)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of policy.

Returns:

  • (String)


4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4875

class PolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :type,
  :aws_managed)
  SENSITIVE = []
  include Aws::Structure
end