Package Exports
- @aws-cdk/aws-servicediscovery
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-cdk/aws-servicediscovery) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
The CDK Construct Library for AWS Service Discovery
This module is part of the AWS Cloud Development Kit project.
This package contains constructs for working with AWS Cloud Map
AWS Cloud Map is a fully managed service that you can use to create and maintain a map of the backend services and resources that your applications depend on.
For further information on AWS Cloud Map, see the AWS Cloud Map documentation
The following example creates an AWS Cloud Map namespace that supports API calls, creates a service in that namespace, and registers an instance to it:
Creating a Cloud Map service within an HTTP namespace
The following example creates an AWS Cloud Map namespace that supports both API calls and DNS queries within a vpc, creates a service in that namespace, and registers a loadbalancer as an instance:
Creating a Cloud Map service within a Private DNS namespace
The following example creates an AWS Cloud Map namespace that supports both API calls and public DNS queries, creates a service in that namespace, and registers an IP instance:
Creating a Cloud Map service within a Public namespace
For DNS namespaces, you can also register instances to services with CNAME records: