Skip to content
v2.278.0

CfnWorkflowDefinitionProps Struct ​

Properties for defining a CfnWorkflowDefinition.

Example ​

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
# 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
// 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();
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"
    }
};
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 ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
An optional description of the workflow definition's purpose and functionality.
exportConfigoptionalIResolvable | CfnWorkflowDefinition.WorkflowExportConfigPropertyexport_configoptionaltyping.Union[IResolvable, WorkflowExportConfigProperty]exportConfigoptionalIResolvableExportConfigoptionalIResolvableExportConfigoptionalinterface{} #
Configuration settings for exporting workflow execution data and logs to Amazon S3.
namestringnamestrnameStringNamestringName*string required #
The name of the workflow definition.

Must be unique within your account and region.