UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

210 lines (209 loc) 9.8 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VpcConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#assign_generated_ipv6_cidr_block Vpc#assign_generated_ipv6_cidr_block} */ readonly assignGeneratedIpv6CidrBlock?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#cidr_block Vpc#cidr_block} */ readonly cidrBlock?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#enable_dns_hostnames Vpc#enable_dns_hostnames} */ readonly enableDnsHostnames?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#enable_dns_support Vpc#enable_dns_support} */ readonly enableDnsSupport?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#enable_network_address_usage_metrics Vpc#enable_network_address_usage_metrics} */ readonly enableNetworkAddressUsageMetrics?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#id Vpc#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#instance_tenancy Vpc#instance_tenancy} */ readonly instanceTenancy?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#ipv4_ipam_pool_id Vpc#ipv4_ipam_pool_id} */ readonly ipv4IpamPoolId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#ipv4_netmask_length Vpc#ipv4_netmask_length} */ readonly ipv4NetmaskLength?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#ipv6_cidr_block Vpc#ipv6_cidr_block} */ readonly ipv6CidrBlock?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#ipv6_cidr_block_network_border_group Vpc#ipv6_cidr_block_network_border_group} */ readonly ipv6CidrBlockNetworkBorderGroup?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#ipv6_ipam_pool_id Vpc#ipv6_ipam_pool_id} */ readonly ipv6IpamPoolId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#ipv6_netmask_length Vpc#ipv6_netmask_length} */ readonly ipv6NetmaskLength?: number; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#region Vpc#region} */ readonly region?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#tags Vpc#tags} */ readonly tags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#tags_all Vpc#tags_all} */ readonly tagsAll?: { [key: string]: string; }; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc aws_vpc} */ export declare class Vpc extends cdktf.TerraformResource { static readonly tfResourceType = "aws_vpc"; /** * Generates CDKTF code for importing a Vpc resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the Vpc to import * @param importFromId The id of the existing Vpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Vpc to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/vpc aws_vpc} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options VpcConfig = {} */ constructor(scope: Construct, id: string, config?: VpcConfig); get arn(): string; private _assignGeneratedIpv6CidrBlock?; get assignGeneratedIpv6CidrBlock(): boolean | cdktf.IResolvable; set assignGeneratedIpv6CidrBlock(value: boolean | cdktf.IResolvable); resetAssignGeneratedIpv6CidrBlock(): void; get assignGeneratedIpv6CidrBlockInput(): boolean | cdktf.IResolvable | undefined; private _cidrBlock?; get cidrBlock(): string; set cidrBlock(value: string); resetCidrBlock(): void; get cidrBlockInput(): string | undefined; get defaultNetworkAclId(): string; get defaultRouteTableId(): string; get defaultSecurityGroupId(): string; get dhcpOptionsId(): string; private _enableDnsHostnames?; get enableDnsHostnames(): boolean | cdktf.IResolvable; set enableDnsHostnames(value: boolean | cdktf.IResolvable); resetEnableDnsHostnames(): void; get enableDnsHostnamesInput(): boolean | cdktf.IResolvable | undefined; private _enableDnsSupport?; get enableDnsSupport(): boolean | cdktf.IResolvable; set enableDnsSupport(value: boolean | cdktf.IResolvable); resetEnableDnsSupport(): void; get enableDnsSupportInput(): boolean | cdktf.IResolvable | undefined; private _enableNetworkAddressUsageMetrics?; get enableNetworkAddressUsageMetrics(): boolean | cdktf.IResolvable; set enableNetworkAddressUsageMetrics(value: boolean | cdktf.IResolvable); resetEnableNetworkAddressUsageMetrics(): void; get enableNetworkAddressUsageMetricsInput(): boolean | cdktf.IResolvable | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _instanceTenancy?; get instanceTenancy(): string; set instanceTenancy(value: string); resetInstanceTenancy(): void; get instanceTenancyInput(): string | undefined; private _ipv4IpamPoolId?; get ipv4IpamPoolId(): string; set ipv4IpamPoolId(value: string); resetIpv4IpamPoolId(): void; get ipv4IpamPoolIdInput(): string | undefined; private _ipv4NetmaskLength?; get ipv4NetmaskLength(): number; set ipv4NetmaskLength(value: number); resetIpv4NetmaskLength(): void; get ipv4NetmaskLengthInput(): number | undefined; get ipv6AssociationId(): string; private _ipv6CidrBlock?; get ipv6CidrBlock(): string; set ipv6CidrBlock(value: string); resetIpv6CidrBlock(): void; get ipv6CidrBlockInput(): string | undefined; private _ipv6CidrBlockNetworkBorderGroup?; get ipv6CidrBlockNetworkBorderGroup(): string; set ipv6CidrBlockNetworkBorderGroup(value: string); resetIpv6CidrBlockNetworkBorderGroup(): void; get ipv6CidrBlockNetworkBorderGroupInput(): string | undefined; private _ipv6IpamPoolId?; get ipv6IpamPoolId(): string; set ipv6IpamPoolId(value: string); resetIpv6IpamPoolId(): void; get ipv6IpamPoolIdInput(): string | undefined; private _ipv6NetmaskLength?; get ipv6NetmaskLength(): number; set ipv6NetmaskLength(value: number); resetIpv6NetmaskLength(): void; get ipv6NetmaskLengthInput(): number | undefined; get mainRouteTableId(): string; get ownerId(): string; private _region?; get region(): string; set region(value: string); resetRegion(): void; get regionInput(): string | undefined; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; } | undefined; private _tagsAll?; get tagsAll(): { [key: string]: string; }; set tagsAll(value: { [key: string]: string; }); resetTagsAll(): void; get tagsAllInput(): { [key: string]: string; } | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }