aws ec2 modify-subnet-attribute
Modifies a subnet attribute. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--assign-ipv6-address-on-creationSpecify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address.--customer-owned-ipv4-poolThe customer-owned IPv4 address pool associated with the subnet.--disable-lni-at-device-indexSpecify true to indicate that local network interfaces at the current position should be disabled.--enable-dns64Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.--enable-lni-at-device-indexIndicates the device position for local network interfaces in this subnet.--enable-resource-name-dns-a-record-on-launchIndicates whether to respond to DNS queries for instance hostnames with DNS A records.--enable-resource-name-dns-aaaa-record-on-launchIndicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.--map-customer-owned-ip-on-launchSpecify true to indicate that network interfaces attached to instances created in the specified subnet should be assigned a customer-owned IPv4 address.--map-public-ip-on-launchSpecify true to indicate that network interfaces attached to instances created in the specified subnet should be assigned a public IPv4 address.--private-dns-hostname-type-on-launchThe type of hostname to assign to instances in the subnet at launch.--subnet-idThe ID of the subnet.