Struct aws_sdk_ec2::model::FlowLog
source · [−]#[non_exhaustive]pub struct FlowLog { /* private fields */ }
Expand description
Describes a flow log.
Implementations
sourceimpl 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 that posts logs to CloudWatch Logs.
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 flow log ID.
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 on which the flow log was created.
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 to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.
sourcepub fn log_destination(&self) -> Option<&str>
pub fn log_destination(&self) -> Option<&str>
The destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.
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.
Trait Implementations
sourceimpl PartialEq<FlowLog> for FlowLog
impl PartialEq<FlowLog> for FlowLog
impl StructuralPartialEq for FlowLog
Auto Trait Implementations
impl RefUnwindSafe for FlowLog
impl Send for FlowLog
impl Sync for FlowLog
impl Unpin for FlowLog
impl UnwindSafe for FlowLog
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more