> **Experimental**
>
> `@aws-cdk/aws-imagebuilder-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# WorkflowDataConfig

The rendered workflow data value, for use in CloudFormation.

- For inline workflows, data is the workflow text
- For S3-backed workflows, uri is the S3 URL

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/workflow.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-imagebuilder-alpha/lib/workflow.ts#L335)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
const workflowDataConfig: imagebuilder_alpha.WorkflowDataConfig = {
  data: 'data',
  uri: 'uri',
};
```

Python:

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

workflow_data_config = imagebuilder_alpha.WorkflowDataConfig(
    data="data",
    uri="uri"
)
```

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.imagebuilder.alpha.*;

WorkflowDataConfig workflowDataConfig = WorkflowDataConfig.builder()
        .data("data")
        .uri("uri")
        .build();
```

C# / .NET:

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

var workflowDataConfig = new WorkflowDataConfig {
    Data = "data",
    Uri = "uri"
};
```

Golang:

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

workflowDataConfig := &WorkflowDataConfig{
	Data: jsii.String("data"),
	Uri: jsii.String("uri"),
}
```

## Properties

- `data`: string — The rendered workflow data, for use in CloudFormation.

  **Default:** none if uri is set

- `uri`: string — The rendered workflow data URI, for use in CloudFormation.

  **Default:** none if data is set
