Class OnCloudTrailBucketEventOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.OnCloudTrailBucketEventOptions.Jsii$Proxy
All Implemented Interfaces:
EventCommonOptions, OnEventOptions, OnCloudTrailBucketEventOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
OnCloudTrailBucketEventOptions

@Stability(Stable) @Internal public static final class OnCloudTrailBucketEventOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OnCloudTrailBucketEventOptions
An implementation for OnCloudTrailBucketEventOptions
  • 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(OnCloudTrailBucketEventOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the OnCloudTrailBucketEventOptions.Builder.
  • Method Details

    • getPaths

      public final List<String> getPaths()
      Description copied from interface: OnCloudTrailBucketEventOptions
      Only watch changes to these object paths.

      Default: - Watch changes to all objects

      Specified by:
      getPaths in interface OnCloudTrailBucketEventOptions
    • getTarget

      public final IRuleTarget getTarget()
      Description copied from interface: OnEventOptions
      The target to register for the event.

      Default: - No target is added to the rule. Use `addTarget()` to add a target.

      Specified by:
      getTarget in interface OnEventOptions
    • getCrossStackScope

      public final software.constructs.Construct getCrossStackScope()
      Description copied from interface: EventCommonOptions
      The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).

      This helps dealing with cycles that often arise in these situations.

      Default: - none (the main scope will be used, even for cross-stack Events)

      Specified by:
      getCrossStackScope in interface EventCommonOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: EventCommonOptions
      A description of the rule's purpose.

      Default: - No description

      Specified by:
      getDescription in interface EventCommonOptions
    • getEventPattern

      public final EventPattern getEventPattern()
      Description copied from interface: EventCommonOptions
      Additional restrictions for the event to route to the specified target.

      The method that generates the rule probably imposes some type of event filtering. The filtering implied by what you pass here is added on top of that filtering.

      Default: - No additional filtering based on an event pattern.

      Specified by:
      getEventPattern in interface EventCommonOptions
      See Also:
    • getRuleName

      public final String getRuleName()
      Description copied from interface: EventCommonOptions
      A name for the rule.

      Default: AWS CloudFormation generates a unique physical ID.

      Specified by:
      getRuleName in interface EventCommonOptions
    • $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