Interface InvokeConfiguration.Builder

  • Method Details

    • roleArn

      IAM role the service assumes to invoke the target. Must belong to the calling account.

      Parameters:
      roleArn - IAM role the service assumes to invoke the target. Must belong to the calling account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaParameters

      InvokeConfiguration.Builder lambdaParameters(LambdaParameters lambdaParameters)

      Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.qualifier %}").

      Parameters:
      lambdaParameters - Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.qualifier %}").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaParameters

      default InvokeConfiguration.Builder lambdaParameters(Consumer<LambdaParameters.Builder> lambdaParameters)

      Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.qualifier %}").

      This is a convenience method that creates an instance of the LambdaParameters.Builder avoiding the need to create one manually via LambdaParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lambdaParameters(LambdaParameters).

      Parameters:
      lambdaParameters - a consumer that will call methods on LambdaParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sqsParameters

      InvokeConfiguration.Builder sqsParameters(SqsParameters sqsParameters)

      SQS invocation parameters for subscribers. Values are forwarded to the SQS SendMessageBatch API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.groupId %}").

      Parameters:
      sqsParameters - SQS invocation parameters for subscribers. Values are forwarded to the SQS SendMessageBatch API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.groupId %}").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sqsParameters

      default InvokeConfiguration.Builder sqsParameters(Consumer<SqsParameters.Builder> sqsParameters)

      SQS invocation parameters for subscribers. Values are forwarded to the SQS SendMessageBatch API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.groupId %}").

      This is a convenience method that creates an instance of the SqsParameters.Builder avoiding the need to create one manually via SqsParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sqsParameters(SqsParameters).

      Parameters:
      sqsParameters - a consumer that will call methods on SqsParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • snsParameters

      InvokeConfiguration.Builder snsParameters(SnsParameters snsParameters)

      SNS invocation parameters for subscribers. Values are forwarded to the SNS PublishBatch API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.groupId %}").

      Parameters:
      snsParameters - SNS invocation parameters for subscribers. Values are forwarded to the SNS PublishBatch API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.groupId %}").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snsParameters

      default InvokeConfiguration.Builder snsParameters(Consumer<SnsParameters.Builder> snsParameters)

      SNS invocation parameters for subscribers. Values are forwarded to the SNS PublishBatch API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.groupId %}").

      This is a convenience method that creates an instance of the SnsParameters.Builder avoiding the need to create one manually via SnsParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to snsParameters(SnsParameters).

      Parameters:
      snsParameters - a consumer that will call methods on SnsParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kinesisParameters

      InvokeConfiguration.Builder kinesisParameters(KinesisParameters kinesisParameters)

      Kinesis Data Streams invocation parameters for subscribers. Values are forwarded to the Kinesis PutRecords API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.partitionKey %}").

      Parameters:
      kinesisParameters - Kinesis Data Streams invocation parameters for subscribers. Values are forwarded to the Kinesis PutRecords API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.partitionKey %}").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kinesisParameters

      default InvokeConfiguration.Builder kinesisParameters(Consumer<KinesisParameters.Builder> kinesisParameters)

      Kinesis Data Streams invocation parameters for subscribers. Values are forwarded to the Kinesis PutRecords API. All scalar values accept a literal or a JSONata expression (e.g. "{% $events.Data.partitionKey %}").

      This is a convenience method that creates an instance of the KinesisParameters.Builder avoiding the need to create one manually via KinesisParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kinesisParameters(KinesisParameters).

      Parameters:
      kinesisParameters - a consumer that will call methods on KinesisParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stepFunctionsParameters

      InvokeConfiguration.Builder stepFunctionsParameters(StepFunctionsParameters stepFunctionsParameters)

      Step Functions invocation parameters for subscribers. Values are forwarded to the Step Functions StartExecution or StartSyncExecution API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.executionName %}").

      Parameters:
      stepFunctionsParameters - Step Functions invocation parameters for subscribers. Values are forwarded to the Step Functions StartExecution or StartSyncExecution API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.executionName %}").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepFunctionsParameters

      default InvokeConfiguration.Builder stepFunctionsParameters(Consumer<StepFunctionsParameters.Builder> stepFunctionsParameters)

      Step Functions invocation parameters for subscribers. Values are forwarded to the Step Functions StartExecution or StartSyncExecution API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.executionName %}").

      This is a convenience method that creates an instance of the StepFunctionsParameters.Builder avoiding the need to create one manually via StepFunctionsParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stepFunctionsParameters(StepFunctionsParameters).

      Parameters:
      stepFunctionsParameters - a consumer that will call methods on StepFunctionsParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • httpParameters

      InvokeConfiguration.Builder httpParameters(HttpParameters httpParameters)

      HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are forwarded to the HTTP endpoint.

      Parameters:
      httpParameters - HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are forwarded to the HTTP endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpParameters

      default InvokeConfiguration.Builder httpParameters(Consumer<HttpParameters.Builder> httpParameters)

      HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are forwarded to the HTTP endpoint.

      This is a convenience method that creates an instance of the HttpParameters.Builder avoiding the need to create one manually via HttpParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to httpParameters(HttpParameters).

      Parameters:
      httpParameters - a consumer that will call methods on HttpParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • universalTargetParameters

      InvokeConfiguration.Builder universalTargetParameters(UniversalTargetParameters universalTargetParameters)

      Parameters for USI (Universal Service Integration) targets. Used when TargetArn is in the format arn:aws:events:::aws-sdk:{service}:{apiAction}

      Parameters:
      universalTargetParameters - Parameters for USI (Universal Service Integration) targets. Used when TargetArn is in the format arn:aws:events:::aws-sdk:{service}:{apiAction}
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • universalTargetParameters

      default InvokeConfiguration.Builder universalTargetParameters(Consumer<UniversalTargetParameters.Builder> universalTargetParameters)

      Parameters for USI (Universal Service Integration) targets. Used when TargetArn is in the format arn:aws:events:::aws-sdk:{service}:{apiAction}

      This is a convenience method that creates an instance of the UniversalTargetParameters.Builder avoiding the need to create one manually via UniversalTargetParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to universalTargetParameters(UniversalTargetParameters).

      Parameters:
      universalTargetParameters - a consumer that will call methods on UniversalTargetParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventBusV2Parameters

      InvokeConfiguration.Builder eventBusV2Parameters(EventBusV2Parameters eventBusV2Parameters)

      Parameters for forwarding events to another EventBridge event bus.

      Parameters:
      eventBusV2Parameters - Parameters for forwarding events to another EventBridge event bus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBusV2Parameters

      default InvokeConfiguration.Builder eventBusV2Parameters(Consumer<EventBusV2Parameters.Builder> eventBusV2Parameters)

      Parameters for forwarding events to another EventBridge event bus.

      This is a convenience method that creates an instance of the EventBusV2Parameters.Builder avoiding the need to create one manually via EventBusV2Parameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventBusV2Parameters(EventBusV2Parameters).

      Parameters:
      eventBusV2Parameters - a consumer that will call methods on EventBusV2Parameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mskParameters

      InvokeConfiguration.Builder mskParameters(MskParameters mskParameters)

      MSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.

      Parameters:
      mskParameters - MSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mskParameters

      default InvokeConfiguration.Builder mskParameters(Consumer<MskParameters.Builder> mskParameters)

      MSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.

      This is a convenience method that creates an instance of the MskParameters.Builder avoiding the need to create one manually via MskParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mskParameters(MskParameters).

      Parameters:
      mskParameters - a consumer that will call methods on MskParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetArn

      InvokeConfiguration.Builder targetArn(String targetArn)

      ARN of the target a subscriber invokes. The resource grammar is service-neutral because target services use different separators and the USI form omits region and account.

      Parameters:
      targetArn - ARN of the target a subscriber invokes. The resource grammar is service-neutral because target services use different separators and the USI form omits region and account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.