Interface CfnTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-09T10:20:13.567Z")
@Stability(Stable)
public interface CfnTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTemplate.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cases.*;
CfnTemplateProps cfnTemplateProps = CfnTemplateProps.builder()
.name("name")
// the properties below are optional
.description("description")
.domainId("domainId")
.layoutConfiguration(LayoutConfigurationProperty.builder()
.defaultLayout("defaultLayout")
.build())
.requiredFields(List.of(RequiredFieldProperty.builder()
.fieldId("fieldId")
.build()))
.rules(List.of(TemplateRuleProperty.builder()
.caseRuleId("caseRuleId")
// the properties below are optional
.fieldId("fieldId")
.build()))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplatePropsstatic final classAn implementation forCfnTemplateProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTemplateProps.Builderbuilder()default StringA brief description of the template.default StringThe unique identifier of the Cases domain.default ObjectObject to store configuration of layouts associated to the template.getName()The template name.default ObjectA list of fields that must contain a value for a case to be successfully created with this template.default ObjectgetRules()A list of case rules (also known as case field conditions ) on a template.default StringThe status of the template.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The template name.- See Also:
-
getDescription
A brief description of the template.- See Also:
-
getDomainId
The unique identifier of the Cases domain.- See Also:
-
getLayoutConfiguration
Object to store configuration of layouts associated to the template.Returns union: either
IResolvableorCfnTemplate.LayoutConfigurationProperty- See Also:
-
getRequiredFields
A list of fields that must contain a value for a case to be successfully created with this template.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.RequiredFieldProperty>- See Also:
-
getRules
A list of case rules (also known as case field conditions ) on a template.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.TemplateRuleProperty>- See Also:
-
getStatus
The status of the template.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnTemplateProps.BuilderofCfnTemplateProps
-