pub struct FlowLogResult {Show 17 fields
pub arn: Output<String>,
pub deliver_cross_account_role: Output<Option<String>>,
pub destination_options: Output<Option<FlowLogDestinationOptions>>,
pub eni_id: Output<Option<String>>,
pub iam_role_arn: Output<Option<String>>,
pub log_destination: Output<String>,
pub log_destination_type: Output<Option<String>>,
pub log_format: Output<String>,
pub log_group_name: Output<String>,
pub max_aggregation_interval: Output<Option<i32>>,
pub subnet_id: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub tags_all: Output<HashMap<String, String>>,
pub traffic_type: Output<Option<String>>,
pub transit_gateway_attachment_id: Output<Option<String>>,
pub transit_gateway_id: Output<Option<String>>,
pub vpc_id: Output<Option<String>>,
}
Fields§
§arn: Output<String>
The ARN of the Flow Log.
deliver_cross_account_role: Output<Option<String>>
ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
destination_options: Output<Option<FlowLogDestinationOptions>>
Describes the destination options for a flow log. More details below.
eni_id: Output<Option<String>>
Elastic Network Interface ID to attach to
iam_role_arn: Output<Option<String>>
The ARN for the IAM role that’s used to post flow logs to a CloudWatch Logs log group
log_destination: Output<String>
The ARN of the logging destination. Either log_destination
or log_group_name
must be set.
log_destination_type: Output<Option<String>>
The type of the logging destination. Valid values: cloud-watch-logs
, s3
, kinesis-data-firehose
. Default: cloud-watch-logs
.
log_format: Output<String>
The fields to include in the flow log record. Accepted format example: "$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}"
.
log_group_name: Output<String>
Deprecated: Use log_destination
instead. The name of the CloudWatch log group. Either log_group_name
or log_destination
must be set.
max_aggregation_interval: Output<Option<i32>>
The maximum interval of time
during which a flow of packets is captured and aggregated into a flow
log record. Valid Values: 60
seconds (1 minute) or 600
seconds (10
minutes). Default: 600
. When transit_gateway_id
or transit_gateway_attachment_id
is specified, max_aggregation_interval
must be 60 seconds (1 minute).
subnet_id: Output<Option<String>>
Subnet ID to attach to
Key-value map of resource tags. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.
traffic_type: Output<Option<String>>
The type of traffic to capture. Valid values: ACCEPT
,REJECT
, ALL
.
transit_gateway_attachment_id: Output<Option<String>>
Transit Gateway Attachment ID to attach to
transit_gateway_id: Output<Option<String>>
Transit Gateway ID to attach to
vpc_id: Output<Option<String>>
VPC ID to attach to