Interface CfnTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:59.243Z")
@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.networksecuritymanager.*;
CfnTemplateProps cfnTemplateProps = CfnTemplateProps.builder()
.templateName("templateName")
// the properties below are optional
.associatedRuleList(List.of(AssociatedRuleProperty.builder()
.ruleArn("ruleArn")
.build()))
.firewallType("firewallType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.templateDescription("templateDescription")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplatePropsstatic final classAn implementation forCfnTemplateProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTemplateName
The name of the template.- See Also:
-
getAssociatedRuleList
List of rules associated with this template.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.AssociatedRuleProperty>- See Also:
-
getFirewallType
The type of firewall.- See Also:
-
getTags
The tags associated with the template.- See Also:
-
getTemplateDescription
A description of the template.- See Also:
-
builder
- Returns:
- a
CfnTemplateProps.BuilderofCfnTemplateProps
-