published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
After aggregating log data for inbound and outbound traffic on network interfaces as needed, flow logs are delivered to Log Service for storage and analysis. You can use flow log analysis to monitor network traffic, troubleshoot network issues, and optimize network architecture. VPC flow logs record detailed information about VPC network traffic for network monitoring, traffic analysis, and troubleshooting.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const vPCFlowLogDemo = new volcenginecc.vpc.FlowLog("VPCFlowLogDemo", {
aggregationInterval: 10,
description: "this is a test flow log",
flowLogName: "FlowLog-ccapi-test",
logProjectName: "ccapi-test-flow-log",
logTopicName: "test-flow-log",
projectName: "default",
resourceId: "vpc-rrco37ovjq4gv0xxxxxx",
resourceType: "vpc",
status: "Active",
tags: [{
key: "env",
value: "test",
}],
trafficType: "All",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
v_pc_flow_log_demo = volcenginecc.vpc.FlowLog("VPCFlowLogDemo",
aggregation_interval=10,
description="this is a test flow log",
flow_log_name="FlowLog-ccapi-test",
log_project_name="ccapi-test-flow-log",
log_topic_name="test-flow-log",
project_name="default",
resource_id="vpc-rrco37ovjq4gv0xxxxxx",
resource_type="vpc",
status="Active",
tags=[{
"key": "env",
"value": "test",
}],
traffic_type="All")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewFlowLog(ctx, "VPCFlowLogDemo", &vpc.FlowLogArgs{
AggregationInterval: pulumi.Int(10),
Description: pulumi.String("this is a test flow log"),
FlowLogName: pulumi.String("FlowLog-ccapi-test"),
LogProjectName: pulumi.String("ccapi-test-flow-log"),
LogTopicName: pulumi.String("test-flow-log"),
ProjectName: pulumi.String("default"),
ResourceId: pulumi.String("vpc-rrco37ovjq4gv0xxxxxx"),
ResourceType: pulumi.String("vpc"),
Status: pulumi.String("Active"),
Tags: vpc.FlowLogTagArray{
&vpc.FlowLogTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
TrafficType: pulumi.String("All"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var vPCFlowLogDemo = new Volcenginecc.Vpc.FlowLog("VPCFlowLogDemo", new()
{
AggregationInterval = 10,
Description = "this is a test flow log",
FlowLogName = "FlowLog-ccapi-test",
LogProjectName = "ccapi-test-flow-log",
LogTopicName = "test-flow-log",
ProjectName = "default",
ResourceId = "vpc-rrco37ovjq4gv0xxxxxx",
ResourceType = "vpc",
Status = "Active",
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.FlowLogTagArgs
{
Key = "env",
Value = "test",
},
},
TrafficType = "All",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vpc.FlowLog;
import com.volcengine.volcenginecc.vpc.FlowLogArgs;
import com.pulumi.volcenginecc.vpc.inputs.FlowLogTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vPCFlowLogDemo = new FlowLog("vPCFlowLogDemo", FlowLogArgs.builder()
.aggregationInterval(10)
.description("this is a test flow log")
.flowLogName("FlowLog-ccapi-test")
.logProjectName("ccapi-test-flow-log")
.logTopicName("test-flow-log")
.projectName("default")
.resourceId("vpc-rrco37ovjq4gv0xxxxxx")
.resourceType("vpc")
.status("Active")
.tags(FlowLogTagArgs.builder()
.key("env")
.value("test")
.build())
.trafficType("All")
.build());
}
}
resources:
vPCFlowLogDemo:
type: volcenginecc:vpc:FlowLog
name: VPCFlowLogDemo
properties:
aggregationInterval: 10
description: this is a test flow log
flowLogName: FlowLog-ccapi-test
logProjectName: ccapi-test-flow-log
logTopicName: test-flow-log
projectName: default
resourceId: vpc-rrco37ovjq4gv0xxxxxx
resourceType: vpc
status: Active
tags:
- key: env
value: test
trafficType: All
Create FlowLog Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FlowLog(name: string, args: FlowLogArgs, opts?: CustomResourceOptions);@overload
def FlowLog(resource_name: str,
args: FlowLogArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FlowLog(resource_name: str,
opts: Optional[ResourceOptions] = None,
aggregation_interval: Optional[int] = None,
flow_log_name: Optional[str] = None,
log_project_name: Optional[str] = None,
log_topic_name: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
traffic_type: Optional[str] = None,
description: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[FlowLogTagArgs]] = None)func NewFlowLog(ctx *Context, name string, args FlowLogArgs, opts ...ResourceOption) (*FlowLog, error)public FlowLog(string name, FlowLogArgs args, CustomResourceOptions? opts = null)
public FlowLog(String name, FlowLogArgs args)
public FlowLog(String name, FlowLogArgs args, CustomResourceOptions options)
type: volcenginecc:vpc:FlowLog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FlowLog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FlowLog resource accepts the following input properties:
- Aggregation
Interval int - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- Flow
Log stringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- Log
Project stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Log
Topic stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Resource
Id string - Resource ID for traffic capture.
- Resource
Type string - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- Traffic
Type string - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- Description string
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Project
Name string - Name of the project to which the flow log belongs.
- Status string
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
List<Volcengine.
Flow Log Tag>
- Aggregation
Interval int - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- Flow
Log stringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- Log
Project stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Log
Topic stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Resource
Id string - Resource ID for traffic capture.
- Resource
Type string - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- Traffic
Type string - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- Description string
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Project
Name string - Name of the project to which the flow log belongs.
- Status string
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
[]Flow
Log Tag Args
- aggregation
Interval Integer - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- flow
Log StringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- log
Project StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log
Topic StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- resource
Id String - Resource ID for traffic capture.
- resource
Type String - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- traffic
Type String - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- description String
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- project
Name String - Name of the project to which the flow log belongs.
- status String
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
List<Flow
Log Tag>
- aggregation
Interval number - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- flow
Log stringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- log
Project stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log
Topic stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- resource
Id string - Resource ID for traffic capture.
- resource
Type string - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- traffic
Type string - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- description string
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- project
Name string - Name of the project to which the flow log belongs.
- status string
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
Flow
Log Tag[]
- aggregation_
interval int - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- flow_
log_ strname - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- log_
project_ strname - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log_
topic_ strname - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- resource_
id str - Resource ID for traffic capture.
- resource_
type str - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- traffic_
type str - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- description str
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- project_
name str - Name of the project to which the flow log belongs.
- status str
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
Sequence[Flow
Log Tag Args]
- aggregation
Interval Number - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- flow
Log StringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- log
Project StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log
Topic StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- resource
Id String - Resource ID for traffic capture.
- resource
Type String - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- traffic
Type String - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- description String
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- project
Name String - Name of the project to which the flow log belongs.
- status String
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the FlowLog resource produces the following output properties:
- Business
Status string - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- Created
At string - Creation time of the flow log.
- Enable
Index bool - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- Flow
Log stringId - Stream log ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Reason string - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- Log
Project stringId - Flow log project ID.
- Log
Topic stringId - Flow log topic ID.
- Updated
At string - Time when the stream log was updated.
- Vpc
Id string - VPC ID for the flow log.
- Business
Status string - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- Created
At string - Creation time of the flow log.
- Enable
Index bool - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- Flow
Log stringId - Stream log ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Reason string - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- Log
Project stringId - Flow log project ID.
- Log
Topic stringId - Flow log topic ID.
- Updated
At string - Time when the stream log was updated.
- Vpc
Id string - VPC ID for the flow log.
- business
Status String - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created
At String - Creation time of the flow log.
- enable
Index Boolean - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow
Log StringId - Stream log ID.
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Reason String - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log
Project StringId - Flow log project ID.
- log
Topic StringId - Flow log topic ID.
- updated
At String - Time when the stream log was updated.
- vpc
Id String - VPC ID for the flow log.
- business
Status string - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created
At string - Creation time of the flow log.
- enable
Index boolean - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow
Log stringId - Stream log ID.
- id string
- The provider-assigned unique ID for this managed resource.
- lock
Reason string - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log
Project stringId - Flow log project ID.
- log
Topic stringId - Flow log topic ID.
- updated
At string - Time when the stream log was updated.
- vpc
Id string - VPC ID for the flow log.
- business_
status str - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created_
at str - Creation time of the flow log.
- enable_
index bool - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow_
log_ strid - Stream log ID.
- id str
- The provider-assigned unique ID for this managed resource.
- lock_
reason str - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log_
project_ strid - Flow log project ID.
- log_
topic_ strid - Flow log topic ID.
- updated_
at str - Time when the stream log was updated.
- vpc_
id str - VPC ID for the flow log.
- business
Status String - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created
At String - Creation time of the flow log.
- enable
Index Boolean - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow
Log StringId - Stream log ID.
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Reason String - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log
Project StringId - Flow log project ID.
- log
Topic StringId - Flow log topic ID.
- updated
At String - Time when the stream log was updated.
- vpc
Id String - VPC ID for the flow log.
Look up Existing FlowLog Resource
Get an existing FlowLog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FlowLogState, opts?: CustomResourceOptions): FlowLog@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aggregation_interval: Optional[int] = None,
business_status: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
enable_index: Optional[bool] = None,
flow_log_id: Optional[str] = None,
flow_log_name: Optional[str] = None,
lock_reason: Optional[str] = None,
log_project_id: Optional[str] = None,
log_project_name: Optional[str] = None,
log_topic_id: Optional[str] = None,
log_topic_name: Optional[str] = None,
project_name: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[FlowLogTagArgs]] = None,
traffic_type: Optional[str] = None,
updated_at: Optional[str] = None,
vpc_id: Optional[str] = None) -> FlowLogfunc GetFlowLog(ctx *Context, name string, id IDInput, state *FlowLogState, opts ...ResourceOption) (*FlowLog, error)public static FlowLog Get(string name, Input<string> id, FlowLogState? state, CustomResourceOptions? opts = null)public static FlowLog get(String name, Output<String> id, FlowLogState state, CustomResourceOptions options)resources: _: type: volcenginecc:vpc:FlowLog get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Aggregation
Interval int - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- Business
Status string - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- Created
At string - Creation time of the flow log.
- Description string
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Enable
Index bool - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- Flow
Log stringId - Stream log ID.
- Flow
Log stringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- Lock
Reason string - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- Log
Project stringId - Flow log project ID.
- Log
Project stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Log
Topic stringId - Flow log topic ID.
- Log
Topic stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Project
Name string - Name of the project to which the flow log belongs.
- Resource
Id string - Resource ID for traffic capture.
- Resource
Type string - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- Status string
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
List<Volcengine.
Flow Log Tag> - Traffic
Type string - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- Updated
At string - Time when the stream log was updated.
- Vpc
Id string - VPC ID for the flow log.
- Aggregation
Interval int - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- Business
Status string - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- Created
At string - Creation time of the flow log.
- Description string
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Enable
Index bool - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- Flow
Log stringId - Stream log ID.
- Flow
Log stringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- Lock
Reason string - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- Log
Project stringId - Flow log project ID.
- Log
Project stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Log
Topic stringId - Flow log topic ID.
- Log
Topic stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- Project
Name string - Name of the project to which the flow log belongs.
- Resource
Id string - Resource ID for traffic capture.
- Resource
Type string - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- Status string
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
[]Flow
Log Tag Args - Traffic
Type string - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- Updated
At string - Time when the stream log was updated.
- Vpc
Id string - VPC ID for the flow log.
- aggregation
Interval Integer - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- business
Status String - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created
At String - Creation time of the flow log.
- description String
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- enable
Index Boolean - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow
Log StringId - Stream log ID.
- flow
Log StringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- lock
Reason String - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log
Project StringId - Flow log project ID.
- log
Project StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log
Topic StringId - Flow log topic ID.
- log
Topic StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- project
Name String - Name of the project to which the flow log belongs.
- resource
Id String - Resource ID for traffic capture.
- resource
Type String - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- status String
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
List<Flow
Log Tag> - traffic
Type String - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- updated
At String - Time when the stream log was updated.
- vpc
Id String - VPC ID for the flow log.
- aggregation
Interval number - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- business
Status string - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created
At string - Creation time of the flow log.
- description string
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- enable
Index boolean - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow
Log stringId - Stream log ID.
- flow
Log stringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- lock
Reason string - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log
Project stringId - Flow log project ID.
- log
Project stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log
Topic stringId - Flow log topic ID.
- log
Topic stringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- project
Name string - Name of the project to which the flow log belongs.
- resource
Id string - Resource ID for traffic capture.
- resource
Type string - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- status string
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
Flow
Log Tag[] - traffic
Type string - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- updated
At string - Time when the stream log was updated.
- vpc
Id string - VPC ID for the flow log.
- aggregation_
interval int - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- business_
status str - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created_
at str - Creation time of the flow log.
- description str
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- enable_
index bool - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow_
log_ strid - Stream log ID.
- flow_
log_ strname - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- lock_
reason str - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log_
project_ strid - Flow log project ID.
- log_
project_ strname - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log_
topic_ strid - Flow log topic ID.
- log_
topic_ strname - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- project_
name str - Name of the project to which the flow log belongs.
- resource_
id str - Resource ID for traffic capture.
- resource_
type str - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- status str
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
-
Sequence[Flow
Log Tag Args] - traffic_
type str - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- updated_
at str - Time when the stream log was updated.
- vpc_
id str - VPC ID for the flow log.
- aggregation
Interval Number - Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes.
- business
Status String - Whether the flow log is locked. Normal: normal. FinancialLocked: locked.
- created
At String - Creation time of the flow log.
- description String
- Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- enable
Index Boolean - Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No.
- flow
Log StringId - Stream log ID.
- flow
Log StringName - Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID.
- lock
Reason String - Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked.
- log
Project StringId - Flow log project ID.
- log
Project StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- log
Topic StringId - Flow log topic ID.
- log
Topic StringName - Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long.
- project
Name String - Name of the project to which the flow log belongs.
- resource
Id String - Resource ID for traffic capture.
- resource
Type String - Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface.
- status String
- Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting.
- List<Property Map>
- traffic
Type String - Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups.
- updated
At String - Time when the stream log was updated.
- vpc
Id String - VPC ID for the flow log.
Supporting Types
FlowLogTag, FlowLogTagArgs
- Key string
- User label tag key. Length must be 1–128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ symbols (@). If the tag key starts or ends with a space, the system automatically removes it.
- Value string
- User tag value. Supports input in any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- Key string
- User label tag key. Length must be 1–128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ symbols (@). If the tag key starts or ends with a space, the system automatically removes it.
- Value string
- User tag value. Supports input in any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key String
- User label tag key. Length must be 1–128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ symbols (@). If the tag key starts or ends with a space, the system automatically removes it.
- value String
- User tag value. Supports input in any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key string
- User label tag key. Length must be 1–128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ symbols (@). If the tag key starts or ends with a space, the system automatically removes it.
- value string
- User tag value. Supports input in any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key str
- User label tag key. Length must be 1–128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ symbols (@). If the tag key starts or ends with a space, the system automatically removes it.
- value str
- User tag value. Supports input in any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key String
- User label tag key. Length must be 1–128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ symbols (@). If the tag key starts or ends with a space, the system automatically removes it.
- value String
- User tag value. Supports input in any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
Import
$ pulumi import volcenginecc:vpc/flowLog:FlowLog example "flow_log_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
