Skip to content

Latest commit

 

History

History
2837 lines (1761 loc) · 131 KB

cloudbuildWorkerPool.go.md

File metadata and controls

2837 lines (1761 loc) · 131 KB

cloudbuildWorkerPool Submodule

Constructs

CloudbuildWorkerPool

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool google_cloudbuild_worker_pool}.

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.NewCloudbuildWorkerPool(scope Construct, id *string, config CloudbuildWorkerPoolConfig) CloudbuildWorkerPool
Name Type Description
scope github.com/aws/constructs-go/constructs/v10.Construct The scope in which to define this construct.
id *string The scoped construct ID.
config CloudbuildWorkerPoolConfig No description.

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.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".
PutNetworkConfig No description.
PutPrivateServiceConnect No description.
PutTimeouts No description.
PutWorkerConfig No description.
ResetAnnotations No description.
ResetDisplayName No description.
ResetId No description.
ResetNetworkConfig No description.
ResetPrivateServiceConnect No description.
ResetProject No description.
ResetTimeouts No description.
ResetWorkerConfig No description.

ToString
func ToString() *string

Returns a string representation of this construct.

AddOverride
func AddOverride(path *string, value interface{})
pathRequired
  • Type: *string

valueRequired
  • Type: interface{}

OverrideLogicalId
func OverrideLogicalId(newLogicalId *string)

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

newLogicalIdRequired
  • Type: *string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
func ResetOverrideLogicalId()

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

ToHclTerraform
func ToHclTerraform() interface{}
ToMetadata
func ToMetadata() interface{}
ToTerraform
func ToTerraform() interface{}

Adds this resource to the terraform JSON output.

AddMoveTarget
func AddMoveTarget(moveTarget *string)

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
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

HasResourceMove
func HasResourceMove() interface{}
ImportFrom
func ImportFrom(id *string, provider TerraformProvider)
idRequired
  • Type: *string

providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

InterpolationForAttribute
func InterpolationForAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

MoveFromId
func MoveFromId(id *string)

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
func MoveTo(moveTarget *string, index interface{})

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: interface{}

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


MoveToId
func MoveToId(id *string)

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".


PutNetworkConfig
func PutNetworkConfig(value CloudbuildWorkerPoolNetworkConfig)
valueRequired

PutPrivateServiceConnect
func PutPrivateServiceConnect(value CloudbuildWorkerPoolPrivateServiceConnect)
valueRequired

PutTimeouts
func PutTimeouts(value CloudbuildWorkerPoolTimeouts)
valueRequired

PutWorkerConfig
func PutWorkerConfig(value CloudbuildWorkerPoolWorkerConfig)
valueRequired

ResetAnnotations
func ResetAnnotations()
ResetDisplayName
func ResetDisplayName()
ResetId
func ResetId()
ResetNetworkConfig
func ResetNetworkConfig()
ResetPrivateServiceConnect
func ResetPrivateServiceConnect()
ResetProject
func ResetProject()
ResetTimeouts
func ResetTimeouts()
ResetWorkerConfig
func ResetWorkerConfig()

Static Functions

Name Description
IsConstruct Checks if x is a construct.
IsTerraformElement No description.
IsTerraformResource No description.
GenerateConfigForImport Generates CDKTF code for importing a CloudbuildWorkerPool resource upon running "cdktf plan ".

IsConstruct
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.CloudbuildWorkerPool_IsConstruct(x interface{}) *bool

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: interface{}

Any object.


IsTerraformElement
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.CloudbuildWorkerPool_IsTerraformElement(x interface{}) *bool
xRequired
  • Type: interface{}

IsTerraformResource
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.CloudbuildWorkerPool_IsTerraformResource(x interface{}) *bool
xRequired
  • Type: interface{}

GenerateConfigForImport
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.CloudbuildWorkerPool_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource

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

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: *string

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


importFromIdRequired
  • Type: *string

The id of the existing CloudbuildWorkerPool that should be imported.

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


providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

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


Properties

Name Type Description
Node github.com/aws/constructs-go/constructs/v10.Node The tree node.
CdktfStack github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack No description.
Fqn *string No description.
FriendlyUniqueId *string No description.
TerraformMetaArguments *map[string]interface{} No description.
TerraformResourceType *string No description.
TerraformGeneratorMetadata github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata No description.
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]*string No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
CreateTime *string No description.
DeleteTime *string No description.
EffectiveAnnotations github.com/hashicorp/terraform-cdk-go/cdktf.StringMap No description.
NetworkConfig CloudbuildWorkerPoolNetworkConfigOutputReference No description.
PrivateServiceConnect CloudbuildWorkerPoolPrivateServiceConnectOutputReference No description.
State *string No description.
Timeouts CloudbuildWorkerPoolTimeoutsOutputReference No description.
Uid *string No description.
UpdateTime *string No description.
WorkerConfig CloudbuildWorkerPoolWorkerConfigOutputReference No description.
AnnotationsInput *map[string]*string No description.
DisplayNameInput *string No description.
IdInput *string No description.
LocationInput *string No description.
NameInput *string No description.
NetworkConfigInput CloudbuildWorkerPoolNetworkConfig No description.
PrivateServiceConnectInput CloudbuildWorkerPoolPrivateServiceConnect No description.
ProjectInput *string No description.
TimeoutsInput interface{} No description.
WorkerConfigInput CloudbuildWorkerPoolWorkerConfig No description.
Annotations *map[string]*string No description.
DisplayName *string No description.
Id *string No description.
Location *string No description.
Name *string No description.
Project *string No description.

NodeRequired
func Node() Node
  • Type: github.com/aws/constructs-go/constructs/v10.Node

The tree node.


CdktfStackRequired
func CdktfStack() TerraformStack
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack

FqnRequired
func Fqn() *string
  • Type: *string

FriendlyUniqueIdRequired
func FriendlyUniqueId() *string
  • Type: *string

TerraformMetaArgumentsRequired
func TerraformMetaArguments() *map[string]interface{}
  • Type: *map[string]interface{}

TerraformResourceTypeRequired
func TerraformResourceType() *string
  • Type: *string

TerraformGeneratorMetadataOptional
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
func Connection() interface{}
  • Type: interface{}

CountOptional
func Count() interface{}
  • Type: interface{}

DependsOnOptional
func DependsOn() *[]*string
  • Type: *[]*string

ForEachOptional
func ForEach() ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
func Lifecycle() TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
func Provider() TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
func Provisioners() *[]interface{}
  • Type: *[]interface{}

CreateTimeRequired
func CreateTime() *string
  • Type: *string

DeleteTimeRequired
func DeleteTime() *string
  • Type: *string

EffectiveAnnotationsRequired
func EffectiveAnnotations() StringMap
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.StringMap

NetworkConfigRequired
func NetworkConfig() CloudbuildWorkerPoolNetworkConfigOutputReference

PrivateServiceConnectRequired
func PrivateServiceConnect() CloudbuildWorkerPoolPrivateServiceConnectOutputReference

StateRequired
func State() *string
  • Type: *string

TimeoutsRequired
func Timeouts() CloudbuildWorkerPoolTimeoutsOutputReference

UidRequired
func Uid() *string
  • Type: *string

UpdateTimeRequired
func UpdateTime() *string
  • Type: *string

WorkerConfigRequired
func WorkerConfig() CloudbuildWorkerPoolWorkerConfigOutputReference

AnnotationsInputOptional
func AnnotationsInput() *map[string]*string
  • Type: *map[string]*string

DisplayNameInputOptional
func DisplayNameInput() *string
  • Type: *string

IdInputOptional
func IdInput() *string
  • Type: *string

LocationInputOptional
func LocationInput() *string
  • Type: *string

NameInputOptional
func NameInput() *string
  • Type: *string

NetworkConfigInputOptional
func NetworkConfigInput() CloudbuildWorkerPoolNetworkConfig

PrivateServiceConnectInputOptional
func PrivateServiceConnectInput() CloudbuildWorkerPoolPrivateServiceConnect

ProjectInputOptional
func ProjectInput() *string
  • Type: *string

TimeoutsInputOptional
func TimeoutsInput() interface{}
  • Type: interface{}

WorkerConfigInputOptional
func WorkerConfigInput() CloudbuildWorkerPoolWorkerConfig

AnnotationsRequired
func Annotations() *map[string]*string
  • Type: *map[string]*string

DisplayNameRequired
func DisplayName() *string
  • Type: *string

IdRequired
func Id() *string
  • Type: *string

LocationRequired
func Location() *string
  • Type: *string

NameRequired
func Name() *string
  • Type: *string

ProjectRequired
func Project() *string
  • Type: *string

Constants

Name Type Description
TfResourceType *string No description.

TfResourceTypeRequired
func TfResourceType() *string
  • Type: *string

Structs

CloudbuildWorkerPoolConfig

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

&cloudbuildworkerpool.CloudbuildWorkerPoolConfig {
	Connection: interface{},
	Count: interface{},
	DependsOn: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable,
	ForEach: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator,
	Lifecycle: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle,
	Provider: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider,
	Provisioners: *[]interface{},
	Location: *string,
	Name: *string,
	Annotations: *map[string]*string,
	DisplayName: *string,
	Id: *string,
	NetworkConfig: github.com/cdktf/cdktf-provider-google-go/google/v14.cloudbuildWorkerPool.CloudbuildWorkerPoolNetworkConfig,
	PrivateServiceConnect: github.com/cdktf/cdktf-provider-google-go/google/v14.cloudbuildWorkerPool.CloudbuildWorkerPoolPrivateServiceConnect,
	Project: *string,
	Timeouts: github.com/cdktf/cdktf-provider-google-go/google/v14.cloudbuildWorkerPool.CloudbuildWorkerPoolTimeouts,
	WorkerConfig: github.com/cdktf/cdktf-provider-google-go/google/v14.cloudbuildWorkerPool.CloudbuildWorkerPoolWorkerConfig,
}

Properties

Name Type Description
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
Location *string The location for the resource.
Name *string User-defined name of the WorkerPool.
Annotations *map[string]*string User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
DisplayName *string A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.
Id *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#id CloudbuildWorkerPool#id}.
NetworkConfig CloudbuildWorkerPoolNetworkConfig network_config block.
PrivateServiceConnect CloudbuildWorkerPoolPrivateServiceConnect private_service_connect block.
Project *string The project for the resource.
Timeouts CloudbuildWorkerPoolTimeouts timeouts block.
WorkerConfig CloudbuildWorkerPoolWorkerConfig worker_config block.

ConnectionOptional
Connection interface{}
  • Type: interface{}

CountOptional
Count interface{}
  • Type: interface{}

DependsOnOptional
DependsOn *[]ITerraformDependable
  • Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable

ForEachOptional
ForEach ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
Lifecycle TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
Provider TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
Provisioners *[]interface{}
  • Type: *[]interface{}

LocationRequired
Location *string
  • Type: *string

The location for the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#location CloudbuildWorkerPool#location}


NameRequired
Name *string
  • Type: *string

User-defined name of the WorkerPool.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#name CloudbuildWorkerPool#name}


AnnotationsOptional
Annotations *map[string]*string
  • Type: *map[string]*string

User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#annotations CloudbuildWorkerPool#annotations}


DisplayNameOptional
DisplayName *string
  • Type: *string

A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#display_name CloudbuildWorkerPool#display_name}


IdOptional
Id *string
  • Type: *string

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


NetworkConfigOptional
NetworkConfig CloudbuildWorkerPoolNetworkConfig

network_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#network_config CloudbuildWorkerPool#network_config}


PrivateServiceConnectOptional
PrivateServiceConnect CloudbuildWorkerPoolPrivateServiceConnect

private_service_connect block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#private_service_connect CloudbuildWorkerPool#private_service_connect}


ProjectOptional
Project *string
  • Type: *string

The project for the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#project CloudbuildWorkerPool#project}


TimeoutsOptional
Timeouts CloudbuildWorkerPoolTimeouts

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#timeouts CloudbuildWorkerPool#timeouts}


WorkerConfigOptional
WorkerConfig CloudbuildWorkerPoolWorkerConfig

worker_config block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#worker_config CloudbuildWorkerPool#worker_config}


CloudbuildWorkerPoolNetworkConfig

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

&cloudbuildworkerpool.CloudbuildWorkerPoolNetworkConfig {
	PeeredNetwork: *string,
	PeeredNetworkIpRange: *string,
}

Properties

Name Type Description
PeeredNetwork *string Required.
PeeredNetworkIpRange *string Optional.

PeeredNetworkRequired
PeeredNetwork *string
  • Type: *string

Required.

Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#peered_network CloudbuildWorkerPool#peered_network}


PeeredNetworkIpRangeOptional
PeeredNetworkIpRange *string
  • Type: *string

Optional.

Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29 would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. /16 would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of /24 will be used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#peered_network_ip_range CloudbuildWorkerPool#peered_network_ip_range}


CloudbuildWorkerPoolPrivateServiceConnect

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

&cloudbuildworkerpool.CloudbuildWorkerPoolPrivateServiceConnect {
	NetworkAttachment: *string,
	RouteAllTraffic: interface{},
}

Properties

Name Type Description
NetworkAttachment *string Required.
RouteAllTraffic interface{} Immutable.

NetworkAttachmentRequired
NetworkAttachment *string
  • Type: *string

Required.

Immutable. The network attachment that the worker network interface is connected to. Must be in the format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. The region of network attachment must be the same as the worker pool. See Network Attachments

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#network_attachment CloudbuildWorkerPool#network_attachment}


RouteAllTrafficOptional
RouteAllTraffic interface{}
  • Type: interface{}

Immutable.

Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#route_all_traffic CloudbuildWorkerPool#route_all_traffic}


CloudbuildWorkerPoolTimeouts

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

&cloudbuildworkerpool.CloudbuildWorkerPoolTimeouts {
	Create: *string,
	Delete: *string,
	Update: *string,
}

Properties

Name Type Description
Create *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#create CloudbuildWorkerPool#create}.
Delete *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#delete CloudbuildWorkerPool#delete}.
Update *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#update CloudbuildWorkerPool#update}.

CreateOptional
Create *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#create CloudbuildWorkerPool#create}.


DeleteOptional
Delete *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#delete CloudbuildWorkerPool#delete}.


UpdateOptional
Update *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#update CloudbuildWorkerPool#update}.


CloudbuildWorkerPoolWorkerConfig

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

&cloudbuildworkerpool.CloudbuildWorkerPoolWorkerConfig {
	DiskSizeGb: *f64,
	MachineType: *string,
	NoExternalIp: interface{},
}

Properties

Name Type Description
DiskSizeGb *f64 Size of the disk attached to the worker, in GB.
MachineType *string Machine type of a worker, such as n1-standard-1.
NoExternalIp interface{} If true, workers are created without any public address, which prevents network egress to public IPs.

DiskSizeGbOptional
DiskSizeGb *f64
  • Type: *f64

Size of the disk attached to the worker, in GB.

See Worker pool config file. Specify a value of up to 1000. If 0 is specified, Cloud Build will use a standard disk size.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#disk_size_gb CloudbuildWorkerPool#disk_size_gb}


MachineTypeOptional
MachineType *string
  • Type: *string

Machine type of a worker, such as n1-standard-1.

See Worker pool config file. If left blank, Cloud Build will use n1-standard-1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#machine_type CloudbuildWorkerPool#machine_type}


NoExternalIpOptional
NoExternalIp interface{}
  • Type: interface{}

If true, workers are created without any public address, which prevents network egress to public IPs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool#no_external_ip CloudbuildWorkerPool#no_external_ip}


Classes

CloudbuildWorkerPoolNetworkConfigOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.NewCloudbuildWorkerPoolNetworkConfigOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolNetworkConfigOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/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.
ResetPeeredNetworkIpRange No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetPeeredNetworkIpRange
func ResetPeeredNetworkIpRange()

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.
PeeredNetworkInput *string No description.
PeeredNetworkIpRangeInput *string No description.
PeeredNetwork *string No description.
PeeredNetworkIpRange *string No description.
InternalValue CloudbuildWorkerPoolNetworkConfig No description.

CreationStackRequired
func 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
func Fqn() *string
  • Type: *string

PeeredNetworkInputOptional
func PeeredNetworkInput() *string
  • Type: *string

PeeredNetworkIpRangeInputOptional
func PeeredNetworkIpRangeInput() *string
  • Type: *string

PeeredNetworkRequired
func PeeredNetwork() *string
  • Type: *string

PeeredNetworkIpRangeRequired
func PeeredNetworkIpRange() *string
  • Type: *string

InternalValueOptional
func InternalValue() CloudbuildWorkerPoolNetworkConfig

CloudbuildWorkerPoolPrivateServiceConnectOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.NewCloudbuildWorkerPoolPrivateServiceConnectOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolPrivateServiceConnectOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/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.
ResetRouteAllTraffic No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetRouteAllTraffic
func ResetRouteAllTraffic()

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.
NetworkAttachmentInput *string No description.
RouteAllTrafficInput interface{} No description.
NetworkAttachment *string No description.
RouteAllTraffic interface{} No description.
InternalValue CloudbuildWorkerPoolPrivateServiceConnect No description.

CreationStackRequired
func 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
func Fqn() *string
  • Type: *string

NetworkAttachmentInputOptional
func NetworkAttachmentInput() *string
  • Type: *string

RouteAllTrafficInputOptional
func RouteAllTrafficInput() interface{}
  • Type: interface{}

NetworkAttachmentRequired
func NetworkAttachment() *string
  • Type: *string

RouteAllTrafficRequired
func RouteAllTraffic() interface{}
  • Type: interface{}

InternalValueOptional
func InternalValue() CloudbuildWorkerPoolPrivateServiceConnect

CloudbuildWorkerPoolTimeoutsOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.NewCloudbuildWorkerPoolTimeoutsOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolTimeoutsOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/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
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetCreate
func ResetCreate()
ResetDelete
func ResetDelete()
ResetUpdate
func ResetUpdate()

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 interface{} No description.

CreationStackRequired
func 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
func Fqn() *string
  • Type: *string

CreateInputOptional
func CreateInput() *string
  • Type: *string

DeleteInputOptional
func DeleteInput() *string
  • Type: *string

UpdateInputOptional
func UpdateInput() *string
  • Type: *string

CreateRequired
func Create() *string
  • Type: *string

DeleteRequired
func Delete() *string
  • Type: *string

UpdateRequired
func Update() *string
  • Type: *string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}

CloudbuildWorkerPoolWorkerConfigOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"

cloudbuildworkerpool.NewCloudbuildWorkerPoolWorkerConfigOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolWorkerConfigOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/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.
ResetDiskSizeGb No description.
ResetMachineType No description.
ResetNoExternalIp No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetDiskSizeGb
func ResetDiskSizeGb()
ResetMachineType
func ResetMachineType()
ResetNoExternalIp
func ResetNoExternalIp()

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.
DiskSizeGbInput *f64 No description.
MachineTypeInput *string No description.
NoExternalIpInput interface{} No description.
DiskSizeGb *f64 No description.
MachineType *string No description.
NoExternalIp interface{} No description.
InternalValue CloudbuildWorkerPoolWorkerConfig No description.

CreationStackRequired
func 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
func Fqn() *string
  • Type: *string

DiskSizeGbInputOptional
func DiskSizeGbInput() *f64
  • Type: *f64

MachineTypeInputOptional
func MachineTypeInput() *string
  • Type: *string

NoExternalIpInputOptional
func NoExternalIpInput() interface{}
  • Type: interface{}

DiskSizeGbRequired
func DiskSizeGb() *f64
  • Type: *f64

MachineTypeRequired
func MachineType() *string
  • Type: *string

NoExternalIpRequired
func NoExternalIp() interface{}
  • Type: interface{}

InternalValueOptional
func InternalValue() CloudbuildWorkerPoolWorkerConfig