CfnIdNamespaceAssociationProps Struct
Properties for defining a CfnIdNamespaceAssociation.
| 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_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const cfnIdNamespaceAssociationProps: cleanrooms.CfnIdNamespaceAssociationProps = {
inputReferenceConfig: {
inputReferenceArn: 'inputReferenceArn',
manageResourcePolicies: false,
},
membershipIdentifier: 'membershipIdentifier',
name: 'name',
// the properties below are optional
description: 'description',
idMappingConfig: {
allowUseAsDimensionColumn: false,
},
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_cleanrooms as cleanrooms
cfn_id_namespace_association_props = cleanrooms.CfnIdNamespaceAssociationProps(
input_reference_config=cleanrooms.CfnIdNamespaceAssociation.IdNamespaceAssociationInputReferenceConfigProperty(
input_reference_arn="inputReferenceArn",
manage_resource_policies=False
),
membership_identifier="membershipIdentifier",
name="name",
# the properties below are optional
description="description",
id_mapping_config=cleanrooms.CfnIdNamespaceAssociation.IdMappingConfigProperty(
allow_use_as_dimension_column=False
),
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.cleanrooms.*;
CfnIdNamespaceAssociationProps cfnIdNamespaceAssociationProps = CfnIdNamespaceAssociationProps.builder()
.inputReferenceConfig(IdNamespaceAssociationInputReferenceConfigProperty.builder()
.inputReferenceArn("inputReferenceArn")
.manageResourcePolicies(false)
.build())
.membershipIdentifier("membershipIdentifier")
.name("name")
// the properties below are optional
.description("description")
.idMappingConfig(IdMappingConfigProperty.builder()
.allowUseAsDimensionColumn(false)
.build())
.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.CleanRooms;
var cfnIdNamespaceAssociationProps = new CfnIdNamespaceAssociationProps {
InputReferenceConfig = new IdNamespaceAssociationInputReferenceConfigProperty {
InputReferenceArn = "inputReferenceArn",
ManageResourcePolicies = false
},
MembershipIdentifier = "membershipIdentifier",
Name = "name",
// the properties below are optional
Description = "description",
IdMappingConfig = new IdMappingConfigProperty {
AllowUseAsDimensionColumn = false
},
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"
cfnIdNamespaceAssociationProps := &CfnIdNamespaceAssociationProps{
InputReferenceConfig: &IdNamespaceAssociationInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
},
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
IdMappingConfig: &IdMappingConfigProperty{
AllowUseAsDimensionColumn: jsii.Boolean(false),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the ID namespace association.
idMappingConfigoptionalIResolvable | CfnIdNamespaceAssociation.id_mapping_configoptionaltyping.Union[IResolvable, IdMappingConfigProperty]idMappingConfigoptionalIResolvableIdMappingConfigoptionalIResolvableIdMappingConfigoptionalinterface{} #The configuration settings for the ID mapping table.
inputReferenceConfigIResolvable | CfnIdNamespaceAssociation.input_reference_configtyping.Union[IResolvable, IdNamespaceAssociationInputReferenceConfigProperty]inputReferenceConfigIResolvableInputReferenceConfigIResolvableInputReferenceConfiginterface{} required #The input reference configuration for the ID namespace association.
membershipIdentifierstringmembership_identifierstrmembershipIdentifierStringMembershipIdentifierstringMembershipIdentifier*string required #The unique identifier of the membership that contains the ID namespace association.
The name of this ID namespace association.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An optional label that you can assign to a resource when you create it.
Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.