ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshift.fromMap constructor

ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshift.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshift.fromMap(Map<String, dynamic> map) {
  return ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshift(
    bucketName: pulumi.Input.fromValue(map['bucketName'] as String),
    bucketPrefix: (() { final guardedValue = map['bucketPrefix']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    clusterIdentifier: (() { final guardedValue = map['clusterIdentifier']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    dataApiRoleArn: (() { final guardedValue = map['dataApiRoleArn']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    databaseName: (() { final guardedValue = map['databaseName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    databaseUrl: (() { final guardedValue = map['databaseUrl']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    roleArn: pulumi.Input.fromValue(map['roleArn'] as String),
  );
}