AWS SDK Version 2 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.

.NET Framework 4.5
 
Container for the parameters to the CreateFlowLogs operation. Creates one or more flow logs to capture IP traffic for a specific network interface, subnet, or VPC. Flow logs are delivered to a specified log group in Amazon CloudWatch Logs. If you specify a VPC or subnet in the request, a log stream is created in CloudWatch Logs for each network interface in the subnet or VPC. Log streams can include information about accepted and rejected traffic to a network interface. You can view the data in your log streams using Amazon CloudWatch Logs.

In your request, you must also specify an IAM role that has permission to publish logs to CloudWatch Logs.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.CreateFlowLogsRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CreateFlowLogsRequest : AmazonEC2Request
         IRequestEvents

The CreateFlowLogsRequest type exposes the following members

Constructors

NameDescription
Public Method CreateFlowLogsRequest()

Properties

NameTypeDescription
Public Property ClientToken System.String Gets and sets the property ClientToken.

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Public Property DeliverLogsPermissionArn System.String Gets and sets the property DeliverLogsPermissionArn.

The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group.

Public Property LogGroupName System.String Gets and sets the property LogGroupName.

The name of the CloudWatch log group.

Public Property ResourceIds System.Collections.Generic.List<System.String> Gets and sets the property ResourceIds.

One or more subnet, network interface, or VPC IDs.

Public Property ResourceType Amazon.EC2.FlowLogsResourceType Gets and sets the property ResourceType.

The type of resource on which to create the flow log.

Public Property TrafficType Amazon.EC2.TrafficType Gets and sets the property TrafficType.

The type of traffic to log.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8