Skip to content

FlowLogsProps

Properties for defining a FlowLogs.

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

Initializer

import com.aliyun.ros.cdk.vpc.datasource.FlowLogsProps;
FlowLogsProps.builder()
//  .description(java.lang.String)
//  .description(IResolvable)
//  .flowLogId(java.lang.String)
//  .flowLogId(IResolvable)
//  .flowLogName(java.lang.String)
//  .flowLogName(IResolvable)
//  .logStoreName(java.lang.String)
//  .logStoreName(IResolvable)
//  .projectName(java.lang.String)
//  .projectName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceId(java.lang.String)
//  .resourceId(IResolvable)
//  .resourceType(java.lang.String)
//  .resourceType(IResolvable)
//  .trafficType(java.lang.String)
//  .trafficType(IResolvable)
    .build();

Properties

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

descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the flow log.


flowLogIdOptional

public java.lang.Object getFlowLogId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property flowLogId: The ID of a flow log.


flowLogNameOptional

public java.lang.Object getFlowLogName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property flowLogName: The name of the flow log.


logStoreNameOptional

public java.lang.Object getLogStoreName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property logStoreName: A LogStore that stores captured traffic.


projectNameOptional

public java.lang.Object getProjectName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property projectName: Manage the captured traffic of the Project.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getResourceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


resourceTypeOptional

public java.lang.Object getResourceType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getTrafficType();
  • Type: java.lang.String OR com.aliyun.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.