pulumi_wasm_providers_aws_mini::ec2

Module egress_only_internet_gateway

source
Expand description

[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 Usage

resources:
  example:
    type: aws:ec2:Vpc
    properties:
      cidrBlock: 10.1.0.0/16
      assignGeneratedIpv6CidrBlock: true
  exampleEgressOnlyInternetGateway:
    type: aws:ec2:EgressOnlyInternetGateway
    name: example
    properties:
      vpcId: ${example.id}
      tags:
        Name: main

§Import

Using pulumi import, import Egress-only Internet gateways using the id. For example:

$ pulumi import aws:ec2/egressOnlyInternetGateway:EgressOnlyInternetGateway example eigw-015e0e244e24dfe8a

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments