# TemplateConfigurationProperty

The configuration details of the generated template.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const templateConfigurationProperty: cdk.CfnGeneratedTemplate.TemplateConfigurationProperty = {
  deletionPolicy: 'deletionPolicy',
  updateReplacePolicy: 'updateReplacePolicy',
};
```

Python:

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

template_configuration_property = cdk.CfnGeneratedTemplate.TemplateConfigurationProperty(
    deletion_policy="deletionPolicy",
    update_replace_policy="updateReplacePolicy"
)
```

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

TemplateConfigurationProperty templateConfigurationProperty = TemplateConfigurationProperty.builder()
        .deletionPolicy("deletionPolicy")
        .updateReplacePolicy("updateReplacePolicy")
        .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;

var templateConfigurationProperty = new TemplateConfigurationProperty {
    DeletionPolicy = "deletionPolicy",
    UpdateReplacePolicy = "updateReplacePolicy"
};
```

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 cdk "github.com/aws/aws-cdk-go/awscdk"

templateConfigurationProperty := &TemplateConfigurationProperty{
	DeletionPolicy: jsii.String("deletionPolicy"),
	UpdateReplacePolicy: jsii.String("updateReplacePolicy"),
}
```

## Properties

- `deletionPolicy`: string — The DeletionPolicy assigned to resources in the generated template.

- `updateReplacePolicy`: string — The UpdateReplacePolicy assigned to resources in the generated template.
