Skip to content

IAM  >  Unions  >  PolicyIdentifierDict

PolicyIdentifierDict

Union Type

PolicyIdentifierDict module-attribute

Dictionary form of PolicyIdentifier, setting exactly one variant.

Union Member Types

PolicyIdentifier_PolicyTypeDict

Bases: TypedDict

Attributes

policy_type instance-attribute
policy_type: str

The policy type to identify. All policies of the specified type are matched.

PolicyIdentifierPolicyArnDict

Bases: TypedDict

Attributes

policy_arn instance-attribute
policy_arn: str

The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy that is attached to an IAM user, group, or role. Wildcard characters are supported in the resource name portion of the ARN to match multiple managed policies: use at most one * (matches any sequence of characters, including none), and any number of ? (each matches exactly one character).

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

PolicyIdentifierInlinePolicyIdentifierDict

Bases: TypedDict

Attributes

inline_policy_identifier instance-attribute

An inline policy identifier consisting of a policy name and the entity it is attached to. Wildcard characters (* and ?) in the entity name can match multiple entities.