Class SqsQueueProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class SqsQueueProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SqsQueueProps
An implementation for SqsQueueProps
  • 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.targets.SqsQueueProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the SqsQueueProps.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 IQueue
    The SQS queue to be used as deadLetterQueue.
    final Duration
    The maximum age of a request that Lambda sends to a function for processing.
    The message to send to the queue.
    final String
    Message Group ID for messages sent to this queue.
    final Number
    The maximum number of times to retry when the function returns an error.
    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(SqsQueueProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SqsQueueProps.Builder.
  • Method Details

    • getMessage

      public final RuleTargetInput getMessage()
      Description copied from interface: SqsQueueProps
      The message to send to the queue.

      Must be a valid JSON text passed to the target queue.

      Default: the entire EventBridge event

      Specified by:
      getMessage in interface SqsQueueProps
    • getMessageGroupId

      public final String getMessageGroupId()
      Description copied from interface: SqsQueueProps
      Message Group ID for messages sent to this queue.

      Required for FIFO queues, leave empty for regular queues.

      Default: - no message group ID (regular queue)

      Specified by:
      getMessageGroupId in interface SqsQueueProps
    • getDeadLetterQueue

      public final IQueue getDeadLetterQueue()
      Description copied from interface: TargetBaseProps
      The SQS queue to be used as deadLetterQueue. Check out the considerations for using a dead-letter queue.

      The events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.

      Default: - no dead-letter queue

      Specified by:
      getDeadLetterQueue in interface TargetBaseProps
    • getMaxEventAge

      public final Duration getMaxEventAge()
      Description copied from interface: TargetBaseProps
      The maximum age of a request that Lambda sends to a function for processing.

      Minimum value of 60. Maximum value of 86400.

      Default: Duration.hours(24)

      Specified by:
      getMaxEventAge in interface TargetBaseProps
    • getRetryAttempts

      public final Number getRetryAttempts()
      Description copied from interface: TargetBaseProps
      The maximum number of times to retry when the function returns an error.

      Minimum value of 0. Maximum value of 185.

      Default: 185

      Specified by:
      getRetryAttempts in interface TargetBaseProps
    • $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