CmdID / aws / aws servicediscovery
aws servicediscovery create-service
Creates a service. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--creator-request-idA unique string that identifies the request and that allows failed CreateService requests to be retried without the risk of running the operation twice.--descriptionA description for the service.--dns-configA complex type that contains information about the Amazon Route 53 records that you want Cloud Map to create when you register an instance.--health-check-configPublic DNS and HTTP namespaces only.--health-check-custom-configA complex type that contains information about an optional custom health check.--nameThe name that you want to assign to the service.--namespace-idThe ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service.--tagsThe tags to add to the service.--typeIf present, specifies that the service instances are only discoverable using the DiscoverInstances API operation.