EC2-REPLACE-NETWORK-ACL-ENTRY(1)
π EC2-REPLACE-NETWORK-ACL-ENTRY π
okay bestie, welcome to the ec2-replace-network-acl-entry page β it lives in section 1 of the manual (User Commands, obvs), and it's here to help you swap out a network ACL entry without losing your mind. no cap. π¦
β¨ NAME β¨
ec2-replace-network-acl-entry β replace an existing network ACL entry π
πΈ SYNOPSIS πΈ
ec2repnae ([ec2-replace-network-acl-entry])
ec2repnae [GENERAL OPTIONS] NETWORK_ACL -n RULE_NUMBER -r CIDR
[--egress] [-P PROTOCOL] (-p PORT_RANGE | -t ICMP_TYPE_CODE) {--allow | --deny}
π GENERAL NOTES π
Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin. yes literally any of them, it's giving flexible π
π¦ DESCRIPTION π¦
Replace an existing network ACL entry. NETWORK_ACL is the network acl ID in which to replace the entry. that's the vibe β you tell it which acl, and it swaps the entry for you. iconic. β¨
π GENERAL OPTIONS π
the shared stuff, the little black dress of options β every one of these is a baddie:
-O,--aws-access-keyKEY β AWS Access Key ID. Defaults to the value of theAWS_ACCESS_KEYenvironment variable (if set). π-W,--aws-secret-keyKEY β AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set). π€«-T,--security-tokenTOKEN β 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. ποΈ-C,--certCERT β [DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default. π-U,--urlURL β Specify URL as the web service URL to use. Defaults to the value ofhttps://ec2.amazonaws.com(us-east-1) or to that of theEC2_URLenvironment variable (if set). Overrides the default. π--regionREGION β Specify REGION as the web service region to use. This option will override the URL specified by the-U URLoption andEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set. π-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. a lil test run, no commitment, we love a situationship π-v,--verboseβ Verbose output. π£οΈ-?,--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 π₯
the main character options, the ones that actually do the thing:
-n,--rule-numberRULE_NUMBER β The rule number to replace. π’-r,--cidrCIDR β The IP range to regulate. π--egressβ Specifies an egress rule. The rule is otherwise assumed to be ingress. no--egress? then it's ingress, periodt. πͺ-P,--protocolPROTOCOL β The IP protocol to regulate. Set to'all'for wildcard. π-p,--port-rangePORT_RANGE β The port range to regulate (TCP and UDP only). π¦-t,--icmp-type-codeICMP_TYPE_CODE β The ICMP type and code to regulate. π‘--allowβ Sets the action to be taken on packets matching the rule to'allow'. Must specify either this or deny. β--denyβ Sets the action to be taken on packets matching the rule to'deny'. Must specify either this or allow. β
bestie, note the drama:--allowand--denyare a choose one situation. Must specify either this or the other one. you cannot have both, that's not the vibe. π
π 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 page, bestie!! π«Ά this was the EC2 API command line tools, version 1.6.14.1, api=2014-0, and honestly? she ate. now go replace that ACL entry, you've got this. πβ¨π
π¦ 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