Class EventPattern.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class EventPattern.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EventPattern
An implementation for EventPattern
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.events.EventPattern

    EventPattern.Builder, EventPattern.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the EventPattern.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final List<String>
    The 12-digit number identifying an AWS account.
    A JSON object, whose content is at the discretion of the service originating the event.
    final List<String>
    Identifies, in combination with the source field, the fields and values that appear in the detail field.
    final List<String>
    A unique value is generated for every event.
    final List<String>
    Identifies the AWS region where the event originated.
    final List<String>
    This JSON array contains ARNs that identify resources that are involved in the event.
    final List<String>
    Identifies the service that sourced the event.
    final List<String>
    The event timestamp, which can be specified by the service originating the event.
    final List<String>
    By default, this is set to 0 (zero) in all events.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(EventPattern.Builder builder)
      Constructor that initializes the object based on literal property values passed by the EventPattern.Builder.
  • Method Details

    • getAccount

      public final List<String> getAccount()
      Description copied from interface: EventPattern
      The 12-digit number identifying an AWS account.

      Default: - No filtering on account

      Specified by:
      getAccount in interface EventPattern
    • getDetail

      public final Map<String,Object> getDetail()
      Description copied from interface: EventPattern
      A JSON object, whose content is at the discretion of the service originating the event.

      Default: - No filtering on detail

      Specified by:
      getDetail in interface EventPattern
    • getDetailType

      public final List<String> getDetailType()
      Description copied from interface: EventPattern
      Identifies, in combination with the source field, the fields and values that appear in the detail field.

      Represents the "detail-type" event field.

      Default: - No filtering on detail type

      Specified by:
      getDetailType in interface EventPattern
    • getId

      public final List<String> getId()
      Description copied from interface: EventPattern
      A unique value is generated for every event.

      This can be helpful in tracing events as they move through rules to targets, and are processed.

      Default: - No filtering on id

      Specified by:
      getId in interface EventPattern
    • getRegion

      public final List<String> getRegion()
      Description copied from interface: EventPattern
      Identifies the AWS region where the event originated.

      Default: - No filtering on region

      Specified by:
      getRegion in interface EventPattern
    • getResources

      public final List<String> getResources()
      Description copied from interface: EventPattern
      This JSON array contains ARNs that identify resources that are involved in the event.

      Inclusion of these ARNs is at the discretion of the service.

      For example, Amazon EC2 instance state-changes include Amazon EC2 instance ARNs, Auto Scaling events include ARNs for both instances and Auto Scaling groups, but API calls with AWS CloudTrail do not include resource ARNs.

      Default: - No filtering on resource

      Specified by:
      getResources in interface EventPattern
    • getSource

      public final List<String> getSource()
      Description copied from interface: EventPattern
      Identifies the service that sourced the event.

      All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.

      To find the correct value for source for an AWS service, see the table in AWS Service Namespaces. For example, the source value for Amazon CloudFront is aws.cloudfront.

      Default: - No filtering on source

      Specified by:
      getSource in interface EventPattern
      See Also:
    • getTime

      public final List<String> getTime()
      Description copied from interface: EventPattern
      The event timestamp, which can be specified by the service originating the event.

      If the event spans a time interval, the service might choose to report the start time, so this value can be noticeably before the time the event is actually received.

      Default: - No filtering on time

      Specified by:
      getTime in interface EventPattern
    • getVersion

      public final List<String> getVersion()
      Description copied from interface: EventPattern
      By default, this is set to 0 (zero) in all events.

      Default: - No filtering on version

      Specified by:
      getVersion in interface EventPattern
    • $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