CfnTemplateProps

class aws_cdk.aws_networksecuritymanager.CfnTemplateProps(*, template_name, associated_rule_list=None, firewall_type=None, tags=None, template_description=None)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-template.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-template.html#cfn-networksecuritymanager-template-associatedrulelist

firewall_type

The type of firewall.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-template.html#cfn-networksecuritymanager-template-firewalltype

tags

The tags associated with the template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-template.html#cfn-networksecuritymanager-template-tags

template_description

A description of the template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-template.html#cfn-networksecuritymanager-template-templatedescription

template_name

The name of the template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-template.html#cfn-networksecuritymanager-template-templatename