interface RedshiftDatasetDefinitionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnProcessingJob.RedshiftDatasetDefinitionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnProcessingJob_RedshiftDatasetDefinitionProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnProcessingJob.RedshiftDatasetDefinitionProperty |
![]() | aws_cdk.aws_sagemaker.CfnProcessingJob.RedshiftDatasetDefinitionProperty |
![]() | aws-cdk-lib » aws_sagemaker » CfnProcessingJob » RedshiftDatasetDefinitionProperty |
Configuration for Redshift Dataset Definition input.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const redshiftDatasetDefinitionProperty: sagemaker.CfnProcessingJob.RedshiftDatasetDefinitionProperty = {
clusterId: 'clusterId',
clusterRoleArn: 'clusterRoleArn',
database: 'database',
dbUser: 'dbUser',
outputFormat: 'outputFormat',
outputS3Uri: 'outputS3Uri',
queryString: 'queryString',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
outputCompression: 'outputCompression',
};
Properties
Name | Type | Description |
---|---|---|
cluster | string | The Redshift cluster Identifier. |
cluster | string | The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets. |
database | string | The name of the Redshift database used in Redshift query execution. |
db | string | The database user name used in Redshift query execution. |
output | string | The data storage format for Redshift query results. |
output | string | The location in Amazon S3 where the Redshift query results are stored. |
query | string | The SQL query statements to be executed. |
kms | string | The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution. |
output | string | The compression used for Redshift query results. |
clusterId
Type:
string
The Redshift cluster Identifier.
clusterRoleArn
Type:
string
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
database
Type:
string
The name of the Redshift database used in Redshift query execution.
dbUser
Type:
string
The database user name used in Redshift query execution.
outputFormat
Type:
string
The data storage format for Redshift query results.
outputS3Uri
Type:
string
The location in Amazon S3 where the Redshift query results are stored.
queryString
Type:
string
The SQL query statements to be executed.
kmsKeyId?
Type:
string
(optional)
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
outputCompression?
Type:
string
(optional)
The compression used for Redshift query results.