BaseNamespaceProps Struct
| Source | aws-servicediscovery/lib/namespace.ts |
|---|
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 baseNamespaceProps: servicediscovery.BaseNamespaceProps = {
name: 'name',
// the properties below are optional
description: 'description',
};
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
base_namespace_props = servicediscovery.BaseNamespaceProps(
name="name",
# the properties below are optional
description="description"
)
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.*;
BaseNamespaceProps baseNamespaceProps = BaseNamespaceProps.builder()
.name("name")
// the properties below are optional
.description("description")
.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 baseNamespaceProps = new BaseNamespaceProps {
Name = "name",
// the properties below are optional
Description = "description"
};
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"
baseNamespaceProps := &BaseNamespaceProps{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
}