Skip to content

FlowLogsProps

Properties for defining a FlowLogs.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-flowlogs

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.FlowLogsProps {
    Description: interface{},
    FlowLogId: interface{},
    FlowLogName: interface{},
    LogStoreName: interface{},
    ProjectName: interface{},
    RefreshOptions: interface{},
    ResourceId: interface{},
    ResourceType: interface{},
    TrafficType: interface{},
}

Properties

Name Type Description
Description interface{} Property description: The description of the flow log.
FlowLogId interface{} Property flowLogId: The ID of a flow log.
FlowLogName interface{} Property flowLogName: The name of the flow log.
LogStoreName interface{} Property logStoreName: A LogStore that stores captured traffic.
ProjectName interface{} Property projectName: Manage the captured traffic of the Project.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceId interface{} Property resourceId: The ID of the resource group to which the flow log belongs.
ResourceType interface{} Property resourceType: The resource type of traffic to capture.
TrafficType interface{} Property trafficType: The type of traffic collected.

DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the flow log.


FlowLogIdOptional

FlowLogId interface{}
  • Type: interface{}

Property flowLogId: The ID of a flow log.


FlowLogNameOptional

FlowLogName interface{}
  • Type: interface{}

Property flowLogName: The name of the flow log.


LogStoreNameOptional

LogStoreName interface{}
  • Type: interface{}

Property logStoreName: A LogStore that stores captured traffic.


ProjectNameOptional

ProjectName interface{}
  • Type: interface{}

Property projectName: Manage the captured traffic of the Project.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceIdOptional

ResourceId interface{}
  • Type: interface{}

Property resourceId: The ID of the resource group to which the flow log belongs.


ResourceTypeOptional

ResourceType interface{}
  • Type: interface{}

Property resourceType: The resource type of traffic to capture.

Value: NetworkInterface: Elastic NIC. VSwitch: All ENIs within the VSwitch. VPC: All ENIs in a VPC.


TrafficTypeOptional

TrafficType interface{}
  • Type: interface{}

Property trafficType: The type of traffic collected.

Value: All: All traffic. Allow: Traffic allowed by access control. Drop: Traffic denied by access control.