Class LambdaToSqsToLambdaProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awsconstructs.services.lambdasqslambda.LambdaToSqsToLambdaProps.Jsii$Proxy
All Implemented Interfaces:
LambdaToSqsToLambdaProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
LambdaToSqsToLambdaProps

@Internal public static final class LambdaToSqsToLambdaProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaToSqsToLambdaProps
An implementation for LambdaToSqsToLambdaProps
  • 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.awsconstructs.services.lambdasqslambda.LambdaToSqsToLambdaProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the LambdaToSqsToLambdaProps.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 software.amazon.awscdk.services.lambda.FunctionProps
    Optional user-provided properties to override the default properties for the consumer Lambda function.
    final software.amazon.awscdk.services.sqs.QueueProps
    Optional user-provided props to override the default props for the dead letter queue.
    final Boolean
    Whether to create a secondary queue to be used as a dead letter queue.
    final Boolean
    Whether to deploy a new VPC.
    final software.amazon.awscdk.services.lambda.Function
    An optional, existing Lambda function to be used instead of the default function for receiving/consuming messages from the queue.
    final software.amazon.awscdk.services.lambda.Function
    An optional, existing Lambda function to be used instead of the default function for sending messages to the queue.
    final software.amazon.awscdk.services.sqs.Queue
    An optional, existing SQS queue to be used instead of the default queue.
    final software.amazon.awscdk.services.ec2.IVpc
    An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
    final Number
    The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue.
    final software.amazon.awscdk.services.lambda.FunctionProps
    Optional user-provided properties to override the default properties for the producer Lambda function.
    final String
    Optional Name for the Lambda function environment variable set to the URL of the queue.
    final software.amazon.awscdk.services.sqs.QueueProps
    Optional user-provided properties to override the default properties for the SQS queue.
    final software.amazon.awscdk.services.lambda.eventsources.SqsEventSourceProps
    Optional user provided properties for the queue event source.
    final software.amazon.awscdk.services.ec2.VpcProps
    Properties to override default properties if deployVpc is true.
    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(LambdaToSqsToLambdaProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LambdaToSqsToLambdaProps.Builder.
  • Method Details

    • getConsumerLambdaFunctionProps

      public final software.amazon.awscdk.services.lambda.FunctionProps getConsumerLambdaFunctionProps()
      Description copied from interface: LambdaToSqsToLambdaProps
      Optional user-provided properties to override the default properties for the consumer Lambda function.

      Default: - Default properties are used.

      Specified by:
      getConsumerLambdaFunctionProps in interface LambdaToSqsToLambdaProps
    • getDeadLetterQueueProps

      public final software.amazon.awscdk.services.sqs.QueueProps getDeadLetterQueueProps()
      Description copied from interface: LambdaToSqsToLambdaProps
      Optional user-provided props to override the default props for the dead letter queue.

      Only used if the deployDeadLetterQueue property is set to true.

      Default: - Default props are used.

      Specified by:
      getDeadLetterQueueProps in interface LambdaToSqsToLambdaProps
    • getDeployDeadLetterQueue

      public final Boolean getDeployDeadLetterQueue()
      Description copied from interface: LambdaToSqsToLambdaProps
      Whether to create a secondary queue to be used as a dead letter queue.

      Defaults to true.

      Default: - true.

      Specified by:
      getDeployDeadLetterQueue in interface LambdaToSqsToLambdaProps
    • getDeployVpc

      public final Boolean getDeployVpc()
      Description copied from interface: LambdaToSqsToLambdaProps
      Whether to deploy a new VPC.

      Default: - false

      Specified by:
      getDeployVpc in interface LambdaToSqsToLambdaProps
    • getExistingConsumerLambdaObj

      public final software.amazon.awscdk.services.lambda.Function getExistingConsumerLambdaObj()
      Description copied from interface: LambdaToSqsToLambdaProps
      An optional, existing Lambda function to be used instead of the default function for receiving/consuming messages from the queue.

      Providing both this and consumerLambdaFunctionProps will cause an error.

      Default: - None.

      Specified by:
      getExistingConsumerLambdaObj in interface LambdaToSqsToLambdaProps
    • getExistingProducerLambdaObj

      public final software.amazon.awscdk.services.lambda.Function getExistingProducerLambdaObj()
      Description copied from interface: LambdaToSqsToLambdaProps
      An optional, existing Lambda function to be used instead of the default function for sending messages to the queue.

      Providing both this and producerLambdaFunctionProps property will cause an error.

      Default: - None.

      Specified by:
      getExistingProducerLambdaObj in interface LambdaToSqsToLambdaProps
    • getExistingQueueObj

      public final software.amazon.awscdk.services.sqs.Queue getExistingQueueObj()
      Description copied from interface: LambdaToSqsToLambdaProps
      An optional, existing SQS queue to be used instead of the default queue.

      Providing both this and queueProps will cause an error.

      Default: - None.

      Specified by:
      getExistingQueueObj in interface LambdaToSqsToLambdaProps
    • getExistingVpc

      public final software.amazon.awscdk.services.ec2.IVpc getExistingVpc()
      Description copied from interface: LambdaToSqsToLambdaProps
      An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
      Specified by:
      getExistingVpc in interface LambdaToSqsToLambdaProps
    • getMaxReceiveCount

      public final Number getMaxReceiveCount()
      Description copied from interface: LambdaToSqsToLambdaProps
      The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue.

      Defaults to 15.

      Default: - 15.

      Specified by:
      getMaxReceiveCount in interface LambdaToSqsToLambdaProps
    • getProducerLambdaFunctionProps

      public final software.amazon.awscdk.services.lambda.FunctionProps getProducerLambdaFunctionProps()
      Description copied from interface: LambdaToSqsToLambdaProps
      Optional user-provided properties to override the default properties for the producer Lambda function.

      Default: - Default properties are used.

      Specified by:
      getProducerLambdaFunctionProps in interface LambdaToSqsToLambdaProps
    • getQueueEnvironmentVariableName

      public final String getQueueEnvironmentVariableName()
      Description copied from interface: LambdaToSqsToLambdaProps
      Optional Name for the Lambda function environment variable set to the URL of the queue.

      Default: - SQS_QUEUE_URL

      Specified by:
      getQueueEnvironmentVariableName in interface LambdaToSqsToLambdaProps
    • getQueueProps

      public final software.amazon.awscdk.services.sqs.QueueProps getQueueProps()
      Description copied from interface: LambdaToSqsToLambdaProps
      Optional user-provided properties to override the default properties for the SQS queue.

      Default: - Default props are used.

      Specified by:
      getQueueProps in interface LambdaToSqsToLambdaProps
    • getSqsEventSourceProps

      public final software.amazon.awscdk.services.lambda.eventsources.SqsEventSourceProps getSqsEventSourceProps()
      Description copied from interface: LambdaToSqsToLambdaProps
      Optional user provided properties for the queue event source.

      Default: - Default props are used

      Specified by:
      getSqsEventSourceProps in interface LambdaToSqsToLambdaProps
    • getVpcProps

      public final software.amazon.awscdk.services.ec2.VpcProps getVpcProps()
      Description copied from interface: LambdaToSqsToLambdaProps
      Properties to override default properties if deployVpc is true.
      Specified by:
      getVpcProps in interface LambdaToSqsToLambdaProps
    • $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