Skip to content

FlowLogsProps

Properties for defining a FlowLogs.

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

Initializer

from ros_cdk_vpc import datasource
datasource.FlowLogsProps(
  description: typing.Union[str, IResolvable] = None,
  flow_log_id: typing.Union[str, IResolvable] = None,
  flow_log_name: typing.Union[str, IResolvable] = None,
  log_store_name: typing.Union[str, IResolvable] = None,
  project_name: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_id: typing.Union[str, IResolvable] = None,
  resource_type: typing.Union[str, IResolvable] = None,
  traffic_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the flow log.
flow_log_id typing.Union[str, ros_cdk_core.IResolvable] Property flowLogId: The ID of a flow log.
flow_log_name typing.Union[str, ros_cdk_core.IResolvable] Property flowLogName: The name of the flow log.
log_store_name typing.Union[str, ros_cdk_core.IResolvable] Property logStoreName: A LogStore that stores captured traffic.
project_name typing.Union[str, ros_cdk_core.IResolvable] Property projectName: Manage the captured traffic of the Project.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceId: The ID of the resource group to which the flow log belongs.
resource_type typing.Union[str, ros_cdk_core.IResolvable] Property resourceType: The resource type of traffic to capture.
traffic_type typing.Union[str, ros_cdk_core.IResolvable] Property trafficType: The type of traffic collected.

descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the flow log.


flow_log_idOptional

flow_log_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property flowLogId: The ID of a flow log.


flow_log_nameOptional

flow_log_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property flowLogName: The name of the flow log.


log_store_nameOptional

log_store_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property logStoreName: A LogStore that stores captured traffic.


project_nameOptional

project_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property projectName: Manage the captured traffic of the Project.


refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

resource_idOptional

resource_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


resource_typeOptional

resource_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


traffic_typeOptional

traffic_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.