Provided by: ascli_1.0.61.0-1_all bug

NAME

       as-create-auto-scaling-group - Create a new Auto Scaling group.

SYNOPSIS

        as-create-auto-scaling-group
            AutoScalingGroupName  --availability-zones  value[,value...]
            --launch-configuration    value    --max-size   value   --min-size
       value
           [--default-cooldown  value ] [--desired-capacity  value ]
           [--grace-period    value   ]    [--health-check-type     value    ]
       [--load-balancers
           value[,value...] ] [--placement-group  value ] [--tag  "k=value,
           [id=value], [t=value], [v=value], [p=value]" [ --tag "k=value,
           [id=value], [t=value], [v=value], [p=value]" ...] ]
           [--vpc-zone-identifier  value ]  [General Options]

DESCRIPTION

           Creates  a  new  Auto Scaling group with a specified name and other
       attributes.

ARGUMENTS

        AutoScalingGroupName
           User-supplied Auto Scaling group  identifier  which  will  uniquely
       identify
           the Auto Scaling group. You can also set this value using
           "--auto-scaling-group". Required.

SPECIFIC OPTIONS

        --default-cooldown VALUE
           Time  (in  seconds)  between  a  successful  scaling  activity  and
       succeeding
           scaling activity.

        --desired-capacity VALUE
           Capacity setting for the group (minimum-size <= desired-capacity <=
           maximum-size).

        --grace-period VALUE
           The period after an instance is launched. During this  period,  any
       health
           check failure of that instance is ignored.

        --health-check-type VALUE
           Type of health check for instances of this group.

        -l, --launch-configuration VALUE
           Name  of  existing  launch  configuration  to  use  to  launch  new
       instances.
           Required.

        --load-balancers VALUE1,VALUE2,VALUE3...
           List of existing load  balancers.  Load  balancers  must  exist  in
       Elastic
           Load  Balancing  service  within  the  scope  of  the  caller's AWS
       account.

        -m, --min-size VALUE
           Minimum group size (0 <= minimum-size <= maximum-size). Required.

        -M, --max-size VALUE
           Maximum  group  size  (minimum-size  <=  maximum-size   <   10000).
       Required.

        --placement-group VALUE
           Name  of  an existing placement group into which you want to launch
       your
           instances.

        --tag "k=value, [id=value], [t=value], [v=value], [p=value]"  [  --tag
       "k=value, [id=value], [t=value], [v=value], [p=value]" ...]
           The tags to be created. Each tag should follow this format:
           "id=resource-name, t=resource-type, k=tag-key, v=tag-val,
           p=propagate-at-launch   flag".   NOTE:   id  is  ResourceId,  t  is
       ResourceType, k
           is TagKey, v is TagValue, p is PropagateAtLaunch.

        --vpc-zone-identifier VALUE
           The Amazon VPC into which you want to launch your instance.

        -z, --availability-zones VALUE1,VALUE2,VALUE3...
           Availability zones in which new  instances  will  be  launched.  At
       least one
           zone must be specified. Required.

GENERAL OPTIONS

        --aws-credential-file VALUE
           Location  of  the file with your AWS credentials. This value can be
       set by
           using the environment variable 'AWS_CREDENTIAL_FILE'.

        -C, --ec2-cert-file-path VALUE
           Path to the file holding the X.509 certificate. This value  can  be
       set by
           using the environment variable 'EC2_CERT'.

        --connection-timeout VALUE
           Connection timeout (in seconds). The default value is '30'.

        --delimiter VALUE
           The delimiter to use when displaying delimited (long) results.

        -H, --headers
           For displaying tabular or delimited results, it includes the column
           headers.  For  displaying  XML results, it returns the HTTP headers
       from the
           service request, if applicable. This is off by default.

        -I, --access-key-id VALUE
           The AWS access ID to use.

        -K, --ec2-private-key-file-path VALUE
           Path to the file holding the X.509 private key. This value  can  be
       set by
           using the environment variable 'EC2_PRIVATE_KEY'.

        --region VALUE
           Amazon  EC2  region  to  use.  This  value  can be set by using the
       environment
           variable 'EC2_REGION'.

        -S, --secret-key VALUE
           The AWS Secret Key to use.

        --show-empty-fields
           Shows empty fields and rows, using a (nil) value. The default is to
       not
           show empty fields or columns.

        --show-request
           Displays  the  URL  the  tools  used  to  call the AWS Service. The
       default
           value is 'false'.

        --show-table, --show-long, --show-xml, --quiet
           The way in which the  results  are  displayed:  tabular,  delimited
       (long),
           XML  or  no  output  (quiet). Tabular shows a subset of the data in
       fixed
           column-width form, while long shows  all  of  the  returned  values
       delimited
           by a character, XML is the raw return from the service and quiet
           suppresses   all  standard  output.  The  default  is  tabular,  or
       'show-table'.

        -U, --url VALUE
           This option will override the URL for the service call with  VALUE.
       This
           value can be set by using the environment variable
           'AWS_AUTO_SCALING_URL'.

INPUT EXAMPLES

        Create  group  'test-group-1'  with  required  parameters (will have 1
       instance
        launched with config 'test-config-1')

        $PROMPT>           as-create-auto-scaling-group           test-group-1
       --launch-configuration  test-config-1  --availability-zones  us-east-1a
       --min-size 1 --max-size 1

        Create   group   'test-group-2'   with   all   parameters    cooldown,
       health-check-type
        and grace-period specified

        $PROMPT2>           as-create-auto-scaling-group          test-group-2
       --launch-configuration  test-config-2  --availability-zones  us-east-1a
       --min-size  0  --max-size  1  --default-cooldown  180  --load-balancers
       test-lb-2 --health-check-type ELB --grace-period 240

        Create group 'test-group-3' with all parameters

        $PROMPT3>          as-create-auto-scaling-group           test-group-3
       --launch-configuration  test-config-3  --availability-zones  us-east-1a
       --min-size  0  --max-size  1  --default-cooldown  180  --load-balancers
       test-lb-2    --health-check-type    ELB    --grace-period   240   --tag
       "k=stack,v=Production,p=true" --tag "k=Owner,v=TeamA,p=true"

SEE ALSO

         http://docs.amazonwebservices.com/AutoScaling//DeveloperGuide/
         http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/