# NamespaceConfigProperty

The custom namespace configuration to use with the add-on.

- Source: Generated at build time
- Type last changed: v2.214.0 · 2 Sep 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const namespaceConfigProperty: eks.CfnAddon.NamespaceConfigProperty = {
  namespace: 'namespace',
};
```

Python:

```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_eks as eks

namespace_config_property = eks.CfnAddon.NamespaceConfigProperty(
    namespace="namespace"
)
```

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.eks.*;

NamespaceConfigProperty namespaceConfigProperty = NamespaceConfigProperty.builder()
        .namespace("namespace")
        .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.EKS;

var namespaceConfigProperty = new NamespaceConfigProperty {
    Namespace = "namespace"
};
```

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"

namespaceConfigProperty := &NamespaceConfigProperty{
	Namespace: jsii.String("namespace"),
}
```

## Properties

- `namespace`: string (required) — The custom namespace for creating the add-on.
