Skip to content
v2.277.0

NamespaceReference Struct ​

A reference to a Namespace resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scn as interfaces_scn } from 'aws-cdk-lib/interfaces';
const namespaceReference: interfaces_scn.NamespaceReference = {
  namespaceArn: 'namespaceArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_scn as interfaces_scn

namespace_reference = interfaces_scn.NamespaceReference(
    namespace_arn="namespaceArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.scn.*;

NamespaceReference namespaceReference = NamespaceReference.builder()
        .namespaceArn("namespaceArn")
        .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.Interfaces.SCN;

var namespaceReference = new NamespaceReference {
    NamespaceArn = "namespaceArn"
};
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"

namespaceReference := &NamespaceReference{
	NamespaceArn: jsii.String("namespaceArn"),
}

Properties ​

namespaceArnstringnamespace_arnstrnamespaceArnStringNamespaceArnstringNamespaceArn*stringrequired#
The Arn of the Namespace resource.