AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ServiceDiscovery::HttpNamespace

CfnHttpNamespace

Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a `DiscoverInstances` request but can't be discovered using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see [AWS Cloud Map quotas](https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html) in the *AWS Cloud Map Developer Guide* .

Import

import { CfnHttpNamespace } from 'aws-cdk-lib/aws-servicediscovery';

Or use the module namespace:

import * as servicediscovery from 'aws-cdk-lib/aws-servicediscovery';
// servicediscovery.CfnHttpNamespace

Properties

Configuration passed to the constructor as CfnHttpNamespaceProps.

nameRequired
string

The name that you want to assign to this namespace.

descriptionOptional
string

A description for the namespace.

tagsOptional
CfnTag[]

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-servicediscovery
CFN TypeAWS::ServiceDiscovery::HttpNamespace
Properties3

External Links