asPolicy
Casts this PolicyDefinition as a Policy and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.PolicyStatement value. Throws an exception if the PolicyDefinition is not a Policy.
Casts this PolicyDefinition as a Policy and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.PolicyStatement value. Throws an exception if the PolicyDefinition is not a Policy.