class CfnLoggingConfigurationPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins.CfnLoggingConfigurationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsnetworkfirewall/mixins#CfnLoggingConfigurationPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.networkfirewall.mixins.CfnLoggingConfigurationPropsMixin |
Python | aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnLoggingConfigurationPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_networkfirewall » mixins » CfnLoggingConfigurationPropsMixin |
Implements
IMixin
Extends
Mixin
Use the logging configuration to define the destinations and logging options for an firewall.
You must change the logging configuration by changing one LogDestinationConfig setting at a time in your LogDestinationConfigs .
You can make only one of the following changes to your logging configuration resource:
- Create a new log destination object by adding a single
LogDestinationConfigarray element toLogDestinationConfigs. - Delete a log destination object by removing a single
LogDestinationConfigarray element fromLogDestinationConfigs. - Change the
LogDestinationsetting in a singleLogDestinationConfigarray element.
You can't change the LogDestinationType or LogType in a LogDestinationConfig . To change these settings, delete the existing LogDestinationConfig object and create a new one, in two separate modifications.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as networkfirewall_mixins } from '@aws-cdk/mixins-preview/aws-networkfirewall';
const cfnLoggingConfigurationPropsMixin = new networkfirewall_mixins.CfnLoggingConfigurationPropsMixin({
enableMonitoringDashboard: false,
firewallArn: 'firewallArn',
firewallName: 'firewallName',
loggingConfiguration: {
logDestinationConfigs: [{
logDestination: {
logDestinationKey: 'logDestination',
},
logDestinationType: 'logDestinationType',
logType: 'logType',
}],
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnLoggingConfigurationPropsMixin(props: CfnLoggingConfigurationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Logging Configuration Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::NetworkFirewall::LoggingConfiguration.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript