EC2-MODIFY-IMAGE-ATTRIBUTE(1)
β¨ EC2-MODIFY-IMAGE-ATTRIBUTE(1) β¨
okay so bestie, welcome to the glow-up of ec2-modify-image-attribute β a User Commands manpage, and honestly? it's giving "I hold the keys to your Amazon Image and I'm not afraid to use them" π
πΈ NAME πΈ
ec2-modify-image-attribute β Modify an attribute on an Image π
π¦ SYNOPSIS π¦
ec2mimatt ([ec2-modify-image-attribute, ec2matt])
ec2mimatt [GENERAL OPTIONS] IMAGE (-l ( -a ENTITY | -r ENTITY ) | -p CODE )
yes she has THREE names, she's a multi-hyphenate, we love that for her π
π GENERAL NOTES π
- Any command option/parameter may be passed a value of
-to say "bestie, read the values for that option from stdin instead" π«Ά
π DESCRIPTION π
So. You wanna Modify an attribute on an Amazon Image. Periodt. The IMAGE parameter is the ID of the Amazon Image whose attribute you're about to mess with. π
An Amazon Image may be, and I need you to pay attention here:
- an Amazon Machine Image (AMI) or
- an Amazon Kernel Image (AKI) or
- an Amazon Ramdisk Image (ARI).
three flavors, one vibe, all iconic β¨
π GENERAL OPTIONS π
these are the universal settings, the base layer of the fit π
-O,--aws-access-key KEYβ AWS Access Key ID. Defaults to whatever theAWS_ACCESS_KEYenvironment variable is set to (if it's set at all, no pressure).-W,--aws-secret-key KEYβ AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). shhh, secret π€«-T,--security-token TOKENβ AWS delegation token. Defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-key KEYβ [DEPRECATED] SpecifyKEYas the private key to use. Defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). Overrides the default. ngl bestie, deprecated means deprecated, tread carefully π-C,--cert CERTβ [DEPRECATED] SpecifyCERTas the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default. same warning, same energy π-U,--url URLβ SpecifyURLas the web service URL to use. Defaults to the value of'https://ec2.amazonaws.com'(us-east-1) or to that of theEC2_URLenvironment variable (if set). Overrides the default.--region REGIONβ SpecifyREGIONas the web service region to use. This option will override the URL specified by the"-U URL"option and theEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if that environment variable is not set. lowkey the region option does NOT play about being overridden π€-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. a vibe check before the vibe check β-v,--verboseβ Verbose output. give me ALL the tea β-?,--helpβ Display this help. π«Ά-H,--headersβ Display column headers.--debugβ Display additional debugging information. π--show-empty-fieldsβ Indicate empty fields.--hide-tagsβ Do not display tags for tagged resources. π--connection-timeout TIMEOUTβ Specify a connection timeoutTIMEOUT(in seconds). β±οΈ--request-timeout TIMEOUTβ Specify a request timeoutTIMEOUT(in seconds). β±οΈ
π SPECIFIC OPTIONS π
now THIS is the main character section π
-l,--launch-permissionβ Used together with the--addor--removeflags to, respectively, grant or revoke launch permissions on the specified image for the specifiedENTITY. the friendship-policy maker, honestly π«Ά-a,--add ENTITY [--add ENTITY...]β Add a stated attribute, e.g. launch permissions, to the specifiedENTITY. ValidENTITYvalues are:AWS Account ID: User ID to receive stated image attribute.all: All users to receive the stated image attribute.
-r,--remove ENTITY [--remove ENTITY...]β Remove a stated attribute, e.g. launch permissions, from theENTITYspecified. ValidENTITYvalues are:AWS Account ID: User ID to lose stated image attribute.all: All users to lose the stated image attribute.
-p,--product-code CODEβ Set the product code associated with the specified image toCODE.
heads up bestie:-aand-rboth take anENTITYthat can repeat β an AWS Account ID, or the literal wordall, which is everybody, the whole group chat. Choose wisely, that's a lot of launch permissions π
π₯ SEE ALSO π₯
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
and that's the whole page, no skips, no cuts, every single flag accounted for β¨
cute little sign-off before you go: this page is from the EC2 API command line tools, version 1.6.14.1, api=2014-05-0 β so yeah, vintage but still serving π
now go forth and modify those image attributes, bestie π¦ππ
π¦ where this page comes from
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms