When passing PutTargetsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rule: "RuleName", event_bus_name: "EventBusNameOrArn",
targets: [ {
id: "TargetId", arn: "TargetArn", role_arn: "RoleArn",
input: "TargetInput",
input_path: "TargetInputPath",
input_transformer: {
input_paths_map: {
"InputTransformerPathKey" => "TargetInputPath",
},
input_template: "TransformerInput", },
kinesis_parameters: {
partition_key_path: "TargetPartitionKeyPath", },
run_command_parameters: {
run_command_targets: [ {
key: "RunCommandTargetKey", values: ["RunCommandTargetValue"], },
],
},
ecs_parameters: {
task_definition_arn: "Arn", task_count: 1,
launch_type: "EC2", network_configuration: {
awsvpc_configuration: {
subnets: ["String"], security_groups: ["String"],
assign_public_ip: "ENABLED", },
},
platform_version: "String",
group: "String",
},
batch_parameters: {
job_definition: "String", job_name: "String", array_properties: {
size: 1,
},
retry_strategy: {
attempts: 1,
},
},
sqs_parameters: {
message_group_id: "MessageGroupId",
},
http_parameters: {
path_parameter_values: ["PathParameter"],
header_parameters: {
"HeaderKey" => "HeaderValue",
},
query_string_parameters: {
"QueryStringKey" => "QueryStringValue",
},
},
redshift_data_parameters: {
secret_manager_arn: "RedshiftSecretManagerArn",
database: "Database", db_user: "DbUser",
sql: "Sql", statement_name: "StatementName",
with_event: false,
},
dead_letter_config: {
arn: "ResourceArn",
},
retry_policy: {
maximum_retry_attempts: 1,
maximum_event_age_in_seconds: 1,
},
},
],
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4