Class InvokeConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvokeConfiguration.Builder,InvokeConfiguration>
Configuration for how the subscriber invokes its target.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic InvokeConfiguration.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final EventBusV2ParametersParameters for forwarding events to another EventBridge event bus.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final HttpParametersHTTP invocation parameters for subscribers (API Gateway / API Destination).final KinesisParametersKinesis Data Streams invocation parameters for subscribers.final LambdaParametersLambda invocation parameters for subscribers.final MskParametersMSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.final StringroleArn()IAM role the service assumes to invoke the target.static Class<? extends InvokeConfiguration.Builder> final SnsParametersSNS invocation parameters for subscribers.final SqsParametersSQS invocation parameters for subscribers.final StepFunctionsParametersStep Functions invocation parameters for subscribers.final StringARN of the target a subscriber invokes.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Parameters for USI (Universal Service Integration) targets.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
roleArn
IAM role the service assumes to invoke the target. Must belong to the calling account.
- Returns:
- IAM role the service assumes to invoke the target. Must belong to the calling account.
-
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:
- 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 %}").
-
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:
- 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 %}").
-
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:
- 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 %}").
-
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:
- 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 %}").
-
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:
- 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 %}").
-
httpParameters
HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are forwarded to the HTTP endpoint.
- Returns:
- HTTP invocation parameters for subscribers (API Gateway / API Destination). Values are forwarded to the HTTP endpoint.
-
universalTargetParameters
Parameters for USI (Universal Service Integration) targets. Used when TargetArn is in the format arn:aws:events:::aws-sdk:{service}:{apiAction}
- Returns:
- Parameters for USI (Universal Service Integration) targets. Used when TargetArn is in the format arn:aws:events:::aws-sdk:{service}:{apiAction}
-
eventBusV2Parameters
Parameters for forwarding events to another EventBridge event bus.
- Returns:
- Parameters for forwarding events to another EventBridge event bus.
-
mskParameters
MSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.
- Returns:
- MSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.
-
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:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InvokeConfiguration.Builder,InvokeConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-