Skip to content
v2.278.0

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 LogDestinationConfig array element to LogDestinationConfigs .
  • Delete a log destination object by removing a single LogDestinationConfig array element from LogDestinationConfigs .
  • Change the LogDestination setting in a single LogDestinationConfig array 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.

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.