@Stability(value=Stable) @Internal public static final class CfnRule.TargetProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRule.TargetProperty
CfnRule.TargetPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRule.TargetProperty.Builder, CfnRule.TargetProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRule.TargetProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRule.AwsVpcConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getArn()
The Amazon Resource Name (ARN) of the target.
|
Object |
getBatchParameters()
If the event target is an AWS Batch job, this contains the job definition, job name, and other parameters.
|
Object |
getDeadLetterConfig()
The `DeadLetterConfig` that defines the target queue to send dead-letter queue events to.
|
Object |
getEcsParameters()
Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task.
|
Object |
getHttpParameters()
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
|
String |
getId()
The ID of the target within the specified rule.
|
String |
getInput()
Valid JSON text passed to the target.
|
String |
getInputPath()
The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.
|
Object |
getInputTransformer()
Settings to enable you to provide custom input to a target based on certain event data.
|
Object |
getKinesisParameters()
The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream.
|
Object |
getRedshiftDataParameters()
Contains the Amazon Redshift Data API parameters to use when the target is a Amazon Redshift cluster.
|
Object |
getRetryPolicy()
The `RetryPolicy` object that contains the retry policy configuration to use for the dead-letter queue.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered.
|
Object |
getRunCommandParameters()
Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
|
Object |
getSageMakerPipelineParameters()
Contains the SageMaker Model Building Pipeline parameters to start execution of a SageMaker Model Building Pipeline.
|
Object |
getSqsParameters()
Contains the message group ID to use when the target is a FIFO queue.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRule.TargetProperty.Builder builder)
CfnRule.AwsVpcConfigurationProperty.Builder.public final String getArn()
CfnRule.TargetPropertygetArn in interface CfnRule.TargetPropertypublic final String getId()
CfnRule.TargetPropertyUse this ID to reference the target when updating the rule. We recommend using a memorable and unique string.
getId in interface CfnRule.TargetPropertypublic final Object getBatchParameters()
CfnRule.TargetPropertyFor more information, see Jobs in the AWS Batch User Guide .
getBatchParameters in interface CfnRule.TargetPropertypublic final Object getDeadLetterConfig()
CfnRule.TargetPropertygetDeadLetterConfig in interface CfnRule.TargetPropertypublic final Object getEcsParameters()
CfnRule.TargetPropertyFor more information about Amazon ECS tasks, see Task Definitions in the Amazon EC2 Container Service Developer Guide .
getEcsParameters in interface CfnRule.TargetPropertypublic final Object getHttpParameters()
CfnRule.TargetPropertyIf you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.
getHttpParameters in interface CfnRule.TargetPropertypublic final String getInput()
CfnRule.TargetPropertyIn this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format .
getInput in interface CfnRule.TargetPropertypublic final String getInputPath()
CfnRule.TargetPropertyYou must use JSON dot notation, not bracket notation. For more information about JSON paths, see JSONPath .
getInputPath in interface CfnRule.TargetPropertypublic final Object getInputTransformer()
CfnRule.TargetPropertyYou can extract one or more key-value pairs from the event and then use that data to send customized input to the target.
getInputTransformer in interface CfnRule.TargetPropertypublic final Object getKinesisParameters()
CfnRule.TargetProperty
If you do not include this parameter, the default is to use the eventId as the partition key.
getKinesisParameters in interface CfnRule.TargetPropertypublic final Object getRedshiftDataParameters()
CfnRule.TargetPropertyIf you specify a Amazon Redshift Cluster as a Target, you can use this to specify parameters to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.
getRedshiftDataParameters in interface CfnRule.TargetPropertypublic final Object getRetryPolicy()
CfnRule.TargetPropertygetRetryPolicy in interface CfnRule.TargetPropertypublic final String getRoleArn()
CfnRule.TargetPropertyIf one rule triggers multiple targets, you can use a different IAM role for each target.
getRoleArn in interface CfnRule.TargetPropertypublic final Object getRunCommandParameters()
CfnRule.TargetPropertygetRunCommandParameters in interface CfnRule.TargetPropertypublic final Object getSageMakerPipelineParameters()
CfnRule.TargetPropertyIf you specify a SageMaker Model Building Pipeline as a target, you can use this to specify parameters to start a pipeline execution based on EventBridge events.
getSageMakerPipelineParameters in interface CfnRule.TargetPropertypublic final Object getSqsParameters()
CfnRule.TargetPropertyIf you specify an SQS FIFO queue as a target, the queue must have content-based deduplication enabled.
getSqsParameters in interface CfnRule.TargetProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.