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.
In your request, you must also specify an IAM role that has permission to publish logs to CloudWatch Logs.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateFlowLogsRequest : AmazonEC2Request IRequestEvents
The CreateFlowLogsRequest type exposes the following members
Name | Description | |
---|---|---|
CreateFlowLogsRequest() |
Name | Type | Description | |
---|---|---|---|
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. |
|
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. |
|
LogGroupName | System.String |
Gets and sets the property LogGroupName.
The name of the CloudWatch log group. |
|
ResourceIds | System.Collections.Generic.List<System.String> |
Gets and sets the property ResourceIds.
One or more subnet, network interface, or VPC IDs. |
|
ResourceType | Amazon.EC2.FlowLogsResourceType |
Gets and sets the property ResourceType.
The type of resource on which to create the flow log. |
|
TrafficType | Amazon.EC2.TrafficType |
Gets and sets the property TrafficType.
The type of traffic to log. |
.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