FlowLogOptions¶
-
class
aws_cdk.aws_ec2.
FlowLogOptions
(*, destination=None, traffic_type=None)¶ Bases:
object
(experimental) Options to add a flow log to a VPC.
- Parameters
destination (
Optional
[FlowLogDestination
]) – (experimental) Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3 Default: FlowLogDestinationType.toCloudWatchLogs()traffic_type (
Optional
[FlowLogTrafficType
]) – (experimental) The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic. Default: ALL
- Stability
experimental
Attributes
-
destination
¶ (experimental) Specifies the type of destination to which the flow log data is to be published.
Flow log data can be published to CloudWatch Logs or Amazon S3
- Default
FlowLogDestinationType.toCloudWatchLogs()
- Stability
experimental
- Return type
Optional
[FlowLogDestination
]
-
traffic_type
¶ (experimental) The type of traffic to log.
You can log traffic that the resource accepts or rejects, or all traffic.
- Default
ALL
- Stability
experimental
- Return type
Optional
[FlowLogTrafficType
]