WorkflowArgs class
The set of arguments for Workflow. The set of arguments for Workflow.
Constructors
-
WorkflowArgs({Input<
String?> ? callLogLevel, Input<String?> ? cryptoKeyName, Input<String?> ? deletionPolicy, Input<bool?> ? deletionProtection, Input<String?> ? description, Input<String?> ? executionHistoryLevel, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? namePrefix, Input<String?> ? project, Input<String?> ? region, Input<String?> ? serviceAccount, Input<String?> ? sourceContents, Input<Map< ? tags, Input<String, String> ?>Map< ? userEnvVars})String, String> ?> -
Creates a new WorkflowArgs.
callLogLevelDescribes the level of platform logging to apply to calls and call responses duringcryptoKeyNameThe KMS key used to encrypt workflow and execution data.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deletionProtectionWhether Terraform will be prevented from destroying the workflow. Defaults to true.descriptionDescription of the workflow provided by the user. Must be at most 1000 unicode characters long.executionHistoryLevelDescribes the level of execution history to be stored for this workflow. This configurationlabelsA set of key/value label pairs to assign to this Workflow.nameName of the Workflow.namePrefixCreates a unique name beginning with theprojectThe ID of the project in which the resource belongs.regionThe region of the workflow.serviceAccountName of the service account associated with the latest workflow version. This servicesourceContentsWorkflow code to be executed. The size limit is 128KB.tagsA map of resource manager tags. Resource manager tag keys and values have the same definitionuserEnvVarsUser-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".const -
WorkflowArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
callLogLevel
→ Input<
String?> ? -
Describes the level of platform logging to apply to calls and call responses during
executions of this workflow. If both the workflow and the execution specify a logging level,
the execution level takes precedence.
Possible values are:
CALL_LOG_LEVEL_UNSPECIFIED,LOG_ALL_CALLS,LOG_ERRORS_ONLY,LOG_NONE.final -
cryptoKeyName
→ Input<
String?> ? -
The KMS key used to encrypt workflow and execution data.
Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
deletionProtection
→ Input<
bool?> ? -
Whether Terraform will be prevented from destroying the workflow. Defaults to true.
When a
terraform destroyorpulumi upwould delete the workflow, the command will fail if this field is not set to false in Terraform state. When the field is set to true or unset in Terraform state, apulumi uporterraform destroythat would delete the workflow will fail. When the field is set to false, deleting the workflow is allowed.final -
description
→ Input<
String?> ? -
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
final
-
executionHistoryLevel
→ Input<
String?> ? -
Describes the level of execution history to be stored for this workflow. This configuration
determines how much information about workflow executions is preserved. If not specified,
defaults to EXECUTION_HISTORY_LEVEL_UNSPECIFIED.
Possible values are:
EXECUTION_HISTORY_LEVEL_UNSPECIFIED,EXECUTION_HISTORY_BASIC,EXECUTION_HISTORY_DETAILED.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
A set of key/value label pairs to assign to this Workflow.
final
-
name
→ Input<
String?> ? -
Name of the Workflow.
final
-
namePrefix
→ Input<
String?> ? -
Creates a unique name beginning with the
specified prefix. If this and name are unspecified, a random value is chosen for the name.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
region
→ Input<
String?> ? -
The region of the workflow.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
→ Input<
String?> ? -
Name of the service account associated with the latest workflow version. This service
account represents the identity of the workflow and determines what permissions the workflow has.
Format: projects/{project}/serviceAccounts/{account} or {account}.
Using - as a wildcard for the {project} or not providing one at all will infer the project from the account.
The {account} value can be the email address or the uniqueId of the service account.
If not provided, workflow will use the project's default service account.
Modifying this field for an existing workflow results in a new workflow revision.
final
-
sourceContents
→ Input<
String?> ? -
Workflow code to be executed. The size limit is 128KB.
> Warning: This field is currently optional but will become REQUIRED in version 8.0.0 of the provider to align with API constraints.
final
-
A map of resource manager tags. Resource manager tag keys and values have the same definition
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
final
-
userEnvVars
→ Input<
Map< ?String, String> ?> -
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited