Difference between revisions of "MapPublicIpOnLaunch:"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
== Related ==
 
== Related ==
[[AWS::EC2::Subnet]]
+
* <code>[[AWS::EC2::Subnet]]</code>
[[aws ec2 describe-vpcs]] | grep [[IsDefault]]
+
* <code>[[aws ec2 describe-vpcs]] | grep [[IsDefault]]</code>
[[aws ec2 describe-subnets]] | grep DefaultForAz
+
* <code>[[aws ec2 describe-subnets]] | grep DefaultForAz</code>
  
 
== See also ==
 
== See also ==

Revision as of 17:45, 26 February 2024

Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is false.

  • aws ec2 describe-subnets --filters Name=vpc-id,Values=vpc-0987654321 --output table | egrep "MapPublicIpOnLaunch|Name|CidrBlock"

Related

See also

Advertising: