Documentation ¶
Index ¶
- func GoogleDataflowFlexTemplateJob_IsConstruct(x interface{}) *bool
- func GoogleDataflowFlexTemplateJob_IsTerraformElement(x interface{}) *bool
- func GoogleDataflowFlexTemplateJob_IsTerraformResource(x interface{}) *bool
- func GoogleDataflowFlexTemplateJob_TfResourceType() *string
- func NewGoogleDataflowFlexTemplateJob_Override(g GoogleDataflowFlexTemplateJob, scope constructs.Construct, id *string, ...)
- type GoogleDataflowFlexTemplateJob
- type GoogleDataflowFlexTemplateJobConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleDataflowFlexTemplateJob_IsConstruct ¶
func GoogleDataflowFlexTemplateJob_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 GoogleDataflowFlexTemplateJob_IsTerraformElement ¶
func GoogleDataflowFlexTemplateJob_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleDataflowFlexTemplateJob_IsTerraformResource ¶
func GoogleDataflowFlexTemplateJob_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleDataflowFlexTemplateJob_TfResourceType ¶
func GoogleDataflowFlexTemplateJob_TfResourceType() *string
func NewGoogleDataflowFlexTemplateJob_Override ¶
func NewGoogleDataflowFlexTemplateJob_Override(g GoogleDataflowFlexTemplateJob, scope constructs.Construct, id *string, config *GoogleDataflowFlexTemplateJobConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job google_dataflow_flex_template_job} Resource.
Types ¶
type GoogleDataflowFlexTemplateJob ¶
type GoogleDataflowFlexTemplateJob interface { cdktf.TerraformResource AdditionalExperiments() *[]*string SetAdditionalExperiments(val *[]*string) AdditionalExperimentsInput() *[]*string AutoscalingAlgorithm() *string SetAutoscalingAlgorithm(val *string) AutoscalingAlgorithmInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} ContainerSpecGcsPath() *string SetContainerSpecGcsPath(val *string) ContainerSpecGcsPathInput() *string // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) EnableStreamingEngine() interface{} SetEnableStreamingEngine(val interface{}) EnableStreamingEngineInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IpConfiguration() *string SetIpConfiguration(val *string) IpConfigurationInput() *string JobId() *string KmsKeyName() *string SetKmsKeyName(val *string) KmsKeyNameInput() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string LauncherMachineType() *string SetLauncherMachineType(val *string) LauncherMachineTypeInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MachineType() *string SetMachineType(val *string) MachineTypeInput() *string MaxWorkers() *float64 SetMaxWorkers(val *float64) MaxWorkersInput() *float64 Name() *string SetName(val *string) NameInput() *string Network() *string SetNetwork(val *string) NetworkInput() *string // The tree node. Node() constructs.Node NumWorkers() *float64 SetNumWorkers(val *float64) NumWorkersInput() *float64 OnDelete() *string SetOnDelete(val *string) OnDeleteInput() *string Parameters() *map[string]*string SetParameters(val *map[string]*string) ParametersInput() *map[string]*string 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{} Region() *string SetRegion(val *string) RegionInput() *string SdkContainerImage() *string SetSdkContainerImage(val *string) SdkContainerImageInput() *string ServiceAccountEmail() *string SetServiceAccountEmail(val *string) ServiceAccountEmailInput() *string SkipWaitOnJobTermination() interface{} SetSkipWaitOnJobTermination(val interface{}) SkipWaitOnJobTerminationInput() interface{} StagingLocation() *string SetStagingLocation(val *string) StagingLocationInput() *string State() *string Subnetwork() *string SetSubnetwork(val *string) SubnetworkInput() *string TempLocation() *string SetTempLocation(val *string) TempLocationInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string TransformNameMapping() *map[string]*string SetTransformNameMapping(val *map[string]*string) TransformNameMappingInput() *map[string]*string Type() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAdditionalExperiments() ResetAutoscalingAlgorithm() ResetEnableStreamingEngine() ResetId() ResetIpConfiguration() ResetKmsKeyName() ResetLabels() ResetLauncherMachineType() ResetMachineType() ResetMaxWorkers() ResetNetwork() ResetNumWorkers() ResetOnDelete() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetParameters() ResetProject() ResetRegion() ResetSdkContainerImage() ResetServiceAccountEmail() ResetSkipWaitOnJobTermination() ResetStagingLocation() ResetSubnetwork() ResetTempLocation() ResetTransformNameMapping() SynthesizeAttributes() *map[string]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-beta/4.84.0/docs/resources/google_dataflow_flex_template_job google_dataflow_flex_template_job}.
func NewGoogleDataflowFlexTemplateJob ¶
func NewGoogleDataflowFlexTemplateJob(scope constructs.Construct, id *string, config *GoogleDataflowFlexTemplateJobConfig) GoogleDataflowFlexTemplateJob
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job google_dataflow_flex_template_job} Resource.
type GoogleDataflowFlexTemplateJobConfig ¶
type GoogleDataflowFlexTemplateJobConfig 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"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#container_spec_gcs_path GoogleDataflowFlexTemplateJob#container_spec_gcs_path}. ContainerSpecGcsPath *string `field:"required" json:"containerSpecGcsPath" yaml:"containerSpecGcsPath"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#name GoogleDataflowFlexTemplateJob#name}. Name *string `field:"required" json:"name" yaml:"name"` // List of experiments that should be used by the job. An example value is ["enable_stackdriver_agent_metrics"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#additional_experiments GoogleDataflowFlexTemplateJob#additional_experiments} AdditionalExperiments *[]*string `field:"optional" json:"additionalExperiments" yaml:"additionalExperiments"` // The algorithm to use for autoscaling. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#autoscaling_algorithm GoogleDataflowFlexTemplateJob#autoscaling_algorithm} AutoscalingAlgorithm *string `field:"optional" json:"autoscalingAlgorithm" yaml:"autoscalingAlgorithm"` // Indicates if the job should use the streaming engine feature. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#enable_streaming_engine GoogleDataflowFlexTemplateJob#enable_streaming_engine} EnableStreamingEngine interface{} `field:"optional" json:"enableStreamingEngine" yaml:"enableStreamingEngine"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#id GoogleDataflowFlexTemplateJob#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"` // The configuration for VM IPs. Options are "WORKER_IP_PUBLIC" or "WORKER_IP_PRIVATE". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#ip_configuration GoogleDataflowFlexTemplateJob#ip_configuration} IpConfiguration *string `field:"optional" json:"ipConfiguration" yaml:"ipConfiguration"` // The name for the Cloud KMS key for the job. Key format is: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#kms_key_name GoogleDataflowFlexTemplateJob#kms_key_name} KmsKeyName *string `field:"optional" json:"kmsKeyName" yaml:"kmsKeyName"` // User labels to be specified for the job. // // Keys and values should follow the restrictions specified in the labeling restrictions page. NOTE: Google-provided Dataflow templates often provide default labels that begin with goog-dataflow-provided. Unless explicitly set in config, these labels will be ignored to prevent diffs on re-apply. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#labels GoogleDataflowFlexTemplateJob#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // The machine type to use for launching the job. The default is n1-standard-1. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#launcher_machine_type GoogleDataflowFlexTemplateJob#launcher_machine_type} LauncherMachineType *string `field:"optional" json:"launcherMachineType" yaml:"launcherMachineType"` // The machine type to use for the job. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#machine_type GoogleDataflowFlexTemplateJob#machine_type} MachineType *string `field:"optional" json:"machineType" yaml:"machineType"` // The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#max_workers GoogleDataflowFlexTemplateJob#max_workers} MaxWorkers *float64 `field:"optional" json:"maxWorkers" yaml:"maxWorkers"` // The network to which VMs will be assigned. If it is not provided, "default" will be used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#network GoogleDataflowFlexTemplateJob#network} Network *string `field:"optional" json:"network" yaml:"network"` // The initial number of Google Compute Engine instances for the job. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#num_workers GoogleDataflowFlexTemplateJob#num_workers} NumWorkers *float64 `field:"optional" json:"numWorkers" yaml:"numWorkers"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#on_delete GoogleDataflowFlexTemplateJob#on_delete}. OnDelete *string `field:"optional" json:"onDelete" yaml:"onDelete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#parameters GoogleDataflowFlexTemplateJob#parameters}. Parameters *map[string]*string `field:"optional" json:"parameters" yaml:"parameters"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#project GoogleDataflowFlexTemplateJob#project}. Project *string `field:"optional" json:"project" yaml:"project"` // The region in which the created job should run. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#region GoogleDataflowFlexTemplateJob#region} Region *string `field:"optional" json:"region" yaml:"region"` // Docker registry location of container image to use for the 'worker harness. // // Default is the container for the version of the SDK. Note this field is only valid for portable pipelines. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#sdk_container_image GoogleDataflowFlexTemplateJob#sdk_container_image} SdkContainerImage *string `field:"optional" json:"sdkContainerImage" yaml:"sdkContainerImage"` // The Service Account email used to create the job. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#service_account_email GoogleDataflowFlexTemplateJob#service_account_email} ServiceAccountEmail *string `field:"optional" json:"serviceAccountEmail" yaml:"serviceAccountEmail"` // If true, treat DRAINING and CANCELLING as terminal job states and do not wait for further changes before removing from terraform state and moving on. // // WARNING: this will lead to job name conflicts if you do not ensure that the job names are different, e.g. by embedding a release ID or by using a random_id. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#skip_wait_on_job_termination GoogleDataflowFlexTemplateJob#skip_wait_on_job_termination} SkipWaitOnJobTermination interface{} `field:"optional" json:"skipWaitOnJobTermination" yaml:"skipWaitOnJobTermination"` // The Cloud Storage path to use for staging files. Must be a valid Cloud Storage URL, beginning with gs://. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#staging_location GoogleDataflowFlexTemplateJob#staging_location} StagingLocation *string `field:"optional" json:"stagingLocation" yaml:"stagingLocation"` // The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#subnetwork GoogleDataflowFlexTemplateJob#subnetwork} Subnetwork *string `field:"optional" json:"subnetwork" yaml:"subnetwork"` // The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with gs://. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#temp_location GoogleDataflowFlexTemplateJob#temp_location} TempLocation *string `field:"optional" json:"tempLocation" yaml:"tempLocation"` // Only applicable when updating a pipeline. // // Map of transform name prefixes of the job to be replaced with the corresponding name prefixes of the new job. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.84.0/docs/resources/google_dataflow_flex_template_job#transform_name_mapping GoogleDataflowFlexTemplateJob#transform_name_mapping} TransformNameMapping *map[string]*string `field:"optional" json:"transformNameMapping" yaml:"transformNameMapping"` }