Skip to content

FlowLogsProps

Properties for defining a FlowLogs.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-vpc'
const flowLogsProps: datasource.FlowLogsProps = { ... }

Properties

Name Type Description
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the flow log.
flowLogId string | @alicloud/ros-cdk-core.IResolvable Property flowLogId: The ID of a flow log.
flowLogName string | @alicloud/ros-cdk-core.IResolvable Property flowLogName: The name of the flow log.
logStoreName string | @alicloud/ros-cdk-core.IResolvable Property logStoreName: A LogStore that stores captured traffic.
projectName string | @alicloud/ros-cdk-core.IResolvable Property projectName: Manage the captured traffic of the Project.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceId string | @alicloud/ros-cdk-core.IResolvable Property resourceId: The ID of the resource group to which the flow log belongs.
resourceType string | @alicloud/ros-cdk-core.IResolvable Property resourceType: The resource type of traffic to capture.
trafficType string | @alicloud/ros-cdk-core.IResolvable Property trafficType: The type of traffic collected.

descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the flow log.


flowLogIdOptional

public readonly flowLogId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property flowLogId: The ID of a flow log.


flowLogNameOptional

public readonly flowLogName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property flowLogName: The name of the flow log.


logStoreNameOptional

public readonly logStoreName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property logStoreName: A LogStore that stores captured traffic.


projectNameOptional

public readonly projectName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property projectName: Manage the captured traffic of the Project.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly resourceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


resourceTypeOptional

public readonly resourceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly trafficType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property trafficType: The type of traffic collected.

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