CfnFirewallPolicyMixinProps

class aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnFirewallPolicyMixinProps(*, description=None, firewall_policy=None, firewall_policy_name=None, tags=None)

Bases: object

Properties for CfnFirewallPolicyPropsMixin.

Parameters:
  • description (Optional[str]) – A description of the firewall policy.

  • firewall_policy (Union[IResolvable, FirewallPolicyProperty, Dict[str, Any], None]) – The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.

  • firewall_policy_name (Optional[str]) – The descriptive name of the firewall policy. You can’t change the name of a firewall policy after you create it.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_networkfirewall import mixins as networkfirewall_mixins

cfn_firewall_policy_mixin_props = networkfirewall_mixins.CfnFirewallPolicyMixinProps(
    description="description",
    firewall_policy=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.FirewallPolicyProperty(
        enable_tls_session_holding=False,
        policy_variables=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.PolicyVariablesProperty(
            rule_variables={
                "rule_variables_key": {
                    "definition": ["definition"]
                }
            }
        ),
        stateful_default_actions=["statefulDefaultActions"],
        stateful_engine_options=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.StatefulEngineOptionsProperty(
            flow_timeouts=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.FlowTimeoutsProperty(
                tcp_idle_timeout_seconds=123
            ),
            rule_order="ruleOrder",
            stream_exception_policy="streamExceptionPolicy"
        ),
        stateful_rule_group_references=[networkfirewall_mixins.CfnFirewallPolicyPropsMixin.StatefulRuleGroupReferenceProperty(
            deep_threat_inspection=False,
            override=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.StatefulRuleGroupOverrideProperty(
                action="action"
            ),
            priority=123,
            resource_arn="resourceArn"
        )],
        stateless_custom_actions=[networkfirewall_mixins.CfnFirewallPolicyPropsMixin.CustomActionProperty(
            action_definition=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.ActionDefinitionProperty(
                publish_metric_action=networkfirewall_mixins.CfnFirewallPolicyPropsMixin.PublishMetricActionProperty(
                    dimensions=[networkfirewall_mixins.CfnFirewallPolicyPropsMixin.DimensionProperty(
                        value="value"
                    )]
                )
            ),
            action_name="actionName"
        )],
        stateless_default_actions=["statelessDefaultActions"],
        stateless_fragment_default_actions=["statelessFragmentDefaultActions"],
        stateless_rule_group_references=[networkfirewall_mixins.CfnFirewallPolicyPropsMixin.StatelessRuleGroupReferenceProperty(
            priority=123,
            resource_arn="resourceArn"
        )],
        tls_inspection_configuration_arn="tlsInspectionConfigurationArn"
    ),
    firewall_policy_name="firewallPolicyName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A description of the firewall policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-description

firewall_policy

The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy

firewall_policy_name

The descriptive name of the firewall policy.

You can’t change the name of a firewall policy after you create it.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicyname

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

See:

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