Interface FlowLogProps
- All Superinterfaces:
FlowLogOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FlowLogProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:12.154Z")
@Stability(Stable)
public interface FlowLogProps
extends software.amazon.jsii.JsiiSerializable, FlowLogOptions
Properties of a VPC Flow Log.
Example:
CfnTransitGateway tgw;
FlowLog.Builder.create(this, "TransitGatewayFlowLog")
.resourceType(FlowLogResourceType.fromTransitGatewayId(tgw.getRef()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFlowLogPropsstatic final classAn implementation forFlowLogProps -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowLogProps.Builderbuilder()default StringThe name of the FlowLog.The type of resource for which to create the flow log.Methods inherited from interface software.amazon.awscdk.services.ec2.FlowLogOptions
getDestination, getLogFormat, getMaxAggregationInterval, getTrafficTypeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceType
The type of resource for which to create the flow log. -
getFlowLogName
The name of the FlowLog.Since the FlowLog resource doesn't support providing a physical name, the value provided here will be recorded in the
Nametag.Default: CDK generated name
-
builder
- Returns:
- a
FlowLogProps.BuilderofFlowLogProps
-