> **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.
# DockerfileTemplateConfig

The rendered Dockerfile value, for use in CloudFormation.

- For inline dockerfiles, dockerfileTemplateData is the Dockerfile template text
- For S3-backed dockerfiles, dockerfileTemplateUri is the S3 URL

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

## 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 dockerfileTemplateConfig: imagebuilder_alpha.DockerfileTemplateConfig = {
  dockerfileTemplateData: 'dockerfileTemplateData',
  dockerfileTemplateUri: 'dockerfileTemplateUri',
};
```

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

dockerfile_template_config = imagebuilder_alpha.DockerfileTemplateConfig(
    dockerfile_template_data="dockerfileTemplateData",
    dockerfile_template_uri="dockerfileTemplateUri"
)
```

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

DockerfileTemplateConfig dockerfileTemplateConfig = DockerfileTemplateConfig.builder()
        .dockerfileTemplateData("dockerfileTemplateData")
        .dockerfileTemplateUri("dockerfileTemplateUri")
        .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 dockerfileTemplateConfig = new DockerfileTemplateConfig {
    DockerfileTemplateData = "dockerfileTemplateData",
    DockerfileTemplateUri = "dockerfileTemplateUri"
};
```

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"

dockerfileTemplateConfig := &DockerfileTemplateConfig{
	DockerfileTemplateData: jsii.String("dockerfileTemplateData"),
	DockerfileTemplateUri: jsii.String("dockerfileTemplateUri"),
}
```

## Properties

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

  **Default:** none if dockerfileTemplateUri is set

- `dockerfileTemplateUri`: string — The rendered Dockerfile URI, for use in CloudFormation.

  **Default:** none if dockerfileTemplateData is set
