# CfnTemplateProps

Properties for defining a `CfnTemplate`.

Extends: CfnTemplateProps
Used as props by: CfnTemplate

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## 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

- `associatedRuleList`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.AssociatedRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networksecuritymanager.CfnTemplate.AssociatedRuleProperty.html)[] — List of rules associated with this template.

- `firewallType`: string — The type of firewall.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags associated with the template.

- `templateDescription`: string — A description of the template.

- `templateName`: string (required) — The name of the template.
