EC2-MODIFY-IMAGE-ATTRIBUTE(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

✨ 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 the AWS_ACCESS_KEY environment 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 the AWS_SECRET_KEY environment variable (if set). shhh, secret 🀫
  • -T, --security-token TOKEN β€” AWS delegation token. Defaults to the value of the AWS_DELEGATION_TOKEN environment variable (if set).
  • -K, --private-key KEY β€” [DEPRECATED] Specify KEY as the private key to use. Defaults to the value of the EC2_PRIVATE_KEY environment variable (if set). Overrides the default. ngl bestie, deprecated means deprecated, tread carefully πŸ’€
  • -C, --cert CERT β€” [DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value of the EC2_CERT environment variable (if set). Overrides the default. same warning, same energy πŸ’€
  • -U, --url URL β€” Specify URL as the web service URL to use. Defaults to the value of 'https://ec2.amazonaws.com' (us-east-1) or to that of the EC2_URL environment variable (if set). Overrides the default.
  • --region REGION β€” Specify REGION as the web service region to use. This option will override the URL specified by the "-U URL" option and the EC2_URL environment variable. This option defaults to the region specified by the EC2_URL environment variable, or us-east-1 if 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 timeout TIMEOUT (in seconds). ⏱️
  • --request-timeout TIMEOUT β€” Specify a request timeout TIMEOUT (in seconds). ⏱️

🌟 SPECIFIC OPTIONS 🌟

now THIS is the main character section πŸ‘‘

  • -l, --launch-permission β€” Used together with the --add or --remove flags to, respectively, grant or revoke launch permissions on the specified image for the specified ENTITY. the friendship-policy maker, honestly 🫢
  • -a, --add ENTITY [--add ENTITY...] β€” Add a stated attribute, e.g. launch permissions, to the specified ENTITY. Valid ENTITY values 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 the ENTITY specified. Valid ENTITY values 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 to CODE.
heads up bestie: -a and -r both take an ENTITY that can repeat β€” an AWS Account ID, or the literal word all, which is everybody, the whole group chat. Choose wisely, that's a lot of launch permissions πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


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