Difference between revisions of "MapPublicIpOnLaunch:"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is false. | |
* <code>aws ec2 describe-subnets --filters Name=vpc-id,Values=vpc-0987654321 --output table | egrep "[[MapPublicIpOnLaunch]]|Name|CidrBlock"</code> | * <code>aws ec2 describe-subnets --filters Name=vpc-id,Values=vpc-0987654321 --output table | egrep "[[MapPublicIpOnLaunch]]|Name|CidrBlock"</code> |
Revision as of 22:34, 1 June 2022
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
aws ec2 describe-vpcs | grep IsDefault aws ec2 describe-subnets | grep DefaultForAz
See also
Advertising: