Skip to content
v2.278.0

CfnFlowLogPropsMixin Mixin ​

Specifies a VPC flow log that captures IP traffic for a specified network interface, subnet, or VPC.

To view the log data, use Amazon CloudWatch Logs (CloudWatch Logs) to help troubleshoot connection issues. For example, you can use a flow log to investigate why certain traffic isn't reaching an instance, which can help you diagnose overly restrictive security group rules. For more information, see VPC Flow Logs in the Amazon VPC User Guide .

Initializer ​

ts
new CfnFlowLogPropsMixin(props: CfnFlowLogMixinProps, options?: CfnPropertyMixinOptions)
python
CfnFlowLogPropsMixin(props: CfnFlowLogMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnFlowLogPropsMixin(CfnFlowLogMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnFlowLogPropsMixin(CfnFlowLogMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnFlowLogPropsMixin(Props CfnFlowLogMixinProps, 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.