AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a flow log.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.FlowLog

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class FlowLog

The FlowLog type exposes the following members

Constructors

NameDescription
Public Method FlowLog()

Properties

NameTypeDescription
Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

The date and time the flow log was created.

Public Property DeliverCrossAccountRole System.String

Gets and sets the property DeliverCrossAccountRole.

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

Public Property DeliverLogsErrorMessage System.String

Gets and sets the property DeliverLogsErrorMessage.

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.

Public Property DeliverLogsPermissionArn System.String

Gets and sets the property DeliverLogsPermissionArn.

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

Public Property DeliverLogsStatus System.String

Gets and sets the property DeliverLogsStatus.

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

Public Property DestinationOptions Amazon.EC2.Model.DestinationOptionsResponse

Gets and sets the property DestinationOptions.

The destination options.

Public Property FlowLogId System.String

Gets and sets the property FlowLogId.

The ID of the flow log.

Public Property FlowLogStatus System.String

Gets and sets the property FlowLogStatus.

The status of the flow log (ACTIVE).

Public Property LogDestination System.String

Gets and sets the property LogDestination.

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

Public Property LogDestinationType Amazon.EC2.LogDestinationType

Gets and sets the property LogDestinationType.

The type of destination for the flow log data.

Public Property LogFormat System.String

Gets and sets the property LogFormat.

The format of the flow log record.

Public Property LogGroupName System.String

Gets and sets the property LogGroupName.

The name of the flow log group.

Public Property MaxAggregationInterval System.Int32

Gets and sets the property MaxAggregationInterval.

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

Public Property ResourceId System.String

Gets and sets the property ResourceId.

The ID of the resource being monitored.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags for the flow log.

Public Property TrafficType Amazon.EC2.TrafficType

Gets and sets the property TrafficType.

The type of traffic captured for the flow log.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5