CfnIdNamespaceProps Struct
Properties for defining a CfnIdNamespace.
| 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 cfnIdNamespaceProps: entityresolution.CfnIdNamespaceProps = {
idNamespaceName: 'idNamespaceName',
type: 'type',
// the properties below are optional
description: 'description',
idMappingWorkflowProperties: [{
idMappingType: 'idMappingType',
// the properties below are optional
providerProperties: {
providerServiceArn: 'providerServiceArn',
// the properties below are optional
providerConfiguration: {
providerConfigurationKey: 'providerConfiguration',
},
},
ruleBasedProperties: {
attributeMatchingModel: 'attributeMatchingModel',
recordMatchingModels: ['recordMatchingModels'],
ruleDefinitionTypes: ['ruleDefinitionTypes'],
rules: [{
matchingKeys: ['matchingKeys'],
ruleName: 'ruleName',
}],
},
}],
inputSourceConfig: [{
inputSourceArn: 'inputSourceArn',
// the properties below are optional
schemaName: 'schemaName',
}],
roleArn: 'roleArn',
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_id_namespace_props = entityresolution.CfnIdNamespaceProps(
id_namespace_name="idNamespaceName",
type="type",
# the properties below are optional
description="description",
id_mapping_workflow_properties=[entityresolution.CfnIdNamespace.IdNamespaceIdMappingWorkflowPropertiesProperty(
id_mapping_type="idMappingType",
# the properties below are optional
provider_properties=entityresolution.CfnIdNamespace.NamespaceProviderPropertiesProperty(
provider_service_arn="providerServiceArn",
# the properties below are optional
provider_configuration={
"provider_configuration_key": "providerConfiguration"
}
),
rule_based_properties=entityresolution.CfnIdNamespace.NamespaceRuleBasedPropertiesProperty(
attribute_matching_model="attributeMatchingModel",
record_matching_models=["recordMatchingModels"],
rule_definition_types=["ruleDefinitionTypes"],
rules=[entityresolution.CfnIdNamespace.RuleProperty(
matching_keys=["matchingKeys"],
rule_name="ruleName"
)]
)
)],
input_source_config=[entityresolution.CfnIdNamespace.IdNamespaceInputSourceProperty(
input_source_arn="inputSourceArn",
# the properties below are optional
schema_name="schemaName"
)],
role_arn="roleArn",
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.*;
CfnIdNamespaceProps cfnIdNamespaceProps = CfnIdNamespaceProps.builder()
.idNamespaceName("idNamespaceName")
.type("type")
// the properties below are optional
.description("description")
.idMappingWorkflowProperties(List.of(IdNamespaceIdMappingWorkflowPropertiesProperty.builder()
.idMappingType("idMappingType")
// the properties below are optional
.providerProperties(NamespaceProviderPropertiesProperty.builder()
.providerServiceArn("providerServiceArn")
// the properties below are optional
.providerConfiguration(Map.of(
"providerConfigurationKey", "providerConfiguration"))
.build())
.ruleBasedProperties(NamespaceRuleBasedPropertiesProperty.builder()
.attributeMatchingModel("attributeMatchingModel")
.recordMatchingModels(List.of("recordMatchingModels"))
.ruleDefinitionTypes(List.of("ruleDefinitionTypes"))
.rules(List.of(RuleProperty.builder()
.matchingKeys(List.of("matchingKeys"))
.ruleName("ruleName")
.build()))
.build())
.build()))
.inputSourceConfig(List.of(IdNamespaceInputSourceProperty.builder()
.inputSourceArn("inputSourceArn")
// the properties below are optional
.schemaName("schemaName")
.build()))
.roleArn("roleArn")
.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 cfnIdNamespaceProps = new CfnIdNamespaceProps {
IdNamespaceName = "idNamespaceName",
Type = "type",
// the properties below are optional
Description = "description",
IdMappingWorkflowProperties = new [] { new IdNamespaceIdMappingWorkflowPropertiesProperty {
IdMappingType = "idMappingType",
// the properties below are optional
ProviderProperties = new NamespaceProviderPropertiesProperty {
ProviderServiceArn = "providerServiceArn",
// the properties below are optional
ProviderConfiguration = new Dictionary<string, string> {
{ "providerConfigurationKey", "providerConfiguration" }
}
},
RuleBasedProperties = new NamespaceRuleBasedPropertiesProperty {
AttributeMatchingModel = "attributeMatchingModel",
RecordMatchingModels = new [] { "recordMatchingModels" },
RuleDefinitionTypes = new [] { "ruleDefinitionTypes" },
Rules = new [] { new RuleProperty {
MatchingKeys = new [] { "matchingKeys" },
RuleName = "ruleName"
} }
}
} },
InputSourceConfig = new [] { new IdNamespaceInputSourceProperty {
InputSourceArn = "inputSourceArn",
// the properties below are optional
SchemaName = "schemaName"
} },
RoleArn = "roleArn",
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"
cfnIdNamespaceProps := &CfnIdNamespaceProps{
IdNamespaceName: jsii.String("idNamespaceName"),
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
IdMappingWorkflowProperties: []interface{}{
&IdNamespaceIdMappingWorkflowPropertiesProperty{
IdMappingType: jsii.String("idMappingType"),
// the properties below are optional
ProviderProperties: &NamespaceProviderPropertiesProperty{
ProviderServiceArn: jsii.String("providerServiceArn"),
// the properties below are optional
ProviderConfiguration: map[string]*string{
"providerConfigurationKey": jsii.String("providerConfiguration"),
},
},
RuleBasedProperties: &NamespaceRuleBasedPropertiesProperty{
AttributeMatchingModel: jsii.String("attributeMatchingModel"),
RecordMatchingModels: []*string{
jsii.String("recordMatchingModels"),
},
RuleDefinitionTypes: []*string{
jsii.String("ruleDefinitionTypes"),
},
Rules: []interface{}{
&RuleProperty{
MatchingKeys: []*string{
jsii.String("matchingKeys"),
},
RuleName: jsii.String("ruleName"),
},
},
},
},
},
InputSourceConfig: []interface{}{
&IdNamespaceInputSourceProperty{
InputSourceArn: jsii.String("inputSourceArn"),
// the properties below are optional
SchemaName: jsii.String("schemaName"),
},
},
RoleArn: jsii.String("roleArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the ID namespace.
idMappingWorkflowPropertiesoptionalIResolvable | IResolvable | CfnIdNamespace.id_mapping_workflow_propertiesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IdNamespaceIdMappingWorkflowPropertiesProperty]]]idMappingWorkflowPropertiesoptionalIResolvableIdMappingWorkflowPropertiesoptionalIResolvableIdMappingWorkflowPropertiesoptionalinterface{} #Determines the properties of `IdMappingWorflow` where this `IdNamespace` can be used as a `Source` or a `Target` .
idNamespaceNamestringid_namespace_namestridNamespaceNameStringIdNamespaceNamestringIdNamespaceName*string required #The name of the ID namespace.
inputSourceConfigoptionalIResolvable | IResolvable | CfnIdNamespace.input_source_configoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IdNamespaceInputSourceProperty]]]inputSourceConfigoptionalIResolvableInputSourceConfigoptionalIResolvableInputSourceConfigoptionalinterface{} #A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName` .
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #The Amazon Resource Name (ARN) of the IAM role.
AWS Entity Resolution assumes this role to access the resources defined in this IdNamespace on your behalf as part of the workflow run.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags used to organize, track, or control access for this resource.
The type of ID namespace. There are two types: `SOURCE` and `TARGET` .
The SOURCE contains configurations for sourceId data that will be processed in an ID mapping workflow.
The TARGET contains a configuration of targetId which all sourceIds will resolve to.