Class: Aws::RoboMaker::Types::StartSimulationJobBatchRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb

Overview

Note:

When making an API call, you may pass StartSimulationJobBatchRequest data as a hash:

{
  client_request_token: "ClientRequestToken",
  batch_policy: {
    timeout_in_seconds: 1,
    max_concurrency: 1,
  },
  create_simulation_job_requests: [ # required
    {
      output_location: {
        s3_bucket: "S3Bucket",
        s3_prefix: "S3Key",
      },
      logging_config: {
        record_all_ros_topics: false, # required
      },
      max_job_duration_in_seconds: 1, # required
      iam_role: "IamRole",
      failure_behavior: "Fail", # accepts Fail, Continue
      use_default_applications: false,
      robot_applications: [
        {
          application: "Arn", # required
          application_version: "Version",
          launch_config: { # required
            package_name: "Command", # required
            launch_file: "Command", # required
            environment_variables: {
              "EnvironmentVariableKey" => "EnvironmentVariableValue",
            },
            port_forwarding_config: {
              port_mappings: [
                {
                  job_port: 1, # required
                  application_port: 1, # required
                  enable_on_public_ip: false,
                },
              ],
            },
            stream_ui: false,
          },
        },
      ],
      simulation_applications: [
        {
          application: "Arn", # required
          application_version: "Version",
          launch_config: { # required
            package_name: "Command", # required
            launch_file: "Command", # required
            environment_variables: {
              "EnvironmentVariableKey" => "EnvironmentVariableValue",
            },
            port_forwarding_config: {
              port_mappings: [
                {
                  job_port: 1, # required
                  application_port: 1, # required
                  enable_on_public_ip: false,
                },
              ],
            },
            stream_ui: false,
          },
        },
      ],
      data_sources: [
        {
          name: "Name", # required
          s3_bucket: "S3Bucket", # required
          s3_keys: ["S3Key"], # required
        },
      ],
      vpc_config: {
        subnets: ["NonEmptyString"], # required
        security_groups: ["NonEmptyString"],
        assign_public_ip: false,
      },
      compute: {
        simulation_unit_limit: 1,
      },
      tags: {
        "TagKey" => "TagValue",
      },
    },
  ],
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#batch_policyTypes::BatchPolicy

The batch policy.

Returns:



4454
4455
4456
4457
4458
4459
4460
4461
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4454

class StartSimulationJobBatchRequest < Struct.new(
  :client_request_token,
  :batch_policy,
  :create_simulation_job_requests,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


4454
4455
4456
4457
4458
4459
4460
4461
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4454

class StartSimulationJobBatchRequest < Struct.new(
  :client_request_token,
  :batch_policy,
  :create_simulation_job_requests,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#create_simulation_job_requestsArray<Types::SimulationJobRequest>

A list of simulation job requests to create in the batch.

Returns:



4454
4455
4456
4457
4458
4459
4460
4461
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4454

class StartSimulationJobBatchRequest < Struct.new(
  :client_request_token,
  :batch_policy,
  :create_simulation_job_requests,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A map that contains tag keys and tag values that are attached to the deployment job batch.

Returns:

  • (Hash<String,String>)


4454
4455
4456
4457
4458
4459
4460
4461
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4454

class StartSimulationJobBatchRequest < Struct.new(
  :client_request_token,
  :batch_policy,
  :create_simulation_job_requests,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end