AwsEc2FlowLogPropertiesArgs

data class AwsEc2FlowLogPropertiesArgs(val deliverCrossAccountRole: Output<String>? = null, val deliverLogsPermissionArn: Output<String>? = null, val destinationOptions: Output<DestinationOptionsModelPropertiesArgs>? = null, val id: Output<String>? = null, val logDestination: Output<String>? = null, val logDestinationType: Output<Either<String, LogDestinationType>>? = null, val logFormat: Output<String>? = null, val logGroupName: Output<String>? = null, val maxAggregationInterval: Output<Int>? = null, val resourceId: Output<String>? = null, val resourceType: Output<Either<String, ResourceType>>? = null, val tags: Output<List<TagArgs>>? = null, val trafficType: Output<Either<String, TrafficType>>? = null) : ConvertibleToJava<AwsEc2FlowLogPropertiesArgs>

Definition of awsEc2FlowLog

Constructors

Link copied to clipboard
constructor(deliverCrossAccountRole: Output<String>? = null, deliverLogsPermissionArn: Output<String>? = null, destinationOptions: Output<DestinationOptionsModelPropertiesArgs>? = null, id: Output<String>? = null, logDestination: Output<String>? = null, logDestinationType: Output<Either<String, LogDestinationType>>? = null, logFormat: Output<String>? = null, logGroupName: Output<String>? = null, maxAggregationInterval: Output<Int>? = null, resourceId: Output<String>? = null, resourceType: Output<Either<String, ResourceType>>? = null, tags: Output<List<TagArgs>>? = null, trafficType: Output<Either<String, TrafficType>>? = null)

Properties

Link copied to clipboard
val deliverCrossAccountRole: Output<String>? = null

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

Link copied to clipboard
val deliverLogsPermissionArn: Output<String>? = null

The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.

Link copied to clipboard

Property destinationOptions

Link copied to clipboard
val id: Output<String>? = null

The Flow Log ID

Link copied to clipboard
val logDestination: Output<String>? = null

Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.

Link copied to clipboard
val logDestinationType: Output<Either<String, LogDestinationType>>? = null

Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Link copied to clipboard
val logFormat: Output<String>? = null

The fields to include in the flow log record, in the order in which they should appear.

Link copied to clipboard
val logGroupName: Output<String>? = null

The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.

Link copied to clipboard
val maxAggregationInterval: Output<Int>? = null

The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).

Link copied to clipboard
val resourceId: Output<String>? = null

The ID of the subnet, network interface, or VPC for which you want to create a flow log.

Link copied to clipboard
val resourceType: Output<Either<String, ResourceType>>? = null

The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags to apply to the flow logs.

Link copied to clipboard
val trafficType: Output<Either<String, TrafficType>>? = null

The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.

Functions

Link copied to clipboard
open override fun toJava(): AwsEc2FlowLogPropertiesArgs