AWS::ServiceDiscovery::HttpNamespace
The
AWS::ServiceDiscovery::HttpNamespace resource specifies values for an AWS Cloud Map HTTP namespace.
For more information, see CreateHttpNamespace
in the AWS Cloud Map API Reference.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ServiceDiscovery::HttpNamespace", "Properties" : { "Description" :String, "Name" :String} }
YAML
Type: "AWS::ServiceDiscovery::HttpNamespace" Properties: Description:StringName:String
Properties
Description-
A description of the namespace.
Required: No
Type: String
Update requires: Replacement
Name-
A name for the namespace.
Required: Yes
Type: String
Update requires: Replacement
Return Values
Ref
When you pass the logical ID of an AWS::ServiceDiscovery::HttpNamespace resource to the intrinsic
Ref function, the function returns the Id for the namespace.
For more information about using the
Ref function, see
Ref.
Fn::GetAtt
Fn::GetAtt returns a value for a specified attribute of this type.
The following are the available attributes and sample return values.
Arn-
The Amazon Resource Name (ARN) of the namespace, such as
arn:aws:service-discovery:us-east-1:123456789012:http-namespace/http-namespace-a1bzhi. Id-
The ID of the namespace.
For more information about using
Fn::GetAtt, see
Fn::GetAtt.
See Also
-
CreateHttpNamespace in the AWS Cloud Map API Reference
