interface CfnTemplateProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkSecurityManager.CfnTemplateProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworksecuritymanager#CfnTemplateProps |
Java | software.amazon.awscdk.services.networksecuritymanager.CfnTemplateProps |
Python | aws_cdk.aws_networksecuritymanager.CfnTemplateProps |
TypeScript | aws-cdk-lib » aws_networksecuritymanager » CfnTemplateProps |
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 { 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
| Name | Type | Description |
|---|---|---|
| template | string | The name of the template. |
| associated | IResolvable | (IResolvable | Associated)[] | List of rules associated with this template. |
| firewall | string | The type of firewall. |
| tags? | Cfn[] | The tags associated with the template. |
| template | string | A description of the template. |
templateName
Type:
string
The name of the template.
associatedRuleList?
Type:
IResolvable | (IResolvable | Associated)[]
(optional)
List of rules associated with this template.
firewallType?
Type:
string
(optional)
The type of firewall.
tags?
Type:
Cfn[]
(optional)
The tags associated with the template.
templateDescription?
Type:
string
(optional)
A description of the template.

.NET
Go
Java
Python
TypeScript