CfnLoggingConfigurationPropsMixin 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.
| CloudFormation | AWS::NetworkFirewall::LoggingConfiguration |
|---|---|
| Source | |
| Type last changed |
Initializer
ts
new CfnLoggingConfigurationPropsMixin(props: CfnLoggingConfigurationMixinProps, options?: CfnPropertyMixinOptions)
python
CfnLoggingConfigurationPropsMixin(props: CfnLoggingConfigurationMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnLoggingConfigurationPropsMixin(CfnLoggingConfigurationMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnLoggingConfigurationPropsMixin(CfnLoggingConfigurationMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnLoggingConfigurationPropsMixin(Props CfnLoggingConfigurationMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #Checks if `x` is a Mixin.
1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #Check if this mixin supports the given construct.