EC2-MODIFY-SNAPSHOT-ATTRIBUTE(1)
π ec2-modify-snapshot-attribute β the manual page, but make it make sense
okay bestie, welcome to ec2-modify-snapshot-attribute(1), aka your little tool for messing with snapshot attributes. it lives in User Commands, it's iconic, and it's about to be your whole personality for the next five minutes. let's go π¦
β¨ NAME β¨
ec2-modify-snapshot-attribute β modify a snapshot attribute. that's it. that's the vibe. π
πΈ SYNOPSIS πΈ
ec2msnapatt ([ec2-modify-snapshot-attribute])
ec2msnapatt [GENERAL OPTIONS] SNAPSHOT -c ( -a ENTITY | -r ENTITY )
so you can call it ec2msnapatt (the cute nickname) or the whole long ec2-modify-snapshot-attribute thing. both slay. β¨
π GENERAL NOTES π
okay so this is important and also lowkey iconic: any command option or parameter can be handed the value -, and that means "bestie, read the values for that option from stdin instead." yeah. it's giving β¨pipesβ¨. π«Ά
π DESCRIPTION π
you're modifying an attribute on a snapshot. that's the whole plot. the SNAPSHOT parameter is the ID of the snapshot you want to modify an attribute on, so like, don't forget it, no cap. π
π GENERAL OPTIONS π
these ones are the shared, every-command options. the main characters, if you will.
-O,--aws-access-keyKEY β your AWS Access Key ID. defaults to whatever theAWS_ACCESS_KEYenvironment variable is set to (if it's set, obvi). π-W,--aws-secret-keyKEY β your AWS Secret Access Key. defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). π€«-T,--security-tokenTOKEN β your AWS delegation token. defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set). π«-K,--private-keyKEY β [DEPRECATED] specify KEY as the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). overrides the default. β οΈ (yes, deprecated. we don't gatekeep, we just warn.)-C,--certCERT β [DEPRECATED] specify CERT as the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set). overrides the default. β οΈ same energy.-U,--urlURL β specify URL as the web service URL to use. defaults to the value ofhttps://ec2.amazonaws.com(that's us-east-1) or to whatever theEC2_URLenvironment variable says (if set). overrides the default. π--regionREGION β specify REGION as the web service region to use. this option overrides the URL you set with the-U URLoption and theEC2_URLenvironment variable. it defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if that environment variable isn't set. π-D,--auth-dry-runβ check if you can even perform the requested action, instead of actually performing it. it's a vibe check for permissions, fr fr. π-v,--verboseβ verbose output. she's chatty. π£οΈ-?,--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-timeoutTIMEOUT β specify a connection timeout TIMEOUT, in seconds. β³--request-timeoutTIMEOUT β specify a request timeout TIMEOUT, in seconds. β±οΈ
π₯ SPECIFIC OPTIONS π₯
these are the ones that actually do the snapshot-attribute thing. the plot-specific girlies.
-c,--create-volume-permissionβ used together with the--addor--removeflags to, respectively, grant or revoke create volume permissions on the specified snapshot for the specifiedENTITY. so-cplus-a= granting,-cplus-r= revoking. cute. π-a,--addENTITY [--addENTITY...] β add a stated attribute, e.g. create volume permissions, to the specifiedENTITY. validENTITYvalues are:AWS Account ID: User ID to receive stated snapshot attribute.all: All users to receive the stated snapshot attribute.
(and yeah you can stack it β --add ENTITY more than once, she's flexible. β¨)
-r,--removeENTITY [--removeENTITY...] β remove a stated attribute, e.g. create volume permissions, from theENTITYspecified. validENTITYvalues are:AWS Account ID: User ID to lose stated snapshot attribute.all: All users to lose the stated snapshot attribute.
(also stackable. go off. π)
reminder bestie:-aand-rare the two halves of the-cmoment in the synopsis β-c ( -a ENTITY | -r ENTITY )β so pick a side. π«Ά
π SEE ALSO π
go read the lore, iykyk:
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
and that's the whole page, no skips, no crumbs left behind. this masterpiece ships as part of the EC2 API command line tools, version 1.6.14.1, api=2014-0... periodt. πβ¨π go modify some snapshot attributes responsibly, 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