FlowLogArgs constructor

const FlowLogArgs({
  1. Input<String?>? deliverCrossAccountRole,
  2. Input<FlowLogDestinationOptions?>? destinationOptions,
  3. Input<String?>? eniId,
  4. Input<String?>? iamRoleArn,
  5. Input<String?>? logDestination,
  6. Input<String?>? logDestinationType,
  7. Input<String?>? logFormat,
  8. Input<int?>? maxAggregationInterval,
  9. Input<String?>? region,
  10. Input<String?>? regionalNatGatewayId,
  11. Input<String?>? subnetId,
  12. Input<List<FlowLogTagFieldSpecification>?>? tagFieldSpecifications,
  13. Input<Map<String, String>?>? tags,
  14. Input<String?>? trafficType,
  15. Input<String?>? transitGatewayAttachmentId,
  16. Input<String?>? transitGatewayId,
  17. 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.

Implementation

const FlowLogArgs({
  this.deliverCrossAccountRole,
  this.destinationOptions,
  this.eniId,
  this.iamRoleArn,
  this.logDestination,
  this.logDestinationType,
  this.logFormat,
  this.maxAggregationInterval,
  this.region,
  this.regionalNatGatewayId,
  this.subnetId,
  this.tagFieldSpecifications,
  this.tags,
  this.trafficType,
  this.transitGatewayAttachmentId,
  this.transitGatewayId,
  this.vpcId,
});