Skip to main content

VpcSchema

The VpcSchema class is the schema for the Vpc resource, which represents the AWS Virtual Private Cloud (VPC) resource. This resource can create a vpc in AWS using the AWS JavaScript SDK V3 API. See official sdk docs.

@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

inheritedparents

parents: IResourceReference[]

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

response

response: { VpcArn?: string; VpcId?: string } = ...

Saved response.

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

Type declaration

  • optionalVpcArn?: string
  • optionalVpcId?: string

inheritedtags

tags: {}

Type declaration

  • [key string]: string