PolicyDefinitionDetail
A structure that describes a policy definition. It must always have either an static
or a templateLinked
element.
This data type is used as a response parameter for the GetPolicy operation.
Inheritors
Types
Functions
Casts this PolicyDefinitionDetail as a Static and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.StaticPolicyDefinitionDetail value. Throws an exception if the PolicyDefinitionDetail is not a Static.
Casts this PolicyDefinitionDetail as a Static and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.StaticPolicyDefinitionDetail value. Returns null if the PolicyDefinitionDetail is not a Static.
Casts this PolicyDefinitionDetail as a TemplateLinked and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.TemplateLinkedPolicyDefinitionDetail value. Throws an exception if the PolicyDefinitionDetail is not a TemplateLinked.
Casts this PolicyDefinitionDetail as a TemplateLinked and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.TemplateLinkedPolicyDefinitionDetail value. Returns null if the PolicyDefinitionDetail is not a TemplateLinked.