Skip to content
v2.278.0

RelationalFilterConfigurationProperty Struct ​

The relational filter configuration for the data source.

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 relationalFilterConfigurationProperty: datazone.CfnDataSource.RelationalFilterConfigurationProperty = {
  databaseName: 'databaseName',

  // the properties below are optional
  filterExpressions: [{
    expression: 'expression',
    type: 'type',
  }],
  schemaName: 'schemaName',
};
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

relational_filter_configuration_property = datazone.CfnDataSource.RelationalFilterConfigurationProperty(
    database_name="databaseName",

    # the properties below are optional
    filter_expressions=[datazone.CfnDataSource.FilterExpressionProperty(
        expression="expression",
        type="type"
    )],
    schema_name="schemaName"
)
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.*;

RelationalFilterConfigurationProperty relationalFilterConfigurationProperty = RelationalFilterConfigurationProperty.builder()
        .databaseName("databaseName")

        // the properties below are optional
        .filterExpressions(List.of(FilterExpressionProperty.builder()
                .expression("expression")
                .type("type")
                .build()))
        .schemaName("schemaName")
        .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 relationalFilterConfigurationProperty = new RelationalFilterConfigurationProperty {
    DatabaseName = "databaseName",

    // the properties below are optional
    FilterExpressions = new [] { new FilterExpressionProperty {
        Expression = "expression",
        Type = "type"
    } },
    SchemaName = "schemaName"
};
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"

relationalFilterConfigurationProperty := &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"),
}

Properties ​

databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #
The database name specified in the relational filter configuration for the data source.
filterExpressionsoptionalIResolvable | IResolvable | CfnDataSource.FilterExpressionProperty[]filter_expressionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FilterExpressionProperty]]]filterExpressionsoptionalIResolvableFilterExpressionsoptionalIResolvableFilterExpressionsoptionalinterface{} #
The filter expressions specified in the relational filter configuration for the data source.
schemaNameoptionalstringschema_nameoptionalstrschemaNameoptionalStringSchemaNameoptionalstringSchemaNameoptional*string #
The schema name specified in the relational filter configuration for the data source.