class Aws::SageMaker::Types::RedshiftDatasetDefinition

Configuration for Redshift Dataset Definition input.

@note When making an API call, you may pass RedshiftDatasetDefinition

data as a hash:

    {
      cluster_id: "RedshiftClusterId", # required
      database: "RedshiftDatabase", # required
      db_user: "RedshiftUserName", # required
      query_string: "RedshiftQueryString", # required
      cluster_role_arn: "RoleArn", # required
      output_s3_uri: "S3Uri", # required
      kms_key_id: "KmsKeyId",
      output_format: "PARQUET", # required, accepts PARQUET, CSV
      output_compression: "None", # accepts None, GZIP, BZIP2, ZSTD, SNAPPY
    }

@!attribute [rw] cluster_id

The Redshift cluster Identifier.
@return [String]

@!attribute [rw] database

The name of the Redshift database used in Redshift query execution.
@return [String]

@!attribute [rw] db_user

The database user name used in Redshift query execution.
@return [String]

@!attribute [rw] query_string

The SQL query statements to be executed.
@return [String]

@!attribute [rw] cluster_role_arn

The IAM role attached to your Redshift cluster that Amazon SageMaker
uses to generate datasets.
@return [String]

@!attribute [rw] output_s3_uri

The location in Amazon S3 where the Redshift query results are
stored.
@return [String]

@!attribute [rw] kms_key_id

The Amazon Web Services Key Management Service (Amazon Web Services
KMS) key that Amazon SageMaker uses to encrypt data from a Redshift
execution.
@return [String]

@!attribute [rw] output_format

The data storage format for Redshift query results.
@return [String]

@!attribute [rw] output_compression

The compression used for Redshift query results.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RedshiftDatasetDefinition AWS API Documentation

Constants

SENSITIVE