interface CfnPrivateDnsNamespaceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ServiceDiscovery.Mixins.CfnPrivateDnsNamespaceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsservicediscovery/mixins#CfnPrivateDnsNamespaceMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.servicediscovery.mixins.CfnPrivateDnsNamespaceMixinProps |
Python | aws_cdk.mixins_preview.aws_servicediscovery.mixins.CfnPrivateDnsNamespaceMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_servicediscovery » mixins » CfnPrivateDnsNamespaceMixinProps |
Properties for CfnPrivateDnsNamespacePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as servicediscovery_mixins } from '@aws-cdk/mixins-preview/aws-servicediscovery';
const cfnPrivateDnsNamespaceMixinProps: servicediscovery_mixins.CfnPrivateDnsNamespaceMixinProps = {
description: 'description',
name: 'name',
properties: {
dnsProperties: {
soa: {
ttl: 123,
},
},
},
tags: [{
key: 'key',
value: 'value',
}],
vpc: 'vpc',
};
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | A description for the namespace. |
| name? | string | The name that you want to assign to this namespace. |
| properties? | IResolvable | Properties | Properties for the private DNS namespace. |
| tags? | Cfn[] | The tags for the namespace. |
| vpc? | string | The ID of the Amazon VPC that you want to associate the namespace with. |
description?
Type:
string
(optional)
A description for the namespace.
name?
Type:
string
(optional)
The name that you want to assign to this namespace.
When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
properties?
Type:
IResolvable | Properties
(optional)
Properties for the private DNS namespace.
tags?
Type:
Cfn[]
(optional)
The tags for the namespace.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
vpc?
Type:
string
(optional)
The ID of the Amazon VPC that you want to associate the namespace with.

.NET
Go
Java
Python
TypeScript