Class CfnHttpNamespace
Creates an HTTP namespace.
Inherited Members
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHttpNamespace : CfnResource, IInspectable, IHttpNamespaceRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnHttpNamespace Inherits CfnResource Implements IInspectable, IHttpNamespaceRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Examples
// 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 cfnHttpNamespace = new CfnHttpNamespace(this, "MyCfnHttpNamespace", new CfnHttpNamespaceProps {
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnHttpNamespace(Construct, string, ICfnHttpNamespaceProps) | Create a new |
Properties
| AttrArn | The Amazon Resource Name (ARN) of the namespace, such as |
| AttrId | The ID of the namespace. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Creates an HTTP namespace. |
| Description | A description for the namespace. |
| HttpNamespaceRef | A reference to a HttpNamespace resource. |
| Name | The name that you want to assign to this namespace. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | The tags for the namespace. |
Methods
| ArnForHttpNamespace(IHttpNamespaceRef) | Creates an HTTP namespace. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnHttpNamespace(object) | Checks whether the given object is a CfnHttpNamespace. |
| RenderProperties(IDictionary<string, object>) | Creates an HTTP namespace. |
Constructors
CfnHttpNamespace(Construct, string, ICfnHttpNamespaceProps)
Create a new AWS::ServiceDiscovery::HttpNamespace.
public CfnHttpNamespace(Construct scope, string id, ICfnHttpNamespaceProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnHttpNamespaceProps
Resource properties.
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Name (ARN) of the namespace, such as arn:aws:service-discovery:us-east-1:123456789012:http-namespace/http-namespace-a1bzhi .
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrId
The ID of the namespace.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
CfnProperties
Creates an HTTP namespace.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Description
A description for the namespace.
public virtual string? Description { get; set; }
Property Value
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
HttpNamespaceRef
A reference to a HttpNamespace resource.
public virtual IHttpNamespaceReference HttpNamespaceRef { get; }
Property Value
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Name
The name that you want to assign to this namespace.
public virtual string Name { get; set; }
Property Value
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
TagsRaw
The tags for the namespace.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Methods
ArnForHttpNamespace(IHttpNamespaceRef)
Creates an HTTP namespace.
public static string ArnForHttpNamespace(IHttpNamespaceRef resource)
Parameters
- resource IHttpNamespaceRef
Returns
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
Examples
// 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 cfnHttpNamespace = new CfnHttpNamespace(this, "MyCfnHttpNamespace", new CfnHttpNamespaceProps {
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
IsCfnHttpNamespace(object)
Checks whether the given object is a CfnHttpNamespace.
public static bool IsCfnHttpNamespace(object x)
Parameters
- x object
Returns
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates an HTTP namespace.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
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 in the AWS Cloud Map Developer Guide .
CloudformationResource: AWS::ServiceDiscovery::HttpNamespace
ExampleMetadata: fixture=_generated