Skip to main content

VpcSchema

VpcSchema is the schema of the Vpc resource: a VPC, the private network of a region. Terraform provisions it as aws_vpc.

@group

Resources/Vpc

@overrideProperty

parents - This resource has no parents.

@overrideProperty

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

Hierarchy

  • BaseResourceSchema
    • VpcSchema

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; awsAvailabilityZones: string[]; awsRegionId: string; CidrBlock: string; InstanceTenancy: default }

Input properties.

  • properties.awsAccountId - The AWS account id.
  • properties.awsAvailabilityZones - The AWS availability zones.
  • properties.awsRegionId - The AWS region id.
  • properties.CidrBlock - The CIDR block.
  • properties.InstanceTenancy - The instance tenancy. Possible values are default.

Type declaration

  • awsAccountId: string
  • awsAvailabilityZones: string[]
  • awsRegionId: string
  • CidrBlock: string
  • InstanceTenancy: default

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: { VpcArn?: string; VpcId?: string } = { VpcArn: 'arn:aws:ec2:us-east-1:000000000000:vpc/vpc-0123456789abcdef0', VpcId: 'vpc-0123456789abcdef0', }

Saved response.

  • response.VpcArn - The VPC ARN.
  • response.VpcId - The VPC ID.

Type declaration

  • optionalVpcArn?: string
  • optionalVpcId?: 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