Skip to content
v2.278.0

RedshiftConnectorProfilePropertiesProperty Struct ​

The connector-specific profile properties when using Amazon Redshift.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const redshiftConnectorProfilePropertiesProperty: appflow.CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty = {
  bucketName: 'bucketName',
  roleArn: 'roleArn',

  // the properties below are optional
  bucketPrefix: 'bucketPrefix',
  clusterIdentifier: 'clusterIdentifier',
  dataApiRoleArn: 'dataApiRoleArn',
  databaseName: 'databaseName',
  databaseUrl: 'databaseUrl',
  isRedshiftServerless: false,
  workgroupName: 'workgroupName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appflow as appflow

redshift_connector_profile_properties_property = appflow.CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty(
    bucket_name="bucketName",
    role_arn="roleArn",

    # the properties below are optional
    bucket_prefix="bucketPrefix",
    cluster_identifier="clusterIdentifier",
    data_api_role_arn="dataApiRoleArn",
    database_name="databaseName",
    database_url="databaseUrl",
    is_redshift_serverless=False,
    workgroup_name="workgroupName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;

RedshiftConnectorProfilePropertiesProperty redshiftConnectorProfilePropertiesProperty = RedshiftConnectorProfilePropertiesProperty.builder()
        .bucketName("bucketName")
        .roleArn("roleArn")

        // the properties below are optional
        .bucketPrefix("bucketPrefix")
        .clusterIdentifier("clusterIdentifier")
        .dataApiRoleArn("dataApiRoleArn")
        .databaseName("databaseName")
        .databaseUrl("databaseUrl")
        .isRedshiftServerless(false)
        .workgroupName("workgroupName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;

var redshiftConnectorProfilePropertiesProperty = new RedshiftConnectorProfilePropertiesProperty {
    BucketName = "bucketName",
    RoleArn = "roleArn",

    // the properties below are optional
    BucketPrefix = "bucketPrefix",
    ClusterIdentifier = "clusterIdentifier",
    DataApiRoleArn = "dataApiRoleArn",
    DatabaseName = "databaseName",
    DatabaseUrl = "databaseUrl",
    IsRedshiftServerless = false,
    WorkgroupName = "workgroupName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

redshiftConnectorProfilePropertiesProperty := &RedshiftConnectorProfilePropertiesProperty{
	BucketName: jsii.String("bucketName"),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	BucketPrefix: jsii.String("bucketPrefix"),
	ClusterIdentifier: jsii.String("clusterIdentifier"),
	DataApiRoleArn: jsii.String("dataApiRoleArn"),
	DatabaseName: jsii.String("databaseName"),
	DatabaseUrl: jsii.String("databaseUrl"),
	IsRedshiftServerless: jsii.Boolean(false),
	WorkgroupName: jsii.String("workgroupName"),
}

Properties ​

bucketNamestringbucket_namestrbucketNameStringBucketNamestringBucketName*string required #
A name for the associated Amazon S3 bucket.
bucketPrefixoptionalstringbucket_prefixoptionalstrbucketPrefixoptionalStringBucketPrefixoptionalstringBucketPrefixoptional*string #
The object key for the destination bucket in which Amazon AppFlow places the files.
clusterIdentifieroptionalstringcluster_identifieroptionalstrclusterIdentifieroptionalStringClusterIdentifieroptionalstringClusterIdentifieroptional*string #
The unique ID that's assigned to an Amazon Redshift cluster.
dataApiRoleArnoptionalstringdata_api_role_arnoptionalstrdataApiRoleArnoptionalStringDataApiRoleArnoptionalstringDataApiRoleArnoptional*string #
The Amazon Resource Name (ARN) of an IAM role that permits Amazon AppFlow to access your Amazon Redshift database through the Data API.
notes

For more information, and for the polices that you attach to this role, see Allow Amazon AppFlow to access Amazon Redshift databases with the Data API .

databaseNameoptionalstringdatabase_nameoptionalstrdatabaseNameoptionalStringDatabaseNameoptionalstringDatabaseNameoptional*string #
The name of an Amazon Redshift database.
databaseUrloptionalstringdatabase_urloptionalstrdatabaseUrloptionalStringDatabaseUrloptionalstringDatabaseUrloptional*string #
The JDBC URL of the Amazon Redshift cluster.
isRedshiftServerlessoptionalboolean | IResolvableis_redshift_serverlessoptionaltyping.Union[bool, IResolvable]isRedshiftServerlessoptionalBooleanIsRedshiftServerlessoptionalboolIsRedshiftServerlessoptionalinterface{} #
Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data warehouse.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #
The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift read-only access to Amazon S3.
notes

For more information, and for the polices that you attach to this role, see Allow Amazon Redshift to access your Amazon AppFlow data in Amazon S3 .

workgroupNameoptionalstringworkgroup_nameoptionalstrworkgroupNameoptionalStringWorkgroupNameoptionalstringWorkgroupNameoptional*string #
The name of an Amazon Redshift workgroup.