# CfnWorkflowDefinitionProps

Properties for defining a `CfnWorkflowDefinition`.

Used as props by: [CfnWorkflowDefinition](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_novaact.CfnWorkflowDefinition.html)

- Source: Generated at build time
- Type last changed: v2.249.0 · 13 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_novaact as novaact } from 'aws-cdk-lib';
const cfnWorkflowDefinitionProps: novaact.CfnWorkflowDefinitionProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  exportConfig: {
    s3BucketName: 's3BucketName',

    // the properties below are optional
    s3KeyPrefix: 's3KeyPrefix',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_novaact as novaact

cfn_workflow_definition_props = novaact.CfnWorkflowDefinitionProps(
    name="name",

    # the properties below are optional
    description="description",
    export_config=novaact.CfnWorkflowDefinition.WorkflowExportConfigProperty(
        s3_bucket_name="s3BucketName",

        # the properties below are optional
        s3_key_prefix="s3KeyPrefix"
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.novaact.*;

CfnWorkflowDefinitionProps cfnWorkflowDefinitionProps = CfnWorkflowDefinitionProps.builder()
        .name("name")

        // the properties below are optional
        .description("description")
        .exportConfig(WorkflowExportConfigProperty.builder()
                .s3BucketName("s3BucketName")

                // the properties below are optional
                .s3KeyPrefix("s3KeyPrefix")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NovaAct;

var cfnWorkflowDefinitionProps = new CfnWorkflowDefinitionProps {
    Name = "name",

    // the properties below are optional
    Description = "description",
    ExportConfig = new WorkflowExportConfigProperty {
        S3BucketName = "s3BucketName",

        // the properties below are optional
        S3KeyPrefix = "s3KeyPrefix"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnWorkflowDefinitionProps := &CfnWorkflowDefinitionProps{
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	ExportConfig: &WorkflowExportConfigProperty{
		S3BucketName: jsii.String("s3BucketName"),

		// the properties below are optional
		S3KeyPrefix: jsii.String("s3KeyPrefix"),
	},
}
```

## Properties

- `description`: string — An optional description of the workflow definition's purpose and functionality.

- `exportConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkflowDefinition.WorkflowExportConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_novaact.CfnWorkflowDefinition.WorkflowExportConfigProperty.html) — Configuration settings for exporting workflow execution data and logs to Amazon S3.

- `name`: string (required) — The name of the workflow definition.

  Must be unique within your account and region.
