Builder

class Builder

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.

Link copied to clipboard

The destination options.

Link copied to clipboard

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Link copied to clipboard

The destination for the flow log data. The meaning of this parameter depends on the destination type.

Link copied to clipboard

The type of destination for the flow log data.

Link copied to clipboard

The fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.

Link copied to clipboard

The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.

Link copied to clipboard

The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be 60 seconds for transit gateway resource types.

Link copied to clipboard

The IDs of the resources to monitor. For example, if the resource type is VPC, specify the IDs of the VPCs.

Link copied to clipboard

The type of resource to monitor.

Link copied to clipboard

The tags to apply to the flow logs.

Link copied to clipboard

The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.