[IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only
internet gateway is used to enable outbound communication over IPv6 from instances in
your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6
connection with your instance.
example
Use a bare-bones client and the command you need to make an API call.
[IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, CreateEgressOnlyInternetGatewayCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, CreateEgressOnlyInternetGatewayCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new CreateEgressOnlyInternetGatewayCommand(input); const response = await client.send(command);
CreateEgressOnlyInternetGatewayCommandInput for command's
input
shape.CreateEgressOnlyInternetGatewayCommandOutput for command's
response
shape.config for EC2Client's
config
shape.