Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.17.0/docs/resources/cloudbuild_worker_pool google_cloudbuild_worker_pool}.
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. |
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The scoped construct ID.
Must be unique amongst siblings in the same scope
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. |
func ToString() *string
Returns a string representation of this construct.
func AddOverride(path *string, value interface{})
- Type: *string
- Type: interface{}
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
func ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
func ToHclTerraform() interface{}
func ToMetadata() interface{}
func ToTerraform() interface{}
Adds this resource to the terraform JSON output.
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.
- Type: *string
The string move target that will correspond to this resource.
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func HasResourceMove() interface{}
func ImportFrom(id *string, provider TerraformProvider)
- Type: *string
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
func InterpolationForAttribute(terraformAttribute *string) IResolvable
- Type: *string
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.
- Type: *string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
func MoveTo(moveTarget *string, index interface{})
Moves this resource to the target resource given by moveTarget.
- Type: *string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: interface{}
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
func MoveToId(id *string)
Moves this resource to the resource corresponding to "id".
- Type: *string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
func PutNetworkConfig(value CloudbuildWorkerPoolNetworkConfig)
func PutPrivateServiceConnect(value CloudbuildWorkerPoolPrivateServiceConnect)
func PutTimeouts(value CloudbuildWorkerPoolTimeouts)
func PutWorkerConfig(value CloudbuildWorkerPoolWorkerConfig)
func ResetAnnotations()
func ResetDisplayName()
func ResetId()
func ResetNetworkConfig()
func ResetPrivateServiceConnect()
func ResetProject()
func ResetTimeouts()
func ResetWorkerConfig()
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 ". |
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.
- Type: interface{}
Any object.
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"
cloudbuildworkerpool.CloudbuildWorkerPool_IsTerraformElement(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"
cloudbuildworkerpool.CloudbuildWorkerPool_IsTerraformResource(x interface{}) *bool
- Type: interface{}
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 ".
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The construct id used in the generated config for the CloudbuildWorkerPool to import.
- 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
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
? Optional instance of the provider where the CloudbuildWorkerPool to import is found.
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. |
func Node() Node
- Type: github.com/aws/constructs-go/constructs/v10.Node
The tree node.
func CdktfStack() TerraformStack
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack
func Fqn() *string
- Type: *string
func FriendlyUniqueId() *string
- Type: *string
func TerraformMetaArguments() *map[string]interface{}
- Type: *map[string]interface{}
func TerraformResourceType() *string
- Type: *string
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata
func Connection() interface{}
- Type: interface{}
func Count() interface{}
- Type: interface{}
func DependsOn() *[]*string
- Type: *[]*string
func ForEach() ITerraformIterator
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator
func Lifecycle() TerraformResourceLifecycle
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle
func Provider() TerraformProvider
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
func Provisioners() *[]interface{}
- Type: *[]interface{}
func CreateTime() *string
- Type: *string
func DeleteTime() *string
- Type: *string
func EffectiveAnnotations() StringMap
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.StringMap
func NetworkConfig() CloudbuildWorkerPoolNetworkConfigOutputReference
func PrivateServiceConnect() CloudbuildWorkerPoolPrivateServiceConnectOutputReference
func State() *string
- Type: *string
func Timeouts() CloudbuildWorkerPoolTimeoutsOutputReference
func Uid() *string
- Type: *string
func UpdateTime() *string
- Type: *string
func WorkerConfig() CloudbuildWorkerPoolWorkerConfigOutputReference
func AnnotationsInput() *map[string]*string
- Type: *map[string]*string
func DisplayNameInput() *string
- Type: *string
func IdInput() *string
- Type: *string
func LocationInput() *string
- Type: *string
func NameInput() *string
- Type: *string
func NetworkConfigInput() CloudbuildWorkerPoolNetworkConfig
func PrivateServiceConnectInput() CloudbuildWorkerPoolPrivateServiceConnect
func ProjectInput() *string
- Type: *string
func TimeoutsInput() interface{}
- Type: interface{}
func WorkerConfigInput() CloudbuildWorkerPoolWorkerConfig
func Annotations() *map[string]*string
- Type: *map[string]*string
func DisplayName() *string
- Type: *string
func Id() *string
- Type: *string
func Location() *string
- Type: *string
func Name() *string
- Type: *string
func Project() *string
- Type: *string
Name | Type | Description |
---|---|---|
TfResourceType |
*string |
No description. |
func TfResourceType() *string
- Type: *string
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,
}
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. |
Connection interface{}
- Type: interface{}
Count interface{}
- Type: interface{}
DependsOn *[]ITerraformDependable
- Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable
ForEach ITerraformIterator
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator
Lifecycle TerraformResourceLifecycle
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle
Provider TerraformProvider
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
Provisioners *[]interface{}
- Type: *[]interface{}
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}
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}
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}
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}
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.
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}
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}
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}
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}
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}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"
&cloudbuildworkerpool.CloudbuildWorkerPoolNetworkConfig {
PeeredNetwork: *string,
PeeredNetworkIpRange: *string,
}
Name | Type | Description |
---|---|---|
PeeredNetwork |
*string |
Required. |
PeeredNetworkIpRange |
*string |
Optional. |
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}
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}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"
&cloudbuildworkerpool.CloudbuildWorkerPoolPrivateServiceConnect {
NetworkAttachment: *string,
RouteAllTraffic: interface{},
}
Name | Type | Description |
---|---|---|
NetworkAttachment |
*string |
Required. |
RouteAllTraffic |
interface{} |
Immutable. |
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}
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}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"
&cloudbuildworkerpool.CloudbuildWorkerPoolTimeouts {
Create: *string,
Delete: *string,
Update: *string,
}
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}. |
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}.
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}.
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}.
import "github.com/cdktf/cdktf-provider-google-go/google/v14/cloudbuildworkerpool"
&cloudbuildworkerpool.CloudbuildWorkerPoolWorkerConfig {
DiskSizeGb: *f64,
MachineType: *string,
NoExternalIp: interface{},
}
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. |
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}
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}
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}
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. |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func ResetPeeredNetworkIpRange()
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. |
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.
func Fqn() *string
- Type: *string
func PeeredNetworkInput() *string
- Type: *string
func PeeredNetworkIpRangeInput() *string
- Type: *string
func PeeredNetwork() *string
- Type: *string
func PeeredNetworkIpRange() *string
- Type: *string
func InternalValue() CloudbuildWorkerPoolNetworkConfig
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. |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func ResetRouteAllTraffic()
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. |
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.
func Fqn() *string
- Type: *string
func NetworkAttachmentInput() *string
- Type: *string
func RouteAllTrafficInput() interface{}
- Type: interface{}
func NetworkAttachment() *string
- Type: *string
func RouteAllTraffic() interface{}
- Type: interface{}
func InternalValue() CloudbuildWorkerPoolPrivateServiceConnect
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. |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func ResetCreate()
func ResetDelete()
func ResetUpdate()
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. |
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.
func Fqn() *string
- Type: *string
func CreateInput() *string
- Type: *string
func DeleteInput() *string
- Type: *string
func UpdateInput() *string
- Type: *string
func Create() *string
- Type: *string
func Delete() *string
- Type: *string
func Update() *string
- Type: *string
func InternalValue() interface{}
- Type: interface{}
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. |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func ResetDiskSizeGb()
func ResetMachineType()
func ResetNoExternalIp()
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. |
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.
func Fqn() *string
- Type: *string
func DiskSizeGbInput() *f64
- Type: *f64
func MachineTypeInput() *string
- Type: *string
func NoExternalIpInput() interface{}
- Type: interface{}
func DiskSizeGb() *f64
- Type: *f64
func MachineType() *string
- Type: *string
func NoExternalIp() interface{}
- Type: interface{}
func InternalValue() CloudbuildWorkerPoolWorkerConfig