Skip to main content

NatGatewaySchema

NatGatewaySchema is the schema of the NatGateway resource: a NAT gateway, through which a private subnet reaches the internet without being reachable from it. Terraform provisions it as aws_nat_gateway and aws_eip.

@group

Resources/NatGateway

@overrideProperty

parents - This resource has parents.

@overrideProperty

resourceId - The resource id is of format nat-gateway-<subnet-id>

Hierarchy

  • BaseResourceSchema
    • NatGatewaySchema

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; ConnectivityType: public }

Input properties.

  • properties.awsAccountId - The AWS account id.
  • properties.awsRegionId - The AWS region id.
  • properties.ConnectivityType - The connectivity type. Possible values are public.

Type declaration

  • awsAccountId: string
  • awsRegionId: string
  • ConnectivityType: public

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: { AllocationId?: string; NatGatewayId?: string } = { AllocationId: 'eipalloc-0123456789abcdef0', NatGatewayId: 'nat-0123456789abcdef0', }

Saved response.

  • response.AllocationId - The allocation id representing relationship between nat gateway and subnet.
  • response.NatGatewayId - The nat gateway id.

Type declaration

  • optionalAllocationId?: string
  • optionalNatGatewayId?: 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