TemplateConfigurationProperty Struct
The configuration details of the generated template.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudformation as cloudformation } from 'aws-cdk-lib';
const templateConfigurationProperty: cloudformation.CfnGeneratedTemplate.TemplateConfigurationProperty = {
deletionPolicy: 'deletionPolicy',
updateReplacePolicy: 'updateReplacePolicy',
};
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_cloudformation as cloudformation
template_configuration_property = cloudformation.CfnGeneratedTemplate.TemplateConfigurationProperty(
deletion_policy="deletionPolicy",
update_replace_policy="updateReplacePolicy"
)
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.cloudformation.*;
TemplateConfigurationProperty templateConfigurationProperty = TemplateConfigurationProperty.builder()
.deletionPolicy("deletionPolicy")
.updateReplacePolicy("updateReplacePolicy")
.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.CloudFormation;
var templateConfigurationProperty = new TemplateConfigurationProperty {
DeletionPolicy = "deletionPolicy",
UpdateReplacePolicy = "updateReplacePolicy"
};
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"
templateConfigurationProperty := &TemplateConfigurationProperty{
DeletionPolicy: jsii.String("deletionPolicy"),
UpdateReplacePolicy: jsii.String("updateReplacePolicy"),
}
Properties
deletionPolicyoptionalstringdeletion_policyoptionalstrdeletionPolicyoptionalStringDeletionPolicyoptionalstringDeletionPolicyoptional*string#The DeletionPolicy assigned to resources in the generated template.
updateReplacePolicyoptionalstringupdate_replace_policyoptionalstrupdateReplacePolicyoptionalStringUpdateReplacePolicyoptionalstringUpdateReplacePolicyoptional*string#The UpdateReplacePolicy assigned to resources in the generated template.