CfnSchemaMappingProps Struct
Properties for defining a CfnSchemaMapping.
| 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_entityresolution as entityresolution } from 'aws-cdk-lib';
const cfnSchemaMappingProps: entityresolution.CfnSchemaMappingProps = {
mappedInputFields: [{
fieldName: 'fieldName',
type: 'type',
// the properties below are optional
groupName: 'groupName',
hashed: false,
matchKey: 'matchKey',
subType: 'subType',
}],
schemaName: 'schemaName',
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_entityresolution as entityresolution
cfn_schema_mapping_props = entityresolution.CfnSchemaMappingProps(
mapped_input_fields=[entityresolution.CfnSchemaMapping.SchemaInputAttributeProperty(
field_name="fieldName",
type="type",
# the properties below are optional
group_name="groupName",
hashed=False,
match_key="matchKey",
sub_type="subType"
)],
schema_name="schemaName",
# the properties below are optional
description="description",
tags=[CfnTag(
key="key",
value="value"
)]
)
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.entityresolution.*;
CfnSchemaMappingProps cfnSchemaMappingProps = CfnSchemaMappingProps.builder()
.mappedInputFields(List.of(SchemaInputAttributeProperty.builder()
.fieldName("fieldName")
.type("type")
// the properties below are optional
.groupName("groupName")
.hashed(false)
.matchKey("matchKey")
.subType("subType")
.build()))
.schemaName("schemaName")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.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.EntityResolution;
var cfnSchemaMappingProps = new CfnSchemaMappingProps {
MappedInputFields = new [] { new SchemaInputAttributeProperty {
FieldName = "fieldName",
Type = "type",
// the properties below are optional
GroupName = "groupName",
Hashed = false,
MatchKey = "matchKey",
SubType = "subType"
} },
SchemaName = "schemaName",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnSchemaMappingProps := &CfnSchemaMappingProps{
MappedInputFields: []interface{}{
&SchemaInputAttributeProperty{
FieldName: jsii.String("fieldName"),
Type: jsii.String("type"),
// the properties below are optional
GroupName: jsii.String("groupName"),
Hashed: jsii.Boolean(false),
MatchKey: jsii.String("matchKey"),
SubType: jsii.String("subType"),
},
},
SchemaName: jsii.String("schemaName"),
// the properties below are optional
Description: jsii.String("description"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the schema.
mappedInputFieldsIResolvable | IResolvable | CfnSchemaMapping.mapped_input_fieldstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SchemaInputAttributeProperty]]]mappedInputFieldsIResolvableMappedInputFieldsIResolvableMappedInputFieldsinterface{} required #A list of `MappedInputFields` .
Each MappedInputField corresponds to a column the source data table, and contains column name plus additional information that AWS Entity Resolution uses for matching.
The name of the schema.
There can't be multiple SchemaMappings with the same name.