HttpNamespaceAttributes Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicediscovery as servicediscovery } from 'aws-cdk-lib';
const httpNamespaceAttributes: servicediscovery.HttpNamespaceAttributes = {
namespaceArn: 'namespaceArn',
namespaceId: 'namespaceId',
namespaceName: 'namespaceName',
};
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_servicediscovery as servicediscovery
http_namespace_attributes = servicediscovery.HttpNamespaceAttributes(
namespace_arn="namespaceArn",
namespace_id="namespaceId",
namespace_name="namespaceName"
)
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.servicediscovery.*;
HttpNamespaceAttributes httpNamespaceAttributes = HttpNamespaceAttributes.builder()
.namespaceArn("namespaceArn")
.namespaceId("namespaceId")
.namespaceName("namespaceName")
.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.ServiceDiscovery;
var httpNamespaceAttributes = new HttpNamespaceAttributes {
NamespaceArn = "namespaceArn",
NamespaceId = "namespaceId",
NamespaceName = "namespaceName"
};
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"
httpNamespaceAttributes := &HttpNamespaceAttributes{
NamespaceArn: jsii.String("namespaceArn"),
NamespaceId: jsii.String("namespaceId"),
NamespaceName: jsii.String("namespaceName"),
}
Properties
Namespace ARN for the Namespace.
Namespace Id for the Namespace.
namespaceNamestringnamespace_namestrnamespaceNameStringNamespaceNamestringNamespaceName*stringrequired#A name for the Namespace.