FlowLogDestination

class aws_cdk.aws_ec2.FlowLogDestination

Bases: object

The destination type for the flow log.

stability :stability: experimental

__init__()

Initialize self. See help(type(self)) for accurate signature.

Return type

None

Methods

bind(scope, flow_log)

Generates a flow log destination configuration.

Parameters

stability :stability: experimental

Return type

FlowLogDestinationConfig

Static Methods

classmethod to_cloud_watch_logs(log_group=None, iam_role=None)

Use CloudWatch logs as the destination.

Parameters

stability :stability: experimental

Return type

FlowLogDestination

classmethod to_s3(bucket=None)

Use S3 as the destination.

Parameters

bucket (Optional[IBucket]) –

stability :stability: experimental

Return type

FlowLogDestination