Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ECLAT-SETAATTR(1)	      Eclat User Reference	       ECLAT-SETAATTR(1)

NAME
     eclat-setaattr,  eclat-modify-image-attribute - modify attributes of an im-
     age

SYNOPSIS
     eclat setaattr AMI-ID description VALUE

     eclat setaattr AMI-ID ProductCode CODE [CODE...]

     eclat setaattr AMI-ID LaunchPermission [OPTION] VALUE [[OPTION] VALUE...]

     eclat   setaattr	AMI-ID	 LaunchPermission    {-a|-d}	{--add|--delete}
     {--group-name|--user-id} VALUE

DESCRIPTION
     Set or remove attributes of an AWS image.

     Only  three  attributes  can  be  modified:  description,	ProductCode, and
     LaunchPermission.	All three names are case-insensitive.

     Setting the description requires a single value (see the first form in  the
     synopsis).

     The ProductCode attribute can be assigned multiple values in the single in-
     vocation (second form in the synopsis).  Note, that this operation is irre-
     versible: after a product code is added to an AMI, it can't be removed.

     The  third  form adds or removes AWS accounts to the LaunchPermission list.
     It allows for the following options:

     -a, --add
	    Add the accounts that follow this option.

     -d, --delete
	    Delete the accounts that follow this option.

     This two options invert each other's effect.  The default action is  --add,
     so  the use of the --add option is optional if it is the only option in the
     command line.

     -g, --group-name
	    Treat the arguments that follow as group names, instead of	the  ac-
	    count  numbers.   According to the AWS documentation, the only valid
	    value that can be used with this option is all, which means all Ama-
	    zon EC2 users.

     -u, --user-id
	    Treat the arguments that follow as user (account) IDs.  This is  the
	    default.   This  option is intended to be used after --group-name to
	    cancel its effect.

EXAMPLE
     1.     Add a description :

     eclat setaattr ami-abcde012 description Database server

     2.     Allow account 123456701234 to launch  instances  from  ami-abcde012,
	    and revoke that permission from the rest of EC2 users.

     eclat setaattr ami-abcde012 LaunchPermission --add 123456701234 \
     --del --group all

SEE ALSO
     eclat(1), eclat-lsaattr(1).

AUTHORS
     Sergey Poznyakoff

BUG REPORTS
     Report bugs to <bug-eclat@gnu.org.ua>.

COPYRIGHT
     Copyright (C) 2012-2018 Sergey Poznyakoff
     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/li-
     censes/gpl.html>
     This  is  free software: you are free to change and redistribute it.  There
     is NO WARRANTY, to the extent permitted by law.

ECLAT				January 26, 2015	       ECLAT-SETAATTR(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=eclat-setaattr&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help