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. |
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the flow log.
flowLogId
Optional
public java.lang.Object getFlowLogId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property flowLogId: The ID of a flow log.
flowLogName
Optional
public java.lang.Object getFlowLogName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property flowLogName: The name of the flow log.
logStoreName
Optional
public java.lang.Object getLogStoreName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property logStoreName: A LogStore that stores captured traffic.
projectName
Optional
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.
refreshOptions
Optional
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.
resourceId
Optional
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.
resourceType
Optional
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.
trafficType
Optional
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.