Command option Sample:aws servicediscovery create-service

Search command sample in the internet.It is the result.

Creates a service, which defines the configurationShow details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/servicediscovery/create-service.html

aws servicediscovery create-service --name workers --dns-config 'NamespaceId=
    Configure Service Discovery with Route 53 Auto Naming Using the AWS CLI : http://aws.amazon.com/premiumsupport/knowledge-center/service-discovery-route53-auto-naming/
aws servicediscovery create-service --name myapplication --dns-config 'NamespaceId="ns-uejictsjen2i4eeg"
    Service Discovery - Amazon Elastic Container Service : http://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-service-discovery.html
aws servicediscovery create-service --name db--dns-config 'NamespaceId='
    Migrate Docker Cloud stacks to Amazon Elastic Container Service | Docker Documentation : http://docs.docker.com/docker-cloud/migration/cloud-to-aws-ecs/

aws のオプション一覧