CfnFirewallLogsMixin

class aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnFirewallLogsMixin(log_type, log_delivery)

Bases: Mixin

Use the firewall to provide stateful, managed, network firewall and intrusion detection and prevention filtering for your VPCs in Amazon VPC .

The firewall defines the configuration settings for an AWS Network Firewall firewall. The settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource.

See:

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

CloudformationResource:

AWS::NetworkFirewall::Firewall

Mixin:

true

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 import aws_logs as logs
from aws_cdk.mixins_preview.aws_networkfirewall import mixins as networkfirewall_mixins

# logs_delivery: logs.ILogsDelivery

cfn_firewall_logs_mixin = networkfirewall_mixins.CfnFirewallLogsMixin("logType", logs_delivery)

Create a mixin to enable vended logs for AWS::NetworkFirewall::Firewall.

Parameters:
  • log_type (str) – Type of logs that are getting vended.

  • log_delivery (ILogsDelivery) – Object in charge of setting up the delivery destination and delivery connection.

Methods

apply_to(resource)

Apply vended logs configuration to the construct.

Parameters:

resource (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct (has vendedLogs property).

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

ALERT_LOGS = <aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnFirewallAlertLogs object>
FLOW_LOGS = <aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnFirewallFlowLogs object>
TLS_LOGS = <aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnFirewallTlsLogs object>

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental