Skip to content
v2.275.0

CfnTemplateProps Struct ​

Properties for defining a CfnTemplate.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networksecuritymanager as networksecuritymanager } from 'aws-cdk-lib';
const cfnTemplateProps: networksecuritymanager.CfnTemplateProps = {
  templateName: 'templateName',

  // the properties below are optional
  associatedRuleList: [{
    ruleArn: 'ruleArn',
  }],
  firewallType: 'firewallType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  templateDescription: 'templateDescription',
};

Properties ​

associatedRuleListoptionalIResolvable | IResolvable | CfnTemplate.AssociatedRuleProperty[]associated_rule_listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AssociatedRuleProperty]]]associatedRuleListoptionalIResolvableAssociatedRuleListoptionalIResolvableAssociatedRuleListoptionalinterface{}#
List of rules associated with this template.
firewallTypeoptionalstringfirewall_typeoptionalstrfirewallTypeoptionalStringFirewallTypeoptionalstringFirewallTypeoptional*string#
The type of firewall.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags associated with the template.
templateDescriptionoptionalstringtemplate_descriptionoptionalstrtemplateDescriptionoptionalStringTemplateDescriptionoptionalstringTemplateDescriptionoptional*string#
A description of the template.
templateNamestringtemplate_namestrtemplateNameStringTemplateNamestringTemplateName*stringrequired#
The name of the template.