Class FlowLogProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.FlowLogProps.Jsii$Proxy
All Implemented Interfaces:
FlowLogOptions, FlowLogProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
FlowLogProps

@Stability(Stable) @Internal public static final class FlowLogProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FlowLogProps
An implementation for FlowLogProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(FlowLogProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FlowLogProps.Builder.
  • Method Details

    • getResourceType

      public final FlowLogResourceType getResourceType()
      Description copied from interface: FlowLogProps
      The type of resource for which to create the flow log.
      Specified by:
      getResourceType in interface FlowLogProps
    • getFlowLogName

      public final String getFlowLogName()
      Description copied from interface: FlowLogProps
      The name of the FlowLog.

      It is not recommended to use an explicit name.

      Default: If you don't specify a flowLogName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.

      Specified by:
      getFlowLogName in interface FlowLogProps
    • getDestination

      public final FlowLogDestination getDestination()
      Description copied from interface: FlowLogOptions
      Specifies the type of destination to which the flow log data is to be published.

      Flow log data can be published to CloudWatch Logs or Amazon S3

      Default: FlowLogDestinationType.toCloudWatchLogs()

      Specified by:
      getDestination in interface FlowLogOptions
    • getTrafficType

      public final FlowLogTrafficType getTrafficType()
      Description copied from interface: FlowLogOptions
      The type of traffic to log.

      You can log traffic that the resource accepts or rejects, or all traffic.

      Default: ALL

      Specified by:
      getTrafficType in interface FlowLogOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object