Skip to content
v2.278.0

NamespaceConfigProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

namespacestringnamespacestrnamespaceStringNamespacestringNamespace*string required #
The custom namespace for creating the add-on.