VPCFlowLogParametersProperty Struct
Configuration parameters specific to VPC Flow Logs.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
logFormatoptionalstringlog_formatoptionalstrlogFormatoptionalStringLogFormatoptionalstringLogFormatoptional*string #The format in which VPC Flow Log entries should be logged.
maxAggregationIntervaloptionalnumbermax_aggregation_intervaloptionalint | floatmaxAggregationIntervaloptionalNumberMaxAggregationIntervaloptionaldoubleMaxAggregationIntervaloptional*float64 #The maximum interval in seconds between the capture of flow log records.
trafficTypeoptionalstringtraffic_typeoptionalstrtrafficTypeoptionalStringTrafficTypeoptionalstringTrafficTypeoptional*string #The type of traffic to log (ACCEPT, REJECT, or ALL).