asSecretArnOrNull

Casts this RedshiftCredentials as a SecretArn and retrieves its kotlin.String value. Returns null if the RedshiftCredentials is not a SecretArn.