Data Source: awsServiceDiscoveryDnsNamespace
Retrieves information about a Service Discovery private or public DNS namespace.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsServiceDiscoveryDnsNamespace.DataAwsServiceDiscoveryDnsNamespace(
this,
"test",
{
name: "example.terraform.local",
type: "DNS_PRIVATE",
}
);
Argument Reference
name
- (Required) Name of the namespace.type
- (Required) Type of the namespace. Allowed values areDNS_PUBLIC
orDNS_PRIVATE
.
Attributes Reference
arn
- ARN of the namespace.description
- Description of the namespace.id
- Namespace ID.hostedZone
- ID for the hosted zone that Amazon Route 53 creates when you create a namespace.tags
- Map of tags for the resource.