Class: Aws::IAMToolbox::Types::AttachedTo
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAMToolbox::Types::AttachedTo
- Defined in:
- gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb
Overview
An entity that a policy is attached to, identified by its ARN.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The ARN of the entity that the policy is attached to.
Instance Attribute Details
#arn ⇒ String
The ARN of the entity that the policy is attached to. The ARN format depends on the policy type:
For identity, session, and permissions boundary policies, this is the principal ARN (for example, an IAM role or user ARN).
For resource-based policies, this is the resource ARN.
For organization control policies (SCPs and RCPs), this is the AWS Organizations ARN of the account, organizational unit, or root.
43 44 45 46 47 |
# File 'gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb', line 43 class AttachedTo < Struct.new( :arn) SENSITIVE = [] include Aws::Structure end |