Interface FlowLogProps

All Superinterfaces:
FlowLogOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
FlowLogProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:24.726Z") @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();
 
  • Method Details

    • getResourceType

      @Stability(Stable) @NotNull FlowLogResourceType getResourceType()
      The type of resource for which to create the flow log.
    • getFlowLogName

      @Stability(Stable) @Nullable default String 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 Name tag.

      Default: CDK generated name

    • builder

      @Stability(Stable) static FlowLogProps.Builder builder()
      Returns:
      a FlowLogProps.Builder of FlowLogProps