Skip to content

Latest commit

 

History

History
3261 lines (2032 loc) · 159 KB

googleComputeSubnetwork.typescript.md

File metadata and controls

3261 lines (2032 loc) · 159 KB

googleComputeSubnetwork Submodule

Constructs

GoogleComputeSubnetwork

Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork google_compute_subnetwork}.

Initializers

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

new googleComputeSubnetwork.GoogleComputeSubnetwork(scope: Construct, id: string, config: GoogleComputeSubnetworkConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config GoogleComputeSubnetworkConfig 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.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
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.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
putLogConfig No description.
putSecondaryIpRange No description.
putTimeouts No description.
resetAllowSubnetCidrRoutesOverlap No description.
resetDescription No description.
resetExternalIpv6Prefix No description.
resetId No description.
resetIpCidrRange No description.
resetIpv6AccessType No description.
resetLogConfig No description.
resetPrivateIpGoogleAccess No description.
resetPrivateIpv6GoogleAccess No description.
resetProject No description.
resetPurpose No description.
resetRegion No description.
resetReservedInternalRange No description.
resetRole No description.
resetSecondaryIpRange No description.
resetSendSecondaryIpRangeIfEmpty No description.
resetStackType 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.

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

Adds this resource to the terraform JSON output.

addMoveTarget
public addMoveTarget(moveTarget: string): void

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


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

hasResourceMove
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
importFrom
public importFrom(id: string, provider?: TerraformProvider): void
idRequired
  • Type: string

providerOptional
  • Type: cdktf.TerraformProvider

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

moveFromId
public moveFromId(id: string): void

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public moveTo(moveTarget: string, index?: string | number): void

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: string | number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public moveToId(id: string): void

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


putLogConfig
public putLogConfig(value: GoogleComputeSubnetworkLogConfig): void
valueRequired

putSecondaryIpRange
public putSecondaryIpRange(value: IResolvable | GoogleComputeSubnetworkSecondaryIpRange[]): void
valueRequired

putTimeouts
public putTimeouts(value: GoogleComputeSubnetworkTimeouts): void
valueRequired

resetAllowSubnetCidrRoutesOverlap
public resetAllowSubnetCidrRoutesOverlap(): void
resetDescription
public resetDescription(): void
resetExternalIpv6Prefix
public resetExternalIpv6Prefix(): void
resetId
public resetId(): void
resetIpCidrRange
public resetIpCidrRange(): void
resetIpv6AccessType
public resetIpv6AccessType(): void
resetLogConfig
public resetLogConfig(): void
resetPrivateIpGoogleAccess
public resetPrivateIpGoogleAccess(): void
resetPrivateIpv6GoogleAccess
public resetPrivateIpv6GoogleAccess(): void
resetProject
public resetProject(): void
resetPurpose
public resetPurpose(): void
resetRegion
public resetRegion(): void
resetReservedInternalRange
public resetReservedInternalRange(): void
resetRole
public resetRole(): void
resetSecondaryIpRange
public resetSecondaryIpRange(): void
resetSendSecondaryIpRangeIfEmpty
public resetSendSecondaryIpRangeIfEmpty(): void
resetStackType
public resetStackType(): void
resetTimeouts
public resetTimeouts(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a GoogleComputeSubnetwork resource upon running "cdktf plan ".

isConstruct
import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

googleComputeSubnetwork.GoogleComputeSubnetwork.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 { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

googleComputeSubnetwork.GoogleComputeSubnetwork.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

googleComputeSubnetwork.GoogleComputeSubnetwork.isTerraformResource(x: any)
xRequired
  • Type: any

generateConfigForImport
import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

googleComputeSubnetwork.GoogleComputeSubnetwork.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a GoogleComputeSubnetwork resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: string

The construct id used in the generated config for the GoogleComputeSubnetwork to import.


importFromIdRequired
  • Type: string

The id of the existing GoogleComputeSubnetwork that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the GoogleComputeSubnetwork to import is found.


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.
creationTimestamp string No description.
fingerprint string No description.
gatewayAddress string No description.
internalIpv6Prefix string No description.
ipv6CidrRange string No description.
logConfig GoogleComputeSubnetworkLogConfigOutputReference No description.
secondaryIpRange GoogleComputeSubnetworkSecondaryIpRangeList No description.
selfLink string No description.
subnetworkId number No description.
timeouts GoogleComputeSubnetworkTimeoutsOutputReference No description.
allowSubnetCidrRoutesOverlapInput boolean | cdktf.IResolvable No description.
descriptionInput string No description.
externalIpv6PrefixInput string No description.
idInput string No description.
ipCidrRangeInput string No description.
ipv6AccessTypeInput string No description.
logConfigInput GoogleComputeSubnetworkLogConfig No description.
nameInput string No description.
networkInput string No description.
privateIpGoogleAccessInput boolean | cdktf.IResolvable No description.
privateIpv6GoogleAccessInput string No description.
projectInput string No description.
purposeInput string No description.
regionInput string No description.
reservedInternalRangeInput string No description.
roleInput string No description.
secondaryIpRangeInput cdktf.IResolvable | GoogleComputeSubnetworkSecondaryIpRange[] No description.
sendSecondaryIpRangeIfEmptyInput boolean | cdktf.IResolvable No description.
stackTypeInput string No description.
timeoutsInput cdktf.IResolvable | GoogleComputeSubnetworkTimeouts No description.
allowSubnetCidrRoutesOverlap boolean | cdktf.IResolvable No description.
description string No description.
externalIpv6Prefix string No description.
id string No description.
ipCidrRange string No description.
ipv6AccessType string No description.
name string No description.
network string No description.
privateIpGoogleAccess boolean | cdktf.IResolvable No description.
privateIpv6GoogleAccess string No description.
project string No description.
purpose string No description.
region string No description.
reservedInternalRange string No description.
role string No description.
sendSecondaryIpRangeIfEmpty boolean | cdktf.IResolvable No description.
stackType 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[]

creationTimestampRequired
public readonly creationTimestamp: string;
  • Type: string

fingerprintRequired
public readonly fingerprint: string;
  • Type: string

gatewayAddressRequired
public readonly gatewayAddress: string;
  • Type: string

internalIpv6PrefixRequired
public readonly internalIpv6Prefix: string;
  • Type: string

ipv6CidrRangeRequired
public readonly ipv6CidrRange: string;
  • Type: string

logConfigRequired
public readonly logConfig: GoogleComputeSubnetworkLogConfigOutputReference;

secondaryIpRangeRequired
public readonly secondaryIpRange: GoogleComputeSubnetworkSecondaryIpRangeList;

selfLinkRequired
public readonly selfLink: string;
  • Type: string

subnetworkIdRequired
public readonly subnetworkId: number;
  • Type: number

timeoutsRequired
public readonly timeouts: GoogleComputeSubnetworkTimeoutsOutputReference;

allowSubnetCidrRoutesOverlapInputOptional
public readonly allowSubnetCidrRoutesOverlapInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

descriptionInputOptional
public readonly descriptionInput: string;
  • Type: string

externalIpv6PrefixInputOptional
public readonly externalIpv6PrefixInput: string;
  • Type: string

idInputOptional
public readonly idInput: string;
  • Type: string

ipCidrRangeInputOptional
public readonly ipCidrRangeInput: string;
  • Type: string

ipv6AccessTypeInputOptional
public readonly ipv6AccessTypeInput: string;
  • Type: string

logConfigInputOptional
public readonly logConfigInput: GoogleComputeSubnetworkLogConfig;

nameInputOptional
public readonly nameInput: string;
  • Type: string

networkInputOptional
public readonly networkInput: string;
  • Type: string

privateIpGoogleAccessInputOptional
public readonly privateIpGoogleAccessInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

privateIpv6GoogleAccessInputOptional
public readonly privateIpv6GoogleAccessInput: string;
  • Type: string

projectInputOptional
public readonly projectInput: string;
  • Type: string

purposeInputOptional
public readonly purposeInput: string;
  • Type: string

regionInputOptional
public readonly regionInput: string;
  • Type: string

reservedInternalRangeInputOptional
public readonly reservedInternalRangeInput: string;
  • Type: string

roleInputOptional
public readonly roleInput: string;
  • Type: string

secondaryIpRangeInputOptional
public readonly secondaryIpRangeInput: IResolvable | GoogleComputeSubnetworkSecondaryIpRange[];

sendSecondaryIpRangeIfEmptyInputOptional
public readonly sendSecondaryIpRangeIfEmptyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

stackTypeInputOptional
public readonly stackTypeInput: string;
  • Type: string

timeoutsInputOptional
public readonly timeoutsInput: IResolvable | GoogleComputeSubnetworkTimeouts;

allowSubnetCidrRoutesOverlapRequired
public readonly allowSubnetCidrRoutesOverlap: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

descriptionRequired
public readonly description: string;
  • Type: string

externalIpv6PrefixRequired
public readonly externalIpv6Prefix: string;
  • Type: string

idRequired
public readonly id: string;
  • Type: string

ipCidrRangeRequired
public readonly ipCidrRange: string;
  • Type: string

ipv6AccessTypeRequired
public readonly ipv6AccessType: string;
  • Type: string

nameRequired
public readonly name: string;
  • Type: string

networkRequired
public readonly network: string;
  • Type: string

privateIpGoogleAccessRequired
public readonly privateIpGoogleAccess: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

privateIpv6GoogleAccessRequired
public readonly privateIpv6GoogleAccess: string;
  • Type: string

projectRequired
public readonly project: string;
  • Type: string

purposeRequired
public readonly purpose: string;
  • Type: string

regionRequired
public readonly region: string;
  • Type: string

reservedInternalRangeRequired
public readonly reservedInternalRange: string;
  • Type: string

roleRequired
public readonly role: string;
  • Type: string

sendSecondaryIpRangeIfEmptyRequired
public readonly sendSecondaryIpRangeIfEmpty: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

stackTypeRequired
public readonly stackType: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

GoogleComputeSubnetworkConfig

Initializer

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

const googleComputeSubnetworkConfig: googleComputeSubnetwork.GoogleComputeSubnetworkConfig = { ... }

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.
name string The name of the resource, provided by the client when initially creating the resource.
network string The network this subnet belongs to. Only networks that are in the distributed mode can have subnetworks.
allowSubnetCidrRoutesOverlap boolean | cdktf.IResolvable Typically packets destined to IPs within the subnetwork range that do not match existing resources are dropped and prevented from leaving the VPC.
description string An optional description of this resource.
externalIpv6Prefix string The range of external IPv6 addresses that are owned by this subnetwork.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#id GoogleComputeSubnetwork#id}.
ipCidrRange string The range of internal addresses that are owned by this subnetwork.
ipv6AccessType string The access type of IPv6 address this subnet holds.
logConfig GoogleComputeSubnetworkLogConfig log_config block.
privateIpGoogleAccess boolean | cdktf.IResolvable When enabled, VMs in this subnetwork without external IP addresses can access Google APIs and services by using Private Google Access.
privateIpv6GoogleAccess string The private IPv6 google access type for the VMs in this subnet.
project string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#project GoogleComputeSubnetwork#project}.
purpose string The purpose of the resource.
region string The GCP region for this subnetwork.
reservedInternalRange string The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com' E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'.
role string The role of subnetwork.
secondaryIpRange cdktf.IResolvable | GoogleComputeSubnetworkSecondaryIpRange[] secondary_ip_range block.
sendSecondaryIpRangeIfEmpty boolean | cdktf.IResolvable Controls the removal behavior of secondary_ip_range.
stackType string The stack type for this subnet to identify whether the IPv6 feature is enabled or not.
timeouts GoogleComputeSubnetworkTimeouts 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[]

nameRequired
public readonly name: string;
  • Type: string

The name of the resource, provided by the client when initially creating the resource.

The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression 'a-z?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#name GoogleComputeSubnetwork#name}


networkRequired
public readonly network: string;
  • Type: string

The network this subnet belongs to. Only networks that are in the distributed mode can have subnetworks.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#network GoogleComputeSubnetwork#network}


allowSubnetCidrRoutesOverlapOptional
public readonly allowSubnetCidrRoutesOverlap: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Typically packets destined to IPs within the subnetwork range that do not match existing resources are dropped and prevented from leaving the VPC.

Setting this field to true will allow these packets to match dynamic routes injected via BGP even if their destinations match existing subnet ranges.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#allow_subnet_cidr_routes_overlap GoogleComputeSubnetwork#allow_subnet_cidr_routes_overlap}


descriptionOptional
public readonly description: string;
  • Type: string

An optional description of this resource.

Provide this property when you create the resource. This field can be set only at resource creation time.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#description GoogleComputeSubnetwork#description}


externalIpv6PrefixOptional
public readonly externalIpv6Prefix: string;
  • Type: string

The range of external IPv6 addresses that are owned by this subnetwork.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#external_ipv6_prefix GoogleComputeSubnetwork#external_ipv6_prefix}


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#id GoogleComputeSubnetwork#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.


ipCidrRangeOptional
public readonly ipCidrRange: string;
  • Type: string

The range of internal addresses that are owned by this subnetwork.

Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. Field is optional when 'reserved_internal_range' is defined, otherwise required.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#ip_cidr_range GoogleComputeSubnetwork#ip_cidr_range}


ipv6AccessTypeOptional
public readonly ipv6AccessType: string;
  • Type: string

The access type of IPv6 address this subnet holds.

It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path. Possible values: ["EXTERNAL", "INTERNAL"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#ipv6_access_type GoogleComputeSubnetwork#ipv6_access_type}


logConfigOptional
public readonly logConfig: GoogleComputeSubnetworkLogConfig;

log_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#log_config GoogleComputeSubnetwork#log_config}


privateIpGoogleAccessOptional
public readonly privateIpGoogleAccess: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

When enabled, VMs in this subnetwork without external IP addresses can access Google APIs and services by using Private Google Access.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#private_ip_google_access GoogleComputeSubnetwork#private_ip_google_access}


privateIpv6GoogleAccessOptional
public readonly privateIpv6GoogleAccess: string;
  • Type: string

The private IPv6 google access type for the VMs in this subnet.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#private_ipv6_google_access GoogleComputeSubnetwork#private_ipv6_google_access}


projectOptional
public readonly project: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#project GoogleComputeSubnetwork#project}.


purposeOptional
public readonly purpose: string;
  • Type: string

The purpose of the resource.

This field can be either 'PRIVATE', 'REGIONAL_MANAGED_PROXY', 'GLOBAL_MANAGED_PROXY', 'PRIVATE_SERVICE_CONNECT', 'PEER_MIGRATION' or 'PRIVATE_NAT'(Beta). A subnet with purpose set to 'REGIONAL_MANAGED_PROXY' is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnetwork in a given region with purpose set to 'GLOBAL_MANAGED_PROXY' is a proxy-only subnet and is shared between all the cross-regional Envoy-based load balancers. A subnetwork with purpose set to 'PRIVATE_SERVICE_CONNECT' reserves the subnet for hosting a Private Service Connect published service. A subnetwork with purpose set to 'PEER_MIGRATION' is a user created subnetwork that is reserved for migrating resources from one peered network to another. A subnetwork with purpose set to 'PRIVATE_NAT' is used as source range for Private NAT gateways. Note that 'REGIONAL_MANAGED_PROXY' is the preferred setting for all regional Envoy load balancers. If unspecified, the purpose defaults to 'PRIVATE'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#purpose GoogleComputeSubnetwork#purpose}


regionOptional
public readonly region: string;
  • Type: string

The GCP region for this subnetwork.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#region GoogleComputeSubnetwork#region}


reservedInternalRangeOptional
public readonly reservedInternalRange: string;
  • Type: string

The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com' E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#reserved_internal_range GoogleComputeSubnetwork#reserved_internal_range}


roleOptional
public readonly role: string;
  • Type: string

The role of subnetwork.

Currently, this field is only used when 'purpose' is 'REGIONAL_MANAGED_PROXY'. The value can be set to 'ACTIVE' or 'BACKUP'. An 'ACTIVE' subnetwork is one that is currently being used for Envoy-based load balancers in a region. A 'BACKUP' subnetwork is one that is ready to be promoted to 'ACTIVE' or is currently draining. Possible values: ["ACTIVE", "BACKUP"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#role GoogleComputeSubnetwork#role}


secondaryIpRangeOptional
public readonly secondaryIpRange: IResolvable | GoogleComputeSubnetworkSecondaryIpRange[];

secondary_ip_range block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#secondary_ip_range GoogleComputeSubnetwork#secondary_ip_range}


sendSecondaryIpRangeIfEmptyOptional
public readonly sendSecondaryIpRangeIfEmpty: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Controls the removal behavior of secondary_ip_range.

When false, removing secondary_ip_range from config will not produce a diff as the provider will default to the API's value. When true, the provider will treat removing secondary_ip_range as sending an empty list of secondary IP ranges to the API. Defaults to false.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#send_secondary_ip_range_if_empty GoogleComputeSubnetwork#send_secondary_ip_range_if_empty}


stackTypeOptional
public readonly stackType: string;
  • Type: string

The stack type for this subnet to identify whether the IPv6 feature is enabled or not.

If not specified IPV4_ONLY will be used. Possible values: ["IPV4_ONLY", "IPV4_IPV6", "IPV6_ONLY"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#stack_type GoogleComputeSubnetwork#stack_type}


timeoutsOptional
public readonly timeouts: GoogleComputeSubnetworkTimeouts;

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#timeouts GoogleComputeSubnetwork#timeouts}


GoogleComputeSubnetworkLogConfig

Initializer

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

const googleComputeSubnetworkLogConfig: googleComputeSubnetwork.GoogleComputeSubnetworkLogConfig = { ... }

Properties

Name Type Description
aggregationInterval string Can only be specified if VPC flow logging for this subnetwork is enabled.
filterExpr string Export filter used to define which VPC flow logs should be logged, as as CEL expression.
flowSampling number Can only be specified if VPC flow logging for this subnetwork is enabled.
metadata string Can only be specified if VPC flow logging for this subnetwork is enabled.
metadataFields string[] List of metadata fields that should be added to reported logs.

aggregationIntervalOptional
public readonly aggregationInterval: string;
  • Type: string

Can only be specified if VPC flow logging for this subnetwork is enabled.

Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. Default value: "INTERVAL_5_SEC" Possible values: ["INTERVAL_5_SEC", "INTERVAL_30_SEC", "INTERVAL_1_MIN", "INTERVAL_5_MIN", "INTERVAL_10_MIN", "INTERVAL_15_MIN"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#aggregation_interval GoogleComputeSubnetwork#aggregation_interval}


filterExprOptional
public readonly filterExpr: string;
  • Type: string

Export filter used to define which VPC flow logs should be logged, as as CEL expression.

See https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field. The default value is 'true', which evaluates to include everything.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#filter_expr GoogleComputeSubnetwork#filter_expr}


flowSamplingOptional
public readonly flowSampling: number;
  • Type: number

Can only be specified if VPC flow logging for this subnetwork is enabled.

The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 which means half of all collected logs are reported.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#flow_sampling GoogleComputeSubnetwork#flow_sampling}


metadataOptional
public readonly metadata: string;
  • Type: string

Can only be specified if VPC flow logging for this subnetwork is enabled.

Configures whether metadata fields should be added to the reported VPC flow logs. Default value: "INCLUDE_ALL_METADATA" Possible values: ["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA", "CUSTOM_METADATA"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#metadata GoogleComputeSubnetwork#metadata}


metadataFieldsOptional
public readonly metadataFields: string[];
  • Type: string[]

List of metadata fields that should be added to reported logs.

Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#metadata_fields GoogleComputeSubnetwork#metadata_fields}


GoogleComputeSubnetworkSecondaryIpRange

Initializer

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

const googleComputeSubnetworkSecondaryIpRange: googleComputeSubnetwork.GoogleComputeSubnetworkSecondaryIpRange = { ... }

Properties

Name Type Description
rangeName string The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.
ipCidrRange string The range of IP addresses belonging to this subnetwork secondary range.
reservedInternalRange string The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com' E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'.

rangeNameRequired
public readonly rangeName: string;
  • Type: string

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#range_name GoogleComputeSubnetwork#range_name}


ipCidrRangeOptional
public readonly ipCidrRange: string;
  • Type: string

The range of IP addresses belonging to this subnetwork secondary range.

Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. Field is optional when 'reserved_internal_range' is defined, otherwise required.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#ip_cidr_range GoogleComputeSubnetwork#ip_cidr_range}


reservedInternalRangeOptional
public readonly reservedInternalRange: string;
  • Type: string

The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com' E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#reserved_internal_range GoogleComputeSubnetwork#reserved_internal_range}


GoogleComputeSubnetworkTimeouts

Initializer

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

const googleComputeSubnetworkTimeouts: googleComputeSubnetwork.GoogleComputeSubnetworkTimeouts = { ... }

Properties

Name Type Description
create string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#create GoogleComputeSubnetwork#create}.
delete string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#delete GoogleComputeSubnetwork#delete}.
update string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#update GoogleComputeSubnetwork#update}.

createOptional
public readonly create: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#create GoogleComputeSubnetwork#create}.


deleteOptional
public readonly delete: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#delete GoogleComputeSubnetwork#delete}.


updateOptional
public readonly update: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/6.24.0/docs/resources/google_compute_subnetwork#update GoogleComputeSubnetwork#update}.


Classes

GoogleComputeSubnetworkLogConfigOutputReference

Initializers

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

new googleComputeSubnetwork.GoogleComputeSubnetworkLogConfigOutputReference(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.
resetAggregationInterval No description.
resetFilterExpr No description.
resetFlowSampling No description.
resetMetadata No description.
resetMetadataFields 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.

resetAggregationInterval
public resetAggregationInterval(): void
resetFilterExpr
public resetFilterExpr(): void
resetFlowSampling
public resetFlowSampling(): void
resetMetadata
public resetMetadata(): void
resetMetadataFields
public resetMetadataFields(): 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.
aggregationIntervalInput string No description.
filterExprInput string No description.
flowSamplingInput number No description.
metadataFieldsInput string[] No description.
metadataInput string No description.
aggregationInterval string No description.
filterExpr string No description.
flowSampling number No description.
metadata string No description.
metadataFields string[] No description.
internalValue GoogleComputeSubnetworkLogConfig 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

aggregationIntervalInputOptional
public readonly aggregationIntervalInput: string;
  • Type: string

filterExprInputOptional
public readonly filterExprInput: string;
  • Type: string

flowSamplingInputOptional
public readonly flowSamplingInput: number;
  • Type: number

metadataFieldsInputOptional
public readonly metadataFieldsInput: string[];
  • Type: string[]

metadataInputOptional
public readonly metadataInput: string;
  • Type: string

aggregationIntervalRequired
public readonly aggregationInterval: string;
  • Type: string

filterExprRequired
public readonly filterExpr: string;
  • Type: string

flowSamplingRequired
public readonly flowSampling: number;
  • Type: number

metadataRequired
public readonly metadata: string;
  • Type: string

metadataFieldsRequired
public readonly metadataFields: string[];
  • Type: string[]

internalValueOptional
public readonly internalValue: GoogleComputeSubnetworkLogConfig;

GoogleComputeSubnetworkSecondaryIpRangeList

Initializers

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

new googleComputeSubnetwork.GoogleComputeSubnetworkSecondaryIpRangeList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): 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.

get
public get(index: number): GoogleComputeSubnetworkSecondaryIpRangeOutputReference
indexRequired
  • Type: number

the index of the item to return.


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.
internalValue cdktf.IResolvable | GoogleComputeSubnetworkSecondaryIpRange[] 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

internalValueOptional
public readonly internalValue: IResolvable | GoogleComputeSubnetworkSecondaryIpRange[];

GoogleComputeSubnetworkSecondaryIpRangeOutputReference

Initializers

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

new googleComputeSubnetwork.GoogleComputeSubnetworkSecondaryIpRangeOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


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.
resetIpCidrRange No description.
resetReservedInternalRange 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.

resetIpCidrRange
public resetIpCidrRange(): void
resetReservedInternalRange
public resetReservedInternalRange(): 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.
ipCidrRangeInput string No description.
rangeNameInput string No description.
reservedInternalRangeInput string No description.
ipCidrRange string No description.
rangeName string No description.
reservedInternalRange string No description.
internalValue cdktf.IResolvable | GoogleComputeSubnetworkSecondaryIpRange 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

ipCidrRangeInputOptional
public readonly ipCidrRangeInput: string;
  • Type: string

rangeNameInputOptional
public readonly rangeNameInput: string;
  • Type: string

reservedInternalRangeInputOptional
public readonly reservedInternalRangeInput: string;
  • Type: string

ipCidrRangeRequired
public readonly ipCidrRange: string;
  • Type: string

rangeNameRequired
public readonly rangeName: string;
  • Type: string

reservedInternalRangeRequired
public readonly reservedInternalRange: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | GoogleComputeSubnetworkSecondaryIpRange;

GoogleComputeSubnetworkTimeoutsOutputReference

Initializers

import { googleComputeSubnetwork } from '@cdktf/provider-google-beta'

new googleComputeSubnetwork.GoogleComputeSubnetworkTimeoutsOutputReference(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.
resetUpdate 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
resetUpdate
public resetUpdate(): 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.
updateInput string No description.
create string No description.
delete string No description.
update string No description.
internalValue cdktf.IResolvable | GoogleComputeSubnetworkTimeouts 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

updateInputOptional
public readonly updateInput: string;
  • Type: string

createRequired
public readonly create: string;
  • Type: string

deleteRequired
public readonly delete: string;
  • Type: string

updateRequired
public readonly update: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | GoogleComputeSubnetworkTimeouts;