CfnGeneratedTemplateProps Struct
Properties for defining a CfnGeneratedTemplate.
Example
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 cfnGeneratedTemplateProps: cdk.CfnGeneratedTemplateProps = {
generatedTemplateName: 'generatedTemplateName',
// the properties below are optional
templateConfiguration: {
deletionPolicy: 'deletionPolicy',
updateReplacePolicy: 'updateReplacePolicy',
},
};
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
cfn_generated_template_props = cdk.CfnGeneratedTemplateProps(
generated_template_name="generatedTemplateName",
# the properties below are optional
template_configuration=cdk.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.*;
CfnGeneratedTemplateProps cfnGeneratedTemplateProps = CfnGeneratedTemplateProps.builder()
.generatedTemplateName("generatedTemplateName")
// the properties below are optional
.templateConfiguration(TemplateConfigurationProperty.builder()
.deletionPolicy("deletionPolicy")
.updateReplacePolicy("updateReplacePolicy")
.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;
var cfnGeneratedTemplateProps = new CfnGeneratedTemplateProps {
GeneratedTemplateName = "generatedTemplateName",
// the properties below are optional
TemplateConfiguration = 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 cdk "github.com/aws/aws-cdk-go/awscdk"
cfnGeneratedTemplateProps := &CfnGeneratedTemplateProps{
GeneratedTemplateName: jsii.String("generatedTemplateName"),
// the properties below are optional
TemplateConfiguration: &TemplateConfigurationProperty{
DeletionPolicy: jsii.String("deletionPolicy"),
UpdateReplacePolicy: jsii.String("updateReplacePolicy"),
},
}
Properties
generatedTemplateNamestringgenerated_template_namestrgeneratedTemplateNameStringGeneratedTemplateNamestringGeneratedTemplateName*stringrequired#The name assigned to the generated template.
templateConfigurationoptionalIResolvable | CfnGeneratedTemplate.TemplateConfigurationPropertytemplate_configurationoptionaltyping.Union[IResolvable, TemplateConfigurationProperty]templateConfigurationoptionalIResolvableTemplateConfigurationoptionalIResolvableTemplateConfigurationoptionalinterface{}#The configuration details of the generated template.