WorkflowTemplateState constructor
- Input<
String?> ? createTime, - Input<
String?> ? dagTimeout, - Input<
String?> ? deletionPolicy, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
WorkflowTemplateEncryptionConfig?> ? encryptionConfig, - Input<
List< ? jobs,WorkflowTemplateJob> ?> - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? location, - Input<
String?> ? name, - Input<
List< ? parameters,WorkflowTemplateParameter> ?> - Input<
WorkflowTemplatePlacement?> ? placement, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
String?> ? updateTime, - Input<
int?> ? version,
Creates a new WorkflowTemplateState.
createTime Output only. The time template was created.
dagTimeout Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration). The timeout duration must be from 10 minutes ("600s") to 24 hours ("86400s"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
encryptionConfig Encryption settings for encrypting workflow template job arguments. Structure is documented below
jobs (Required) The Directed Acyclic Graph of Jobs to submit. Structure is documented below
labels Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a template.
location The location for the resource
name (Required) The resource name of the workflow template, as described in https://docs.cloud.google.com/apis/design/resource_names. * For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} * For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
parameters Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.
placement (Required) WorkflowTemplate scheduling information.
project The project for the resource
pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime Output only. The time template was last updated.
version Output only. The current version of this workflow template.
Implementation
const WorkflowTemplateState({
this.createTime,
this.dagTimeout,
this.deletionPolicy,
this.effectiveLabels,
this.encryptionConfig,
this.jobs,
this.labels,
this.location,
this.name,
this.parameters,
this.placement,
this.project,
this.pulumiLabels,
this.updateTime,
this.version,
});