# CfnIdNamespaceAssociationProps

Properties for defining a `CfnIdNamespaceAssociation`.

Used as props by: [CfnIdNamespaceAssociation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnIdNamespaceAssociation.html)

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `description`: string — The description of the ID namespace association.

- `idMappingConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdNamespaceAssociation.IdMappingConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnIdNamespaceAssociation.IdMappingConfigProperty.html) — The configuration settings for the ID mapping table.

- `inputReferenceConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdNamespaceAssociation.IdNamespaceAssociationInputReferenceConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnIdNamespaceAssociation.IdNamespaceAssociationInputReferenceConfigProperty.html) (required) — The input reference configuration for the ID namespace association.

- `membershipIdentifier`: string (required) — The unique identifier of the membership that contains the ID namespace association.

- `name`: string (required) — The name of this ID namespace association.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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.
