FlowLogDestinationConfig

class aws_cdk.aws_ec2.FlowLogDestinationConfig(*, log_destination_type, iam_role=None, key_prefix=None, log_group=None, s3_bucket=None)

Bases: object

(experimental) Flow Log Destination configuration.

Parameters
  • log_destination_type (FlowLogDestinationType) – (experimental) The type of destination to publish the flow logs to. Default: - CLOUD_WATCH_LOGS

  • iam_role (Optional[IRole]) – (experimental) The IAM Role that has access to publish to CloudWatch logs. Default: - default IAM role is created for you

  • key_prefix (Optional[str]) – (experimental) S3 bucket key prefix to publish the flow logs to. Default: - undefined

  • log_group (Optional[ILogGroup]) – (experimental) The CloudWatch Logs Log Group to publish the flow logs to. Default: - default log group is created for you

  • s3_bucket (Optional[IBucket]) – (experimental) S3 bucket to publish the flow logs to. Default: - undefined

Stability

experimental

Attributes

iam_role

(experimental) The IAM Role that has access to publish to CloudWatch logs.

Default
  • default IAM role is created for you

Stability

experimental

Return type

Optional[IRole]

key_prefix

(experimental) S3 bucket key prefix to publish the flow logs to.

Default
  • undefined

Stability

experimental

Return type

Optional[str]

log_destination_type

(experimental) The type of destination to publish the flow logs to.

Default
  • CLOUD_WATCH_LOGS

Stability

experimental

Return type

FlowLogDestinationType

log_group

(experimental) The CloudWatch Logs Log Group to publish the flow logs to.

Default
  • default log group is created for you

Stability

experimental

Return type

Optional[ILogGroup]

s3_bucket

(experimental) S3 bucket to publish the flow logs to.

Default
  • undefined

Stability

experimental

Return type

Optional[IBucket]