PolicyIdentifierDict¶
Union Type¶
PolicyIdentifierDict
module-attribute
¶
PolicyIdentifierDict = Union[PolicyIdentifier_PolicyTypeDict | PolicyIdentifierPolicyArnDict | PolicyIdentifierInlinePolicyIdentifierDict]
Dictionary form of PolicyIdentifier, setting exactly one variant.
Union Member Types¶
PolicyIdentifier_PolicyTypeDict
¶
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
¶
inline_policy_identifier: InlinePolicyIdentifierType | InlinePolicyIdentifierTypeDict
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.