FlowLogDestination

class aws_cdk.aws_ec2.FlowLogDestination

Bases: object

(experimental) The destination type for the flow log.

Stability

experimental

Methods

abstract bind(scope, flow_log)

(experimental) Generates a flow log destination configuration.

Parameters
Stability

experimental

Return type

FlowLogDestinationConfig

Static Methods

classmethod to_cloud_watch_logs(log_group=None, iam_role=None)

(experimental) Use CloudWatch logs as the destination.

Parameters
Stability

experimental

Return type

FlowLogDestination

classmethod to_s3(bucket=None, key_prefix=None)

(experimental) Use S3 as the destination.

Parameters
  • bucket (Optional[IBucket]) –

  • key_prefix (Optional[str]) –

Stability

experimental

Return type

FlowLogDestination