Struct aws_sdk_ec2::model::FlowLog
source · #[non_exhaustive]pub struct FlowLog { /* private fields */ }
Expand description
Describes a flow log.
Implementations§
source§impl FlowLog
impl FlowLog
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The date and time the flow log was created.
sourcepub fn deliver_logs_error_message(&self) -> Option<&str>
pub fn deliver_logs_error_message(&self) -> Option<&str>
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.
sourcepub fn deliver_logs_permission_arn(&self) -> Option<&str>
pub fn deliver_logs_permission_arn(&self) -> Option<&str>
The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.
sourcepub fn deliver_cross_account_role(&self) -> Option<&str>
pub fn deliver_cross_account_role(&self) -> Option<&str>
The ARN of the IAM role that allows the service to publish flow logs across accounts.
sourcepub fn deliver_logs_status(&self) -> Option<&str>
pub fn deliver_logs_status(&self) -> Option<&str>
The status of the logs delivery (SUCCESS
| FAILED
).
sourcepub fn flow_log_id(&self) -> Option<&str>
pub fn flow_log_id(&self) -> Option<&str>
The ID of the flow log.
sourcepub fn flow_log_status(&self) -> Option<&str>
pub fn flow_log_status(&self) -> Option<&str>
The status of the flow log (ACTIVE
).
sourcepub fn log_group_name(&self) -> Option<&str>
pub fn log_group_name(&self) -> Option<&str>
The name of the flow log group.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource being monitored.
sourcepub fn traffic_type(&self) -> Option<&TrafficType>
pub fn traffic_type(&self) -> Option<&TrafficType>
The type of traffic captured for the flow log.
sourcepub fn log_destination_type(&self) -> Option<&LogDestinationType>
pub fn log_destination_type(&self) -> Option<&LogDestinationType>
The type of destination for the flow log data.
sourcepub fn log_destination(&self) -> Option<&str>
pub fn log_destination(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the destination for the flow log data.
sourcepub fn log_format(&self) -> Option<&str>
pub fn log_format(&self) -> Option<&str>
The format of the flow log record.
The tags for the flow log.
sourcepub fn max_aggregation_interval(&self) -> Option<i32>
pub fn max_aggregation_interval(&self) -> Option<i32>
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
sourcepub fn destination_options(&self) -> Option<&DestinationOptionsResponse>
pub fn destination_options(&self) -> Option<&DestinationOptionsResponse>
The destination options.