class CfnFirewallLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins.CfnFirewallLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsnetworkfirewall/mixins#CfnFirewallLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.networkfirewall.mixins.CfnFirewallLogsMixin |
Python | aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnFirewallLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_networkfirewall » mixins » CfnFirewallLogsMixin |
Implements
IMixin
Extends
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as networkfirewall_mixins } from '@aws-cdk/mixins-preview/aws-networkfirewall';
declare const logsDelivery: logs.ILogsDelivery;
const cfnFirewallLogsMixin = new networkfirewall_mixins.CfnFirewallLogsMixin('logType', logsDelivery);
Initializer
new CfnFirewallLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::NetworkFirewall::Firewall.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static ALERT_LOGS | Cfn | |
| static FLOW_LOGS | Cfn | |
| static TLS_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static ALERT_LOGS
Type:
Cfn
static FLOW_LOGS
Type:
Cfn
static TLS_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript