PolicyIdentifier¶
Union Type¶
PolicyIdentifier
module-attribute
¶
PolicyIdentifier = Union[PolicyIdentifier_PolicyType | PolicyIdentifierPolicyArn | PolicyIdentifierInlinePolicyIdentifier | PolicyIdentifierUnknown]
Identifies one or more policies as a union type. Specify exactly one of
PolicyType, PolicyArn, or InlinePolicyIdentifier to identify
policies by their type, by Amazon Resource Name (ARN), or by the name of
an inline policy and the entity it is attached to.
Union Member Types¶
PolicyIdentifier_PolicyType
dataclass
¶
PolicyIdentifierPolicyArn
dataclass
¶
Bases: _SerdeShape
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.