Skip to content
v2.275.0

UniversalTargetParametersProperty Struct Added in v2.275.0 ​

Parameters for invoking an AWS service API as a universal service integration target, used when TargetArn has the form arn:{partition}:events:::aws-sdk:{service}:{apiAction}.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventsv2 as eventsv2 } from 'aws-cdk-lib';
const universalTargetParametersProperty: eventsv2.CfnSubscriber.UniversalTargetParametersProperty = {
  input: 'input',

  // the properties below are optional
  invocationTimeoutSeconds: 'invocationTimeoutSeconds',
};

Properties ​

inputstringinputstrinputStringInputstringInput*stringrequired#
JSON string or JSONata expression that produces the API request.

Supports {% ... %} JSONata expressions for dynamic values from the event.

invocationTimeoutSecondsoptionalstringinvocation_timeout_secondsoptionalstrinvocationTimeoutSecondsoptionalStringInvocationTimeoutSecondsoptionalstringInvocationTimeoutSecondsoptional*string#
Timeout in seconds for each invocation of the target (1-30, default 30).

Must be a literal integer written as a string; JSONata expressions are not supported for this field.