RedshiftRunConfigurationInputProperty Struct
The relational filter configurations included in the configuration details of the Amazon Redshift data source.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const redshiftRunConfigurationInputProperty: datazone.CfnDataSource.RedshiftRunConfigurationInputProperty = {
relationalFilterConfigurations: [{
databaseName: 'databaseName',
// the properties below are optional
filterExpressions: [{
expression: 'expression',
type: 'type',
}],
schemaName: 'schemaName',
}],
// the properties below are optional
dataAccessRole: 'dataAccessRole',
redshiftCredentialConfiguration: {
secretManagerArn: 'secretManagerArn',
},
redshiftStorage: {
redshiftClusterSource: {
clusterName: 'clusterName',
},
redshiftServerlessSource: {
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_datazone as datazone
redshift_run_configuration_input_property = datazone.CfnDataSource.RedshiftRunConfigurationInputProperty(
relational_filter_configurations=[datazone.CfnDataSource.RelationalFilterConfigurationProperty(
database_name="databaseName",
# the properties below are optional
filter_expressions=[datazone.CfnDataSource.FilterExpressionProperty(
expression="expression",
type="type"
)],
schema_name="schemaName"
)],
# the properties below are optional
data_access_role="dataAccessRole",
redshift_credential_configuration=datazone.CfnDataSource.RedshiftCredentialConfigurationProperty(
secret_manager_arn="secretManagerArn"
),
redshift_storage=datazone.CfnDataSource.RedshiftStorageProperty(
redshift_cluster_source=datazone.CfnDataSource.RedshiftClusterStorageProperty(
cluster_name="clusterName"
),
redshift_serverless_source=datazone.CfnDataSource.RedshiftServerlessStorageProperty(
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.datazone.*;
RedshiftRunConfigurationInputProperty redshiftRunConfigurationInputProperty = RedshiftRunConfigurationInputProperty.builder()
.relationalFilterConfigurations(List.of(RelationalFilterConfigurationProperty.builder()
.databaseName("databaseName")
// the properties below are optional
.filterExpressions(List.of(FilterExpressionProperty.builder()
.expression("expression")
.type("type")
.build()))
.schemaName("schemaName")
.build()))
// the properties below are optional
.dataAccessRole("dataAccessRole")
.redshiftCredentialConfiguration(RedshiftCredentialConfigurationProperty.builder()
.secretManagerArn("secretManagerArn")
.build())
.redshiftStorage(RedshiftStorageProperty.builder()
.redshiftClusterSource(RedshiftClusterStorageProperty.builder()
.clusterName("clusterName")
.build())
.redshiftServerlessSource(RedshiftServerlessStorageProperty.builder()
.workgroupName("workgroupName")
.build())
.build())
.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.DataZone;
var redshiftRunConfigurationInputProperty = new RedshiftRunConfigurationInputProperty {
RelationalFilterConfigurations = new [] { new RelationalFilterConfigurationProperty {
DatabaseName = "databaseName",
// the properties below are optional
FilterExpressions = new [] { new FilterExpressionProperty {
Expression = "expression",
Type = "type"
} },
SchemaName = "schemaName"
} },
// the properties below are optional
DataAccessRole = "dataAccessRole",
RedshiftCredentialConfiguration = new RedshiftCredentialConfigurationProperty {
SecretManagerArn = "secretManagerArn"
},
RedshiftStorage = new RedshiftStorageProperty {
RedshiftClusterSource = new RedshiftClusterStorageProperty {
ClusterName = "clusterName"
},
RedshiftServerlessSource = new RedshiftServerlessStorageProperty {
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"
redshiftRunConfigurationInputProperty := &RedshiftRunConfigurationInputProperty{
RelationalFilterConfigurations: []interface{}{
&RelationalFilterConfigurationProperty{
DatabaseName: jsii.String("databaseName"),
// the properties below are optional
FilterExpressions: []interface{}{
&FilterExpressionProperty{
Expression: jsii.String("expression"),
Type: jsii.String("type"),
},
},
SchemaName: jsii.String("schemaName"),
},
},
// the properties below are optional
DataAccessRole: jsii.String("dataAccessRole"),
RedshiftCredentialConfiguration: &RedshiftCredentialConfigurationProperty{
SecretManagerArn: jsii.String("secretManagerArn"),
},
RedshiftStorage: &RedshiftStorageProperty{
RedshiftClusterSource: &RedshiftClusterStorageProperty{
ClusterName: jsii.String("clusterName"),
},
RedshiftServerlessSource: &RedshiftServerlessStorageProperty{
WorkgroupName: jsii.String("workgroupName"),
},
},
}
Properties
dataAccessRoleoptionalstringdata_access_roleoptionalstrdataAccessRoleoptionalStringDataAccessRoleoptionalstringDataAccessRoleoptional*string #The data access role included in the configuration details of the Amazon Redshift data source.
redshiftCredentialConfigurationoptionalIResolvable | CfnDataSource.redshift_credential_configurationoptionaltyping.Union[IResolvable, RedshiftCredentialConfigurationProperty]redshiftCredentialConfigurationoptionalIResolvableRedshiftCredentialConfigurationoptionalIResolvableRedshiftCredentialConfigurationoptionalinterface{} #The details of the credentials required to access an Amazon Redshift cluster.
redshiftStorageoptionalIResolvable | CfnDataSource.redshift_storageoptionaltyping.Union[IResolvable, RedshiftStorageProperty]redshiftStorageoptionalIResolvableRedshiftStorageoptionalIResolvableRedshiftStorageoptionalinterface{} #The details of the Amazon Redshift storage as part of the configuration of an Amazon Redshift data source run.
relationalFilterConfigurationsIResolvable | IResolvable | CfnDataSource.relational_filter_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RelationalFilterConfigurationProperty]]]relationalFilterConfigurationsIResolvableRelationalFilterConfigurationsIResolvableRelationalFilterConfigurationsinterface{} required #The relational filter configurations included in the configuration details of the AWS Glue data source.