PolicyIdentifier
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.
Inheritors
Types
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.
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).
The policy type to identify. All policies of the specified type are matched.
Functions
Casts this PolicyIdentifier as a InlinePolicyIdentifier and retrieves its aws.sdk.kotlin.services.iam.model.InlinePolicyIdentifierType value. Throws an exception if the PolicyIdentifier is not a InlinePolicyIdentifier.
Casts this PolicyIdentifier as a InlinePolicyIdentifier and retrieves its aws.sdk.kotlin.services.iam.model.InlinePolicyIdentifierType value. Returns null if the PolicyIdentifier is not a InlinePolicyIdentifier.
Casts this PolicyIdentifier as a PolicyArn and retrieves its kotlin.String value. Throws an exception if the PolicyIdentifier is not a PolicyArn.
Casts this PolicyIdentifier as a PolicyArn and retrieves its kotlin.String value. Returns null if the PolicyIdentifier is not a PolicyArn.
Casts this PolicyIdentifier as a PolicyType and retrieves its aws.sdk.kotlin.services.iam.model.PolicyIdentifierPolicyType value. Throws an exception if the PolicyIdentifier is not a PolicyType.
Casts this PolicyIdentifier as a PolicyType and retrieves its aws.sdk.kotlin.services.iam.model.PolicyIdentifierPolicyType value. Returns null if the PolicyIdentifier is not a PolicyType.