Skip to content

Latest commit

 

History

History
1801 lines (1132 loc) · 71.4 KB

subnet.md

File metadata and controls

1801 lines (1132 loc) · 71.4 KB

aws_subnet

Refer to the Terraform Registory for docs: aws_subnet.

subnet Submodule

Constructs

Subnet

Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet aws_subnet}.

Initializers

import { subnet } from '@cdktf/aws-cdk'

new subnet.Subnet(scope: Construct, id: string, config: SubnetConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config SubnetConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
putTimeouts No description.
resetAssignIpv6AddressOnCreation No description.
resetAvailabilityZone No description.
resetAvailabilityZoneId No description.
resetCidrBlock No description.
resetCustomerOwnedIpv4Pool No description.
resetEnableDns64 No description.
resetEnableResourceNameDnsAaaaRecordOnLaunch No description.
resetEnableResourceNameDnsARecordOnLaunch No description.
resetId No description.
resetIpv6CidrBlock No description.
resetIpv6Native No description.
resetMapCustomerOwnedIpOnLaunch No description.
resetMapPublicIpOnLaunch No description.
resetOutpostArn No description.
resetPrivateDnsHostnameTypeOnLaunch No description.
resetTags No description.
resetTagsAll No description.
resetTimeouts No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

putTimeouts
public putTimeouts(value: SubnetTimeouts): void
valueRequired

resetAssignIpv6AddressOnCreation
public resetAssignIpv6AddressOnCreation(): void
resetAvailabilityZone
public resetAvailabilityZone(): void
resetAvailabilityZoneId
public resetAvailabilityZoneId(): void
resetCidrBlock
public resetCidrBlock(): void
resetCustomerOwnedIpv4Pool
public resetCustomerOwnedIpv4Pool(): void
resetEnableDns64
public resetEnableDns64(): void
resetEnableResourceNameDnsAaaaRecordOnLaunch
public resetEnableResourceNameDnsAaaaRecordOnLaunch(): void
resetEnableResourceNameDnsARecordOnLaunch
public resetEnableResourceNameDnsARecordOnLaunch(): void
resetId
public resetId(): void
resetIpv6CidrBlock
public resetIpv6CidrBlock(): void
resetIpv6Native
public resetIpv6Native(): void
resetMapCustomerOwnedIpOnLaunch
public resetMapCustomerOwnedIpOnLaunch(): void
resetMapPublicIpOnLaunch
public resetMapPublicIpOnLaunch(): void
resetOutpostArn
public resetOutpostArn(): void
resetPrivateDnsHostnameTypeOnLaunch
public resetPrivateDnsHostnameTypeOnLaunch(): void
resetTags
public resetTags(): void
resetTagsAll
public resetTagsAll(): void
resetTimeouts
public resetTimeouts(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.

isConstruct
import { subnet } from '@cdktf/aws-cdk'

subnet.Subnet.isConstruct(x: any)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: any

Any object.


isTerraformElement
import { subnet } from '@cdktf/aws-cdk'

subnet.Subnet.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { subnet } from '@cdktf/aws-cdk'

subnet.Subnet.isTerraformResource(x: any)
xRequired
  • Type: any

Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
terraformMetaArguments {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn string[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
arn string No description.
ipv6CidrBlockAssociationId string No description.
ownerId string No description.
timeouts SubnetTimeoutsOutputReference No description.
assignIpv6AddressOnCreationInput boolean | cdktf.IResolvable No description.
availabilityZoneIdInput string No description.
availabilityZoneInput string No description.
cidrBlockInput string No description.
customerOwnedIpv4PoolInput string No description.
enableDns64Input boolean | cdktf.IResolvable No description.
enableResourceNameDnsAaaaRecordOnLaunchInput boolean | cdktf.IResolvable No description.
enableResourceNameDnsARecordOnLaunchInput boolean | cdktf.IResolvable No description.
idInput string No description.
ipv6CidrBlockInput string No description.
ipv6NativeInput boolean | cdktf.IResolvable No description.
mapCustomerOwnedIpOnLaunchInput boolean | cdktf.IResolvable No description.
mapPublicIpOnLaunchInput boolean | cdktf.IResolvable No description.
outpostArnInput string No description.
privateDnsHostnameTypeOnLaunchInput string No description.
tagsAllInput {[ key: string ]: string} No description.
tagsInput {[ key: string ]: string} No description.
timeoutsInput cdktf.IResolvable | SubnetTimeouts No description.
vpcIdInput string No description.
assignIpv6AddressOnCreation boolean | cdktf.IResolvable No description.
availabilityZone string No description.
availabilityZoneId string No description.
cidrBlock string No description.
customerOwnedIpv4Pool string No description.
enableDns64 boolean | cdktf.IResolvable No description.
enableResourceNameDnsAaaaRecordOnLaunch boolean | cdktf.IResolvable No description.
enableResourceNameDnsARecordOnLaunch boolean | cdktf.IResolvable No description.
id string No description.
ipv6CidrBlock string No description.
ipv6Native boolean | cdktf.IResolvable No description.
mapCustomerOwnedIpOnLaunch boolean | cdktf.IResolvable No description.
mapPublicIpOnLaunch boolean | cdktf.IResolvable No description.
outpostArn string No description.
privateDnsHostnameTypeOnLaunch string No description.
tags {[ key: string ]: string} No description.
tagsAll {[ key: string ]: string} No description.
vpcId string No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

terraformMetaArgumentsRequired
public readonly terraformMetaArguments: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: string[];
  • Type: string[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

arnRequired
public readonly arn: string;
  • Type: string

ipv6CidrBlockAssociationIdRequired
public readonly ipv6CidrBlockAssociationId: string;
  • Type: string

ownerIdRequired
public readonly ownerId: string;
  • Type: string

timeoutsRequired
public readonly timeouts: SubnetTimeoutsOutputReference;

assignIpv6AddressOnCreationInputOptional
public readonly assignIpv6AddressOnCreationInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

availabilityZoneIdInputOptional
public readonly availabilityZoneIdInput: string;
  • Type: string

availabilityZoneInputOptional
public readonly availabilityZoneInput: string;
  • Type: string

cidrBlockInputOptional
public readonly cidrBlockInput: string;
  • Type: string

customerOwnedIpv4PoolInputOptional
public readonly customerOwnedIpv4PoolInput: string;
  • Type: string

enableDns64InputOptional
public readonly enableDns64Input: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

enableResourceNameDnsAaaaRecordOnLaunchInputOptional
public readonly enableResourceNameDnsAaaaRecordOnLaunchInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

enableResourceNameDnsARecordOnLaunchInputOptional
public readonly enableResourceNameDnsARecordOnLaunchInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

idInputOptional
public readonly idInput: string;
  • Type: string

ipv6CidrBlockInputOptional
public readonly ipv6CidrBlockInput: string;
  • Type: string

ipv6NativeInputOptional
public readonly ipv6NativeInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

mapCustomerOwnedIpOnLaunchInputOptional
public readonly mapCustomerOwnedIpOnLaunchInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

mapPublicIpOnLaunchInputOptional
public readonly mapPublicIpOnLaunchInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

outpostArnInputOptional
public readonly outpostArnInput: string;
  • Type: string

privateDnsHostnameTypeOnLaunchInputOptional
public readonly privateDnsHostnameTypeOnLaunchInput: string;
  • Type: string

tagsAllInputOptional
public readonly tagsAllInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

tagsInputOptional
public readonly tagsInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

timeoutsInputOptional
public readonly timeoutsInput: IResolvable | SubnetTimeouts;

vpcIdInputOptional
public readonly vpcIdInput: string;
  • Type: string

assignIpv6AddressOnCreationRequired
public readonly assignIpv6AddressOnCreation: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

availabilityZoneRequired
public readonly availabilityZone: string;
  • Type: string

availabilityZoneIdRequired
public readonly availabilityZoneId: string;
  • Type: string

cidrBlockRequired
public readonly cidrBlock: string;
  • Type: string

customerOwnedIpv4PoolRequired
public readonly customerOwnedIpv4Pool: string;
  • Type: string

enableDns64Required
public readonly enableDns64: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

enableResourceNameDnsAaaaRecordOnLaunchRequired
public readonly enableResourceNameDnsAaaaRecordOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

enableResourceNameDnsARecordOnLaunchRequired
public readonly enableResourceNameDnsARecordOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

idRequired
public readonly id: string;
  • Type: string

ipv6CidrBlockRequired
public readonly ipv6CidrBlock: string;
  • Type: string

ipv6NativeRequired
public readonly ipv6Native: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

mapCustomerOwnedIpOnLaunchRequired
public readonly mapCustomerOwnedIpOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

mapPublicIpOnLaunchRequired
public readonly mapPublicIpOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

outpostArnRequired
public readonly outpostArn: string;
  • Type: string

privateDnsHostnameTypeOnLaunchRequired
public readonly privateDnsHostnameTypeOnLaunch: string;
  • Type: string

tagsRequired
public readonly tags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

tagsAllRequired
public readonly tagsAll: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

vpcIdRequired
public readonly vpcId: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

SubnetConfig

Initializer

import { subnet } from '@cdktf/aws-cdk'

const subnetConfig: subnet.SubnetConfig = { ... }

Properties

Name Type Description
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn cdktf.ITerraformDependable[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
vpcId string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#vpc_id Subnet#vpc_id}.
assignIpv6AddressOnCreation boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#assign_ipv6_address_on_creation Subnet#assign_ipv6_address_on_creation}.
availabilityZone string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#availability_zone Subnet#availability_zone}.
availabilityZoneId string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#availability_zone_id Subnet#availability_zone_id}.
cidrBlock string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#cidr_block Subnet#cidr_block}.
customerOwnedIpv4Pool string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#customer_owned_ipv4_pool Subnet#customer_owned_ipv4_pool}.
enableDns64 boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#enable_dns64 Subnet#enable_dns64}.
enableResourceNameDnsAaaaRecordOnLaunch boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#enable_resource_name_dns_aaaa_record_on_launch Subnet#enable_resource_name_dns_aaaa_record_on_launch}.
enableResourceNameDnsARecordOnLaunch boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#enable_resource_name_dns_a_record_on_launch Subnet#enable_resource_name_dns_a_record_on_launch}.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#id Subnet#id}.
ipv6CidrBlock string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#ipv6_cidr_block Subnet#ipv6_cidr_block}.
ipv6Native boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#ipv6_native Subnet#ipv6_native}.
mapCustomerOwnedIpOnLaunch boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#map_customer_owned_ip_on_launch Subnet#map_customer_owned_ip_on_launch}.
mapPublicIpOnLaunch boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#map_public_ip_on_launch Subnet#map_public_ip_on_launch}.
outpostArn string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#outpost_arn Subnet#outpost_arn}.
privateDnsHostnameTypeOnLaunch string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#private_dns_hostname_type_on_launch Subnet#private_dns_hostname_type_on_launch}.
tags {[ key: string ]: string} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#tags Subnet#tags}.
tagsAll {[ key: string ]: string} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#tags_all Subnet#tags_all}.
timeouts SubnetTimeouts timeouts block.

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: ITerraformDependable[];
  • Type: cdktf.ITerraformDependable[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

vpcIdRequired
public readonly vpcId: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#vpc_id Subnet#vpc_id}.


assignIpv6AddressOnCreationOptional
public readonly assignIpv6AddressOnCreation: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#assign_ipv6_address_on_creation Subnet#assign_ipv6_address_on_creation}.


availabilityZoneOptional
public readonly availabilityZone: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#availability_zone Subnet#availability_zone}.


availabilityZoneIdOptional
public readonly availabilityZoneId: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#availability_zone_id Subnet#availability_zone_id}.


cidrBlockOptional
public readonly cidrBlock: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#cidr_block Subnet#cidr_block}.


customerOwnedIpv4PoolOptional
public readonly customerOwnedIpv4Pool: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#customer_owned_ipv4_pool Subnet#customer_owned_ipv4_pool}.


enableDns64Optional
public readonly enableDns64: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#enable_dns64 Subnet#enable_dns64}.


enableResourceNameDnsAaaaRecordOnLaunchOptional
public readonly enableResourceNameDnsAaaaRecordOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#enable_resource_name_dns_aaaa_record_on_launch Subnet#enable_resource_name_dns_aaaa_record_on_launch}.


enableResourceNameDnsARecordOnLaunchOptional
public readonly enableResourceNameDnsARecordOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#enable_resource_name_dns_a_record_on_launch Subnet#enable_resource_name_dns_a_record_on_launch}.


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#id Subnet#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.


ipv6CidrBlockOptional
public readonly ipv6CidrBlock: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#ipv6_cidr_block Subnet#ipv6_cidr_block}.


ipv6NativeOptional
public readonly ipv6Native: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#ipv6_native Subnet#ipv6_native}.


mapCustomerOwnedIpOnLaunchOptional
public readonly mapCustomerOwnedIpOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#map_customer_owned_ip_on_launch Subnet#map_customer_owned_ip_on_launch}.


mapPublicIpOnLaunchOptional
public readonly mapPublicIpOnLaunch: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#map_public_ip_on_launch Subnet#map_public_ip_on_launch}.


outpostArnOptional
public readonly outpostArn: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#outpost_arn Subnet#outpost_arn}.


privateDnsHostnameTypeOnLaunchOptional
public readonly privateDnsHostnameTypeOnLaunch: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#private_dns_hostname_type_on_launch Subnet#private_dns_hostname_type_on_launch}.


tagsOptional
public readonly tags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#tags Subnet#tags}.


tagsAllOptional
public readonly tagsAll: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#tags_all Subnet#tags_all}.


timeoutsOptional
public readonly timeouts: SubnetTimeouts;

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#timeouts Subnet#timeouts}


SubnetTimeouts

Initializer

import { subnet } from '@cdktf/aws-cdk'

const subnetTimeouts: subnet.SubnetTimeouts = { ... }

Properties

Name Type Description
create string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#create Subnet#create}.
delete string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#delete Subnet#delete}.

createOptional
public readonly create: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#create Subnet#create}.


deleteOptional
public readonly delete: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/subnet#delete Subnet#delete}.


Classes

SubnetTimeoutsOutputReference

Initializers

import { subnet } from '@cdktf/aws-cdk'

new subnet.SubnetTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetCreate No description.
resetDelete No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetCreate
public resetCreate(): void
resetDelete
public resetDelete(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
createInput string No description.
deleteInput string No description.
create string No description.
delete string No description.
internalValue cdktf.IResolvable | SubnetTimeouts No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

createInputOptional
public readonly createInput: string;
  • Type: string

deleteInputOptional
public readonly deleteInput: string;
  • Type: string

createRequired
public readonly create: string;
  • Type: string

deleteRequired
public readonly delete: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | SubnetTimeouts;