Provided by: ascli_1.0.61.0-1_all bug

NAME

       as-create-or-update-tags - Create or update tags.

SYNOPSIS

        as-create-or-update-tags
            --tag  "id=value, t=value, k=value, [v=value], [p=value]" [ --tag
           "id=value, t=value, k=value, [v=value], [p=value]" ...]
            [General Options]

DESCRIPTION

           Creates new tags or updates existing tags.

SPECIFIC OPTIONS

        --tag  "id=value,  t=value,  k=value,  [v=value],  [p=value]"  [ --tag
       "id=value, t=value, k=value, [v=value], [p=value]" ...]
           The tags to be created or updated. Each tag should have the  format
       like
           this "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. 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 tag 'group-with-tag' with tag key="Stack", tag
        value="Production" and propagate-at-launch flag=true

        $PROMPT>    as-create-or-update-tags     --tag     "id=group-with-tag,
       t=auto-scaling-group, k=Stack, v=Production, p=true"

        Update  the  tag  for group 'group-with-tag' with tag key="Stack", new
       tag
        value="Test" and propagate-at-launch flag=true

        $PROMPT2>    as-create-or-update-tags    --tag     "id=group-with-tag,
       t=auto-scaling-group, k=Stack, v=Test, p=true"

        Create the multiple tags for group 'group-with-tag' with
        tag1:key="Owner",value="TeamA",propagate-at-launch=true and
        tag2:key="Purpose",value="Deployments",propagate-at-launch=true

        $PROMPT2>     as-create-or-update-tags    --tag    "id=group-with-tag,
       t=auto-scaling-group,     k=Owner,     v=TeamA,      p=true"      --tag
       "id=group-with-tag,   t=auto-scaling-group,  k=Purpose,  v=Deployments,
       p=true"

SEE ALSO

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