asConnect

Casts this RedshiftScopeUnion as a Connect and retrieves its aws.sdk.kotlin.services.redshift.model.Connect value. Throws an exception if the RedshiftScopeUnion is not a Connect.