asCreateSnapshot
Casts this TargetAction as a CreateSnapshot and retrieves its aws.sdk.kotlin.services.redshiftserverless.model.CreateSnapshotScheduleActionParameters value. Throws an exception if the TargetAction is not a CreateSnapshot.