DATASOURCE::VPC::FlowLogs is used to query flow logs.
Syntax
{
"Type": "DATASOURCE::VPC::FlowLogs",
"Properties": {
"FlowLogName": String,
"Description": String,
"LogStoreName": String,
"ResourceId": String,
"ProjectName": String,
"ResourceType": String,
"FlowLogId": String,
"TrafficType": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
FlowLogName | String | No | Yes | The name of the flow log. | The name must be 1 to 128 characters in length and cannot start with |
Description | String | No | Yes | The description of the flow log. | None. |
LogStoreName | String | No | Yes | The Logstore that stores the captured traffic data. | None. |
ResourceId | String | No | Yes | The ID of the resource from which traffic is captured. | None. |
ProjectName | String | No | Yes | The project that manages the captured traffic data. | None. |
ResourceType | String | No | Yes | The type of the resource from which traffic is captured. | Valid values:
|
FlowLogId | String | No | Yes | The ID of the flow log. | None. |
TrafficType | String | No | Yes | The type of the traffic that is captured by the flow log. | Valid values:
|
Return values
Fn::GetAtt
FlowLogs: details of the flow logs.
FlowLogIds: the IDs of the flow logs.
Property | Type | Description | Constraint |
FlowLogIds | List | The IDs of the flow logs. | None. |
FlowLogs | List | Details of the flow logs. | None. |
Status | String | The state of the flow log. | Valid values:
|
FlowLogName | String | The name of the flow log. | None. |
Description | String | The description of the flow log. | None. |
ResourceType | String | The type of resource from which traffic is captured. | Valid values:
|
ProjectName | String | The project that manages the captured traffic data. | None. |
RegionId | String | The region ID of the flow log. | None. |
TrafficType | String | The type of traffic that is captured by the flow log. | Valid values:
|
LogStoreName | String | The Logstore that stores the captured traffic data. | None. |
ResourceId | String | The ID of the resource from which traffic is captured. | None. |
FlowLogId | String | The ID of the flow log. | None. |
CreateTime | String | The time when the flow log was created. | None. |