# VPCFlowLogParametersProperty

Configuration parameters specific to VPC Flow Logs.

- Source: Generated at build time
- Type last changed: v2.211.0 · 13 Aug 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const vPCFlowLogParametersProperty: observabilityadmin.CfnTelemetryRule.VPCFlowLogParametersProperty = {
  logFormat: 'logFormat',
  maxAggregationInterval: 123,
  trafficType: 'trafficType',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin

v_pc_flow_log_parameters_property = observabilityadmin.CfnTelemetryRule.VPCFlowLogParametersProperty(
    log_format="logFormat",
    max_aggregation_interval=123,
    traffic_type="trafficType"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.observabilityadmin.*;

VPCFlowLogParametersProperty vPCFlowLogParametersProperty = VPCFlowLogParametersProperty.builder()
        .logFormat("logFormat")
        .maxAggregationInterval(123)
        .trafficType("trafficType")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;

var vPCFlowLogParametersProperty = new VPCFlowLogParametersProperty {
    LogFormat = "logFormat",
    MaxAggregationInterval = 123,
    TrafficType = "trafficType"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vPCFlowLogParametersProperty := &VPCFlowLogParametersProperty{
	LogFormat: jsii.String("logFormat"),
	MaxAggregationInterval: jsii.Number(123),
	TrafficType: jsii.String("trafficType"),
}
```

## Properties

- `logFormat`: string — The format in which VPC Flow Log entries should be logged.

- `maxAggregationInterval`: number — The maximum interval in seconds between the capture of flow log records.

- `trafficType`: string — The type of traffic to log (ACCEPT, REJECT, or ALL).
