pub struct Target {Show 16 fields
pub id: String,
pub arn: String,
pub role_arn: Option<String>,
pub input: Option<String>,
pub input_path: Option<String>,
pub input_transformer: Option<InputTransformer>,
pub run_command_parameters: Option<Value>,
pub ecs_parameters: Option<Value>,
pub batch_parameters: Option<Value>,
pub sqs_parameters: Option<Value>,
pub http_parameters: Option<Value>,
pub redshift_data_parameters: Option<Value>,
pub sage_maker_pipeline_parameters: Option<Value>,
pub dead_letter_config: Option<DeadLetterConfig>,
pub retry_policy: Option<RetryPolicy>,
pub app_sync_parameters: Option<Value>,
}Expand description
A target for a rule, describing where matched events are sent.
Fields§
§id: StringThe unique target identifier within the rule.
arn: StringThe ARN of the target resource.
role_arn: Option<String>The IAM role ARN for EventBridge to use when invoking the target.
input: Option<String>Valid JSON text passed to the target.
input_path: Option<String>JSONPath expression to select part of the event to pass to the target.
input_transformer: Option<InputTransformer>Settings to transform input before sending to the target.
run_command_parameters: Option<Value>Parameters for a Run Command target.
ecs_parameters: Option<Value>Parameters for an ECS task target.
batch_parameters: Option<Value>Parameters for an AWS Batch job target.
sqs_parameters: Option<Value>Parameters for an SQS queue target.
http_parameters: Option<Value>Parameters for an HTTP endpoint target.
redshift_data_parameters: Option<Value>Parameters for a Redshift Data API target.
sage_maker_pipeline_parameters: Option<Value>Parameters for a SageMaker pipeline target.
dead_letter_config: Option<DeadLetterConfig>Dead-letter queue configuration for failed invocations.
retry_policy: Option<RetryPolicy>Retry policy for failed invocations.
app_sync_parameters: Option<Value>Parameters for an AppSync target.