We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::MWAAServerless::Workflow resource
Create Workflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workflow(name: string, args: WorkflowArgs, opts?: CustomResourceOptions);@overload
def Workflow(resource_name: str,
args: WorkflowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workflow(resource_name: str,
opts: Optional[ResourceOptions] = None,
definition_s3_location: Optional[WorkflowS3LocationArgs] = None,
role_arn: Optional[str] = None,
code: Optional[WorkflowCodeArgs] = None,
description: Optional[str] = None,
encryption_configuration: Optional[WorkflowEncryptionConfigurationArgs] = None,
environment: Optional[WorkflowEnvironmentArgs] = None,
logging_configuration: Optional[WorkflowLoggingConfigurationArgs] = None,
name: Optional[str] = None,
network_configuration: Optional[WorkflowNetworkConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None,
trigger_mode: Optional[str] = None)func NewWorkflow(ctx *Context, name string, args WorkflowArgs, opts ...ResourceOption) (*Workflow, error)public Workflow(string name, WorkflowArgs args, CustomResourceOptions? opts = null)
public Workflow(String name, WorkflowArgs args)
public Workflow(String name, WorkflowArgs args, CustomResourceOptions options)
type: aws-native:mwaaserverless:Workflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_mwaaserverless_workflow" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Workflow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workflow resource accepts the following input properties:
- Definition
S3Location Pulumi.Aws Native. Mwaa Serverless. Inputs. Workflow S3Location - Role
Arn string - Code
Pulumi.
Aws Native. Mwaa Serverless. Inputs. Workflow Code - Description string
- Encryption
Configuration Pulumi.Aws Native. Mwaa Serverless. Inputs. Workflow Encryption Configuration - Environment
Pulumi.
Aws Native. Mwaa Serverless. Inputs. Workflow Environment - Logging
Configuration Pulumi.Aws Native. Mwaa Serverless. Inputs. Workflow Logging Configuration - Name string
- Network
Configuration Pulumi.Aws Native. Mwaa Serverless. Inputs. Workflow Network Configuration - Dictionary<string, string>
- Trigger
Mode string
- Definition
S3Location WorkflowS3Location Args - Role
Arn string - Code
Workflow
Code Args - Description string
- Encryption
Configuration WorkflowEncryption Configuration Args - Environment
Workflow
Environment Args - Logging
Configuration WorkflowLogging Configuration Args - Name string
- Network
Configuration WorkflowNetwork Configuration Args - map[string]string
- Trigger
Mode string
- definition_
s3_ objectlocation - role_
arn string - code object
- description string
- encryption_
configuration object - environment object
- logging_
configuration object - name string
- network_
configuration object - map(string)
- trigger_
mode string
- definition
S3Location WorkflowS3Location - role
Arn String - code
Workflow
Code - description String
- encryption
Configuration WorkflowEncryption Configuration - environment
Workflow
Environment - logging
Configuration WorkflowLogging Configuration - name String
- network
Configuration WorkflowNetwork Configuration - Map<String,String>
- trigger
Mode String
- definition
S3Location WorkflowS3Location - role
Arn string - code
Workflow
Code - description string
- encryption
Configuration WorkflowEncryption Configuration - environment
Workflow
Environment - logging
Configuration WorkflowLogging Configuration - name string
- network
Configuration WorkflowNetwork Configuration - {[key: string]: string}
- trigger
Mode string
- definition_
s3_ Workflowlocation S3Location Args - role_
arn str - code
Workflow
Code Args - description str
- encryption_
configuration WorkflowEncryption Configuration Args - environment
Workflow
Environment Args - logging_
configuration WorkflowLogging Configuration Args - name str
- network_
configuration WorkflowNetwork Configuration Args - Mapping[str, str]
- trigger_
mode str
Outputs
All input properties are implicitly available as output properties. Additionally, the Workflow resource produces the following output properties:
- Code
Snapshotted stringAt - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Schedule
Configuration Pulumi.Aws Native. Mwaa Serverless. Outputs. Workflow Schedule Configuration - Workflow
Arn string - Workflow
Status Pulumi.Aws Native. Mwaa Serverless. Workflow Status - Workflow
Version string
- Code
Snapshotted stringAt - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Schedule
Configuration WorkflowSchedule Configuration - Workflow
Arn string - Workflow
Status WorkflowStatus - Workflow
Version string
- code_
snapshotted_ stringat - created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- modified_
at string - schedule_
configuration object - workflow_
arn string - workflow_
status "READY" | "DELETING" - workflow_
version string
- code
Snapshotted StringAt - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - schedule
Configuration WorkflowSchedule Configuration - workflow
Arn String - workflow
Status WorkflowStatus - workflow
Version String
- code
Snapshotted stringAt - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - schedule
Configuration WorkflowSchedule Configuration - workflow
Arn string - workflow
Status WorkflowStatus - workflow
Version string
- code_
snapshotted_ strat - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - schedule_
configuration WorkflowSchedule Configuration - workflow_
arn str - workflow_
status WorkflowStatus - workflow_
version str
- code
Snapshotted StringAt - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - schedule
Configuration Property Map - workflow
Arn String - workflow
Status "READY" | "DELETING" - workflow
Version String
Look up Existing Workflow Resource
Get an existing Workflow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Workflow@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Workflowfunc GetWorkflow(ctx *Context, name string, id IDInput, state *WorkflowState, opts ...ResourceOption) (*Workflow, error)public static Workflow Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Workflow get(String name, Output<String> id, CustomResourceOptions options)resources: existingWorkflow: type: aws-native:mwaaserverless:Workflow get: id: ${id}import {
to = aws-native_mwaaserverless_workflow.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state WorkflowState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
WorkflowCode, WorkflowCodeArgs
The location of code artifacts in Amazon S3 for the workflow. Modeled as a single-member container so it stays extensible to future artifact types (e.g. OCI images).
WorkflowCodeS3Location, WorkflowCodeS3LocationArgs
- bucket string
- object_
key string - version_
id string
- bucket str
- object_
key str - version_
id str
WorkflowEncryptionConfiguration, WorkflowEncryptionConfigurationArgs
WorkflowEncryptionConfigurationType
| Name | Value |
|---|---|
| Aws | AWS_MANAGED_KEY |
| Customer | CUSTOMER_MANAGED_KEY |
| Name | Value |
|---|---|
| Workflow | AWS_MANAGED_KEY |
| Workflow | CUSTOMER_MANAGED_KEY |
| Value |
|---|
AWS_MANAGED_KEY |
CUSTOMER_MANAGED_KEY |
| Name | Value |
|---|---|
| Aws | AWS_MANAGED_KEY |
| Customer | CUSTOMER_MANAGED_KEY |
| Name | Value |
|---|---|
| Aws | AWS_MANAGED_KEY |
| Customer | CUSTOMER_MANAGED_KEY |
| Name | Value |
|---|---|
| AWS_MANAGED_KEY | AWS_MANAGED_KEY |
| CUSTOMER_MANAGED_KEY | CUSTOMER_MANAGED_KEY |
| Value |
|---|
AWS_MANAGED_KEY |
CUSTOMER_MANAGED_KEY |
WorkflowEnvironment, WorkflowEnvironmentArgs
Contains the environment variables that tasks in a workflow use during execution.
- Variables Dictionary<string, string>
- Variables map[string]string
- variables map(string)
- variables Map<String,String>
- variables {[key: string]: string}
- variables Mapping[str, str]
- variables Map<String>
WorkflowLoggingConfiguration, WorkflowLoggingConfigurationArgs
- Log
Group stringName
- Log
Group stringName
- log_
group_ stringname
- log
Group StringName
- log
Group stringName
- log_
group_ strname
- log
Group StringName
WorkflowNetworkConfiguration, WorkflowNetworkConfigurationArgs
- Security
Group List<string>Ids - Subnet
Ids List<string>
- Security
Group []stringIds - Subnet
Ids []string
- security_
group_ list(string)ids - subnet_
ids list(string)
- security
Group List<String>Ids - subnet
Ids List<String>
- security
Group string[]Ids - subnet
Ids string[]
- security_
group_ Sequence[str]ids - subnet_
ids Sequence[str]
- security
Group List<String>Ids - subnet
Ids List<String>
WorkflowS3Location, WorkflowS3LocationArgs
- bucket string
- object_
key string - version_
id string
- bucket str
- object_
key str - version_
id str
WorkflowScheduleConfiguration
- Cron
Expression string
- Cron
Expression string
- cron_
expression string
- cron
Expression String
- cron
Expression string
- cron_
expression str
- cron
Expression String
WorkflowStatus
| Name | Value |
|---|---|
| Ready | READY |
| Deleting | DELETING |
| Name | Value |
|---|---|
| Workflow | READY |
| Workflow | DELETING |
| Value |
|---|
READY |
DELETING |
| Name | Value |
|---|---|
| Ready | READY |
| Deleting | DELETING |
| Name | Value |
|---|---|
| Ready | READY |
| Deleting | DELETING |
| Name | Value |
|---|---|
| READY | READY |
| DELETING | DELETING |
| Value |
|---|
READY |
DELETING |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi