MapPublicIpOnLaunch:
Jump to navigation
Jump to search
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"
aws ec2 describe-subnets --filters Name=vpc-id,Values=vpc-0987654321 | egrep "MapPublicIpOnLaunch|DefaultForAz"
Related
See also
Advertising: