FlowLogArgs class

The set of arguments for FlowLog. The set of arguments for FlowLog.

Constructors

FlowLogArgs({Input<String?>? deliverCrossAccountRole, Input<FlowLogDestinationOptions?>? destinationOptions, Input<String?>? eniId, Input<String?>? iamRoleArn, Input<String?>? logDestination, Input<String?>? logDestinationType, Input<String?>? logFormat, Input<int?>? maxAggregationInterval, Input<String?>? region, Input<String?>? regionalNatGatewayId, Input<String?>? subnetId, Input<List<FlowLogTagFieldSpecification>?>? tagFieldSpecifications, Input<Map<String, String>?>? tags, Input<String?>? trafficType, Input<String?>? transitGatewayAttachmentId, Input<String?>? transitGatewayId, Input<String?>? vpcId})
Creates a new FlowLogArgs. deliverCrossAccountRole ARN of the IAM role in the destination account used for cross-account delivery of flow logs. destinationOptions Destination options for a flow log. More details below. eniId Elastic Network Interface ID to attach to. iamRoleArn ARN of the IAM role used to post flow logs. Corresponds to DeliverLogsPermissionArn in the AWS API. logDestination ARN of the logging destination. logDestinationType Logging destination type. Valid values: cloud-watch-logs, s3, kinesis-data-firehose. Default: cloud-watch-logs. logFormat Fields to include in the flow log record. Accepted format example: "$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}". maxAggregationInterval 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 transitGatewayId or transitGatewayAttachmentId is specified, maxAggregationInterval must be 60 seconds (1 minute). region Region where this resource will be managed. Defaults to the Region set in the provider configuration. regionalNatGatewayId Regional NAT Gateway ID to attach to. subnetId Subnet ID to attach to. tagFieldSpecifications Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., $${instance-tag}) used in logFormat. More details below. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. trafficType Type of traffic to capture. Valid values: ACCEPT,REJECT, ALL. Required if eniId, regionalNatGatewayId, subnetId, or vpcId is specified. transitGatewayAttachmentId Transit Gateway Attachment ID to attach to. transitGatewayId Transit Gateway ID to attach to. vpcId VPC ID to attach to.
const
FlowLogArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deliverCrossAccountRole → Input<String?>?
ARN of the IAM role in the destination account used for cross-account delivery of flow logs.
final
destinationOptions → Input<FlowLogDestinationOptions?>?
Destination options for a flow log. More details below.
final
eniId → Input<String?>?
Elastic Network Interface ID to attach to.
final
hashCode int
The hash code for this object.
no setterinherited
iamRoleArn → Input<String?>?
ARN of the IAM role used to post flow logs. Corresponds to DeliverLogsPermissionArn in the AWS API.
final
logDestination → Input<String?>?
ARN of the logging destination.
final
logDestinationType → Input<String?>?
Logging destination type. Valid values: cloud-watch-logs, s3, kinesis-data-firehose. Default: cloud-watch-logs.
final
logFormat → Input<String?>?
Fields to include in the flow log record. Accepted format example: "$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}".
final
maxAggregationInterval → Input<int?>?
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 transitGatewayId or transitGatewayAttachmentId is specified, maxAggregationInterval must be 60 seconds (1 minute).
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
regionalNatGatewayId → Input<String?>?
Regional NAT Gateway ID to attach to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subnetId → Input<String?>?
Subnet ID to attach to.
final
tagFieldSpecifications → Input<List<FlowLogTagFieldSpecification>?>?
Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., $${instance-tag}) used in logFormat. More details below.
final
tags → Input<Map<String, String>?>?
Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
trafficType → Input<String?>?
Type of traffic to capture. Valid values: ACCEPT,REJECT, ALL. Required if eniId, regionalNatGatewayId, subnetId, or vpcId is specified.
final
transitGatewayAttachmentId → Input<String?>?
Transit Gateway Attachment ID to attach to.
final
transitGatewayId → Input<String?>?
Transit Gateway ID to attach to.
final
vpcId → Input<String?>?
VPC ID to attach to.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited