Skip to content

Resource: awsServiceDiscoveryHttpNamespace

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.serviceDiscoveryHttpNamespace.ServiceDiscoveryHttpNamespace(
  this,
  "example",
  {
    description: "example",
    name: "development",
  }
);

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the http namespace.
  • description - (Optional) The description that you specify for the namespace when you create it.
  • tags - (Optional) A map of tags to assign to the namespace. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The ID of a namespace.
  • arn - The ARN that Amazon Route 53 assigns to the namespace when you create it.
  • httpName - The name of an HTTP namespace.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

Service Discovery HTTP Namespace can be imported using the namespace ID, e.g.,

$ terraform import aws_service_discovery_http_namespace.example ns-1234567890