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< ? tagFieldSpecifications, Input<FlowLogTagFieldSpecification> ?>Map< ? tags, Input<String, String> ?>String?> ? trafficType, Input<String?> ? transitGatewayAttachmentId, Input<String?> ? transitGatewayId, Input<String?> ? vpcId}) -
Creates a new FlowLogArgs.
deliverCrossAccountRoleARN of the IAM role in the destination account used for cross-account delivery of flow logs.destinationOptionsDestination options for a flow log. More details below.eniIdElastic Network Interface ID to attach to.iamRoleArnARN of the IAM role used to post flow logs. Corresponds toDeliverLogsPermissionArnin the AWS API.logDestinationARN of the logging destination.logDestinationTypeLogging destination type. Valid values:cloud-watch-logs,s3,kinesis-data-firehose. Default:cloud-watch-logs.logFormatFields to include in the flow log record. Accepted format example:"$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}".maxAggregationIntervalMaximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values:60seconds (1 minute) or600seconds (10 minutes). Default:600. WhentransitGatewayIdortransitGatewayAttachmentIdis specified,maxAggregationIntervalmust be 60 seconds (1 minute).regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.regionalNatGatewayIdRegional NAT Gateway ID to attach to.subnetIdSubnet ID to attach to.tagFieldSpecificationsTag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g.,$${instance-tag}) used inlogFormat. More details below.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.trafficTypeType of traffic to capture. Valid values:ACCEPT,REJECT,ALL. Required ifeniId,regionalNatGatewayId,subnetId, orvpcIdis specified.transitGatewayAttachmentIdTransit Gateway Attachment ID to attach to.transitGatewayIdTransit Gateway ID to attach to.vpcIdVPC 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
DeliverLogsPermissionArnin 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:
60seconds (1 minute) or600seconds (10 minutes). Default:600. WhentransitGatewayIdortransitGatewayAttachmentIdis specified,maxAggregationIntervalmust 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 inlogFormat. More details below.final -
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration 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 ifeniId,regionalNatGatewayId,subnetId, orvpcIdis 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