Skip to content

EC2  >  Structures  >  FlowLog

FlowLog

Structure Class

FlowLog dataclass

Bases: _SerdeShape

Describes a flow log.

Attributes

creation_time class-attribute instance-attribute
creation_time: datetime | None = ...

The date and time the flow log was created.

deliver_cross_account_role class-attribute instance-attribute
deliver_cross_account_role: str | None = ...

The ARN of the IAM role that allows the service to publish flow logs across accounts.

deliver_logs_error_message class-attribute instance-attribute
deliver_logs_error_message: str | None = ...

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

deliver_logs_permission_arn class-attribute instance-attribute
deliver_logs_permission_arn: str | None = ...

The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.

deliver_logs_status class-attribute instance-attribute
deliver_logs_status: str | None = ...

The status of the logs delivery (SUCCESS | FAILED).

destination_options class-attribute instance-attribute
destination_options: DestinationOptionsResponse | None = ...

The destination options.

flow_log_id class-attribute instance-attribute
flow_log_id: str | None = ...

The ID of the flow log.

flow_log_status class-attribute instance-attribute
flow_log_status: str | None = ...

The status of the flow log (ACTIVE).

log_destination class-attribute instance-attribute
log_destination: str | None = ...

The Amazon Resource Name (ARN) of the destination for the flow log data.

log_destination_type class-attribute instance-attribute
log_destination_type: str | None = ...

The type of destination for the flow log data.

log_format class-attribute instance-attribute
log_format: str | None = ...

The format of the flow log record.

log_group_name class-attribute instance-attribute
log_group_name: str | None = ...

The name of the flow log group.

max_aggregation_interval class-attribute instance-attribute
max_aggregation_interval: int | None = ...

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.

Valid Values: 60 | 600

resource_id class-attribute instance-attribute
resource_id: str | None = ...

The ID of the resource being monitored.

tag_field_specifications class-attribute instance-attribute
tag_field_specifications: list[TagFieldSpecificationResponse] | None = ...

The tag configuration associated with the Flow Logs Amazon EC2 Tags feature fields in your custom log format.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

The tags for the flow log.

traffic_type class-attribute instance-attribute
traffic_type: str | None = ...

The type of traffic captured for the flow log.