Documentation ¶
Index ¶
- func CloudbuildWorkerPool_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func CloudbuildWorkerPool_IsConstruct(x interface{}) *bool
- func CloudbuildWorkerPool_IsTerraformElement(x interface{}) *bool
- func CloudbuildWorkerPool_IsTerraformResource(x interface{}) *bool
- func CloudbuildWorkerPool_TfResourceType() *string
- func NewCloudbuildWorkerPoolNetworkConfigOutputReference_Override(c CloudbuildWorkerPoolNetworkConfigOutputReference, ...)
- func NewCloudbuildWorkerPoolPrivateServiceConnectOutputReference_Override(c CloudbuildWorkerPoolPrivateServiceConnectOutputReference, ...)
- func NewCloudbuildWorkerPoolTimeoutsOutputReference_Override(c CloudbuildWorkerPoolTimeoutsOutputReference, ...)
- func NewCloudbuildWorkerPoolWorkerConfigOutputReference_Override(c CloudbuildWorkerPoolWorkerConfigOutputReference, ...)
- func NewCloudbuildWorkerPool_Override(c CloudbuildWorkerPool, scope constructs.Construct, id *string, ...)
- type CloudbuildWorkerPool
- type CloudbuildWorkerPoolConfig
- type CloudbuildWorkerPoolNetworkConfig
- type CloudbuildWorkerPoolNetworkConfigOutputReference
- type CloudbuildWorkerPoolPrivateServiceConnect
- type CloudbuildWorkerPoolPrivateServiceConnectOutputReference
- type CloudbuildWorkerPoolTimeouts
- type CloudbuildWorkerPoolTimeoutsOutputReference
- type CloudbuildWorkerPoolWorkerConfig
- type CloudbuildWorkerPoolWorkerConfigOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudbuildWorkerPool_GenerateConfigForImport ¶
func CloudbuildWorkerPool_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a CloudbuildWorkerPool resource upon running "cdktf plan <stack-name>".
func CloudbuildWorkerPool_IsConstruct ¶
func 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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CloudbuildWorkerPool_IsTerraformElement ¶
func CloudbuildWorkerPool_IsTerraformElement(x interface{}) *bool
Experimental.
func CloudbuildWorkerPool_IsTerraformResource ¶
func CloudbuildWorkerPool_IsTerraformResource(x interface{}) *bool
Experimental.
func CloudbuildWorkerPool_TfResourceType ¶
func CloudbuildWorkerPool_TfResourceType() *string
func NewCloudbuildWorkerPoolNetworkConfigOutputReference_Override ¶
func NewCloudbuildWorkerPoolNetworkConfigOutputReference_Override(c CloudbuildWorkerPoolNetworkConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildWorkerPoolPrivateServiceConnectOutputReference_Override ¶ added in v14.12.0
func NewCloudbuildWorkerPoolPrivateServiceConnectOutputReference_Override(c CloudbuildWorkerPoolPrivateServiceConnectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildWorkerPoolTimeoutsOutputReference_Override ¶
func NewCloudbuildWorkerPoolTimeoutsOutputReference_Override(c CloudbuildWorkerPoolTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildWorkerPoolWorkerConfigOutputReference_Override ¶
func NewCloudbuildWorkerPoolWorkerConfigOutputReference_Override(c CloudbuildWorkerPoolWorkerConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildWorkerPool_Override ¶
func NewCloudbuildWorkerPool_Override(c CloudbuildWorkerPool, scope constructs.Construct, id *string, config *CloudbuildWorkerPoolConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool google_cloudbuild_worker_pool} Resource.
Types ¶
type CloudbuildWorkerPool ¶
type CloudbuildWorkerPool interface { cdktf.TerraformResource Annotations() *map[string]*string SetAnnotations(val *map[string]*string) AnnotationsInput() *map[string]*string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreateTime() *string DeleteTime() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string EffectiveAnnotations() cdktf.StringMap // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string SetLocation(val *string) LocationInput() *string Name() *string SetName(val *string) NameInput() *string NetworkConfig() CloudbuildWorkerPoolNetworkConfigOutputReference NetworkConfigInput() *CloudbuildWorkerPoolNetworkConfig // The tree node. Node() constructs.Node PrivateServiceConnect() CloudbuildWorkerPoolPrivateServiceConnectOutputReference PrivateServiceConnectInput() *CloudbuildWorkerPoolPrivateServiceConnect Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} State() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() CloudbuildWorkerPoolTimeoutsOutputReference TimeoutsInput() interface{} Uid() *string UpdateTime() *string WorkerConfig() CloudbuildWorkerPoolWorkerConfigOutputReference WorkerConfigInput() *CloudbuildWorkerPoolWorkerConfig // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // 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. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutNetworkConfig(value *CloudbuildWorkerPoolNetworkConfig) PutPrivateServiceConnect(value *CloudbuildWorkerPoolPrivateServiceConnect) PutTimeouts(value *CloudbuildWorkerPoolTimeouts) PutWorkerConfig(value *CloudbuildWorkerPoolWorkerConfig) ResetAnnotations() ResetDisplayName() ResetId() ResetNetworkConfig() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrivateServiceConnect() ResetProject() ResetTimeouts() ResetWorkerConfig() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool google_cloudbuild_worker_pool}.
func NewCloudbuildWorkerPool ¶
func NewCloudbuildWorkerPool(scope constructs.Construct, id *string, config *CloudbuildWorkerPoolConfig) CloudbuildWorkerPool
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool google_cloudbuild_worker_pool} Resource.
type CloudbuildWorkerPoolConfig ¶
type CloudbuildWorkerPoolConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The location for the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#location CloudbuildWorkerPool#location} Location *string `field:"required" json:"location" yaml:"location"` // User-defined name of the `WorkerPool`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#name CloudbuildWorkerPool#name} Name *string `field:"required" json:"name" yaml:"name"` // 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.14.1/docs/resources/cloudbuild_worker_pool#annotations CloudbuildWorkerPool#annotations} Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"` // 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.14.1/docs/resources/cloudbuild_worker_pool#display_name CloudbuildWorkerPool#display_name} DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/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. Id *string `field:"optional" json:"id" yaml:"id"` // network_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#network_config CloudbuildWorkerPool#network_config} NetworkConfig *CloudbuildWorkerPoolNetworkConfig `field:"optional" json:"networkConfig" yaml:"networkConfig"` // private_service_connect block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#private_service_connect CloudbuildWorkerPool#private_service_connect} PrivateServiceConnect *CloudbuildWorkerPoolPrivateServiceConnect `field:"optional" json:"privateServiceConnect" yaml:"privateServiceConnect"` // The project for the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#project CloudbuildWorkerPool#project} Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#timeouts CloudbuildWorkerPool#timeouts} Timeouts *CloudbuildWorkerPoolTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // worker_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#worker_config CloudbuildWorkerPool#worker_config} WorkerConfig *CloudbuildWorkerPoolWorkerConfig `field:"optional" json:"workerConfig" yaml:"workerConfig"` }
type CloudbuildWorkerPoolNetworkConfig ¶
type CloudbuildWorkerPoolNetworkConfig struct { // 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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#peered_network CloudbuildWorkerPool#peered_network} PeeredNetwork *string `field:"required" json:"peeredNetwork" yaml:"peeredNetwork"` // 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.14.1/docs/resources/cloudbuild_worker_pool#peered_network_ip_range CloudbuildWorkerPool#peered_network_ip_range} PeeredNetworkIpRange *string `field:"optional" json:"peeredNetworkIpRange" yaml:"peeredNetworkIpRange"` }
type CloudbuildWorkerPoolNetworkConfigOutputReference ¶
type CloudbuildWorkerPoolNetworkConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // 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. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildWorkerPoolNetworkConfig SetInternalValue(val *CloudbuildWorkerPoolNetworkConfig) PeeredNetwork() *string SetPeeredNetwork(val *string) PeeredNetworkInput() *string PeeredNetworkIpRange() *string SetPeeredNetworkIpRange(val *string) PeeredNetworkIpRangeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPeeredNetworkIpRange() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildWorkerPoolNetworkConfigOutputReference ¶
func NewCloudbuildWorkerPoolNetworkConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolNetworkConfigOutputReference
type CloudbuildWorkerPoolPrivateServiceConnect ¶ added in v14.12.0
type CloudbuildWorkerPoolPrivateServiceConnect struct { // 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](https://cloud.google.com/vpc/docs/about-network-attachments) // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#network_attachment CloudbuildWorkerPool#network_attachment} NetworkAttachment *string `field:"required" json:"networkAttachment" yaml:"networkAttachment"` // 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.14.1/docs/resources/cloudbuild_worker_pool#route_all_traffic CloudbuildWorkerPool#route_all_traffic} RouteAllTraffic interface{} `field:"optional" json:"routeAllTraffic" yaml:"routeAllTraffic"` }
type CloudbuildWorkerPoolPrivateServiceConnectOutputReference ¶ added in v14.12.0
type CloudbuildWorkerPoolPrivateServiceConnectOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // 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. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildWorkerPoolPrivateServiceConnect SetInternalValue(val *CloudbuildWorkerPoolPrivateServiceConnect) NetworkAttachment() *string SetNetworkAttachment(val *string) NetworkAttachmentInput() *string RouteAllTraffic() interface{} SetRouteAllTraffic(val interface{}) RouteAllTrafficInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetRouteAllTraffic() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildWorkerPoolPrivateServiceConnectOutputReference ¶ added in v14.12.0
func NewCloudbuildWorkerPoolPrivateServiceConnectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolPrivateServiceConnectOutputReference
type CloudbuildWorkerPoolTimeouts ¶
type CloudbuildWorkerPoolTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#create CloudbuildWorkerPool#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#delete CloudbuildWorkerPool#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/cloudbuild_worker_pool#update CloudbuildWorkerPool#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type CloudbuildWorkerPoolTimeoutsOutputReference ¶
type CloudbuildWorkerPoolTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *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. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildWorkerPoolTimeoutsOutputReference ¶
func NewCloudbuildWorkerPoolTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolTimeoutsOutputReference
type CloudbuildWorkerPoolWorkerConfig ¶
type CloudbuildWorkerPoolWorkerConfig struct { // Size of the disk attached to the worker, in GB. // // See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/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.14.1/docs/resources/cloudbuild_worker_pool#disk_size_gb CloudbuildWorkerPool#disk_size_gb} DiskSizeGb *float64 `field:"optional" json:"diskSizeGb" yaml:"diskSizeGb"` // Machine type of a worker, such as `n1-standard-1`. // // See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/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.14.1/docs/resources/cloudbuild_worker_pool#machine_type CloudbuildWorkerPool#machine_type} MachineType *string `field:"optional" json:"machineType" yaml:"machineType"` // 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.14.1/docs/resources/cloudbuild_worker_pool#no_external_ip CloudbuildWorkerPool#no_external_ip} NoExternalIp interface{} `field:"optional" json:"noExternalIp" yaml:"noExternalIp"` }
type CloudbuildWorkerPoolWorkerConfigOutputReference ¶
type CloudbuildWorkerPoolWorkerConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // 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. // Experimental. CreationStack() *[]*string DiskSizeGb() *float64 SetDiskSizeGb(val *float64) DiskSizeGbInput() *float64 // Experimental. Fqn() *string InternalValue() *CloudbuildWorkerPoolWorkerConfig SetInternalValue(val *CloudbuildWorkerPoolWorkerConfig) MachineType() *string SetMachineType(val *string) MachineTypeInput() *string NoExternalIp() interface{} SetNoExternalIp(val interface{}) NoExternalIpInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDiskSizeGb() ResetMachineType() ResetNoExternalIp() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildWorkerPoolWorkerConfigOutputReference ¶
func NewCloudbuildWorkerPoolWorkerConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildWorkerPoolWorkerConfigOutputReference
Source Files ¶
- CloudbuildWorkerPool.go
- CloudbuildWorkerPoolConfig.go
- CloudbuildWorkerPoolNetworkConfig.go
- CloudbuildWorkerPoolNetworkConfigOutputReference.go
- CloudbuildWorkerPoolNetworkConfigOutputReference__checks.go
- CloudbuildWorkerPoolPrivateServiceConnect.go
- CloudbuildWorkerPoolPrivateServiceConnectOutputReference.go
- CloudbuildWorkerPoolPrivateServiceConnectOutputReference__checks.go
- CloudbuildWorkerPoolTimeouts.go
- CloudbuildWorkerPoolTimeoutsOutputReference.go
- CloudbuildWorkerPoolTimeoutsOutputReference__checks.go
- CloudbuildWorkerPoolWorkerConfig.go
- CloudbuildWorkerPoolWorkerConfigOutputReference.go
- CloudbuildWorkerPoolWorkerConfigOutputReference__checks.go
- CloudbuildWorkerPool__checks.go
- main.go