Amazon CloudSearch
Developer Guide (API Version 2011-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

cs-create-domain

NAME

cs-create-domain - Create a new Amazon CloudSearch domain.

SYNOPSIS

cs-create-domain --domain-name STRING [--wait]
                 COMMON_OPTIONS
  
DESCRIPTION

Creates a search domain with the name specified by the --domain-name option.
Domain names must begin with a letter or number and can contain the following
characters: a-z, 0-9, and -. Uppercase letters and underscores are not
allowed. Domain names must be at least 3 and no more than 28 characters.

By default, this command returns immediately. If you specify the --wait
option, cs-create-domain will return once the domain is created.

COMMON OPTIONS

-a, --access-key STRING         Your AWS access key. Used in conjunction
                                with --secret-key. Required if you
                                do not use an AWS credential file.

-c, --aws-credential-file FILE  The path to the file that contains your AWS
                                credentials. Required if you have not
                                set the AWS_CREDENTIAL_FILE environment
                                variable or explicitly set your credentials
                                with --access-key and --secret-key.
 
-d, --domain-name STRING        The name of the domain that you are creating.
                                Required.
 
-e,  --endpoint URL             The endpoint for the Amazon CloudSearch
                                Configuration Service. Defaults to the 
                                CS_ENDPOINT environment variable or
                                cloudsearch.us-east-1.amazonaws.com
                                if the environment variable is not set. 
                                Optional.  
 
-h, --help                      Display this help message. Optional.
  
-k, --secret-key STRING         Your AWS secret key. Used in conjunction with
                                --access-key. Required if you do not
                                use an AWS credential file.

-ve, --verbose                  Display verbose log messages. Optional.
 
-v, --version                   Display the version number of the command
                                line tools. Optional.

DOMAIN OPTIONS                                

-w, --wait                      Wait for domain creation to complete
                                before returning. Optional.

EXAMPLES

cs-create-domain -d mydomain --wait COMMON_OPTIONS

cs-create-domain -d myeudomain --endpoint cloudsearch.eu-west-1.amazonaws.com