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_LOGSiam_role (
Optional
[IRole
]) – (experimental) The IAM Role that has access to publish to CloudWatch logs. Default: - default IAM role is created for youkey_prefix (
Optional
[str
]) – (experimental) S3 bucket key prefix to publish the flow logs to. Default: - undefinedlog_group (
Optional
[ILogGroup
]) – (experimental) The CloudWatch Logs Log Group to publish the flow logs to. Default: - default log group is created for yous3_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