Skip to main content

InternetGatewaySchema

InternetGatewaySchema is the schema of the InternetGateway resource: an internet gateway, which connects a VPC to the internet. Terraform provisions it as aws_internet_gateway.

@group

Resources/InternetGateway

@overrideProperty

parents - This resource has parents.

@overrideProperty

resourceId - The resource id is of format igw-<region-id>

Hierarchy

  • BaseResourceSchema
    • InternetGatewaySchema

Index

Properties

inheritedlocalResourceId

localResourceId: string

The ID the resource was created with, unique within its scope.

inheritedparents

parents: IResourceReference[]

The resources this one is built on top of.

properties

properties: { awsAccountId: string; awsRegionId: string; internetGatewayName: string }

Input properties.

  • properties.awsAccountId - The AWS account id.
  • properties.awsRegionId - The AWS region id.
  • properties.internetGatewayName - The name of the internet gateway.

Type declaration

  • awsAccountId: string
  • awsRegionId: string
  • internetGatewayName: string

inheritedresourceId

resourceId: string

The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash of its scope when it has one.

response

response: { InternetGatewayArn?: string; InternetGatewayId?: string } = { InternetGatewayArn: 'arn:aws:ec2:us-east-1:000000000000:internet-gateway/igw-0123456789abcdef0', InternetGatewayId: 'igw-0123456789abcdef0', }

Saved response.

  • response.InternetGatewayArn - The ARN of the internet gateway.
  • response.InternetGatewayId - The ID of the internet gateway.

Type declaration

  • optionalInternetGatewayArn?: string
  • optionalInternetGatewayId?: string

inheritedscope

scope: string[]

The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.

inheritedtags

tags: {}

The tags applied to the resource.


Type declaration

  • [key string]: string