CfnTemplateProps
- class aws_cdk.aws_networksecuritymanager.CfnTemplateProps(*, template_name, associated_rule_list=None, firewall_type=None, tags=None, template_description=None)
Bases:
objectProperties for defining a
CfnTemplate.- Parameters:
template_name (
str) – The name of the template.associated_rule_list (
Union[IResolvable,Sequence[Union[IResolvable,AssociatedRuleProperty,Dict[str,Any]]],None]) – List of rules associated with this template.firewall_type (
Optional[str]) – The type of firewall.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags associated with the template.template_description (
Optional[str]) – A description of the template.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_networksecuritymanager as networksecuritymanager cfn_template_props = networksecuritymanager.CfnTemplateProps( template_name="templateName", # the properties below are optional associated_rule_list=[networksecuritymanager.CfnTemplate.AssociatedRuleProperty( rule_arn="ruleArn" )], firewall_type="firewallType", tags=[CfnTag( key="key", value="value" )], template_description="templateDescription" )
Attributes
- associated_rule_list
List of rules associated with this template.
- firewall_type
The type of firewall.
- tags
The tags associated with the template.
- template_description
A description of the template.
- template_name
The name of the template.