asCreateFormType
Casts this PolicyGrantDetail as a CreateFormType and retrieves its aws.sdk.kotlin.services.datazone.model.CreateFormTypePolicyGrantDetail value. Throws an exception if the PolicyGrantDetail is not a CreateFormType.