You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::RoboMaker::Types::CreateSimulationJobRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::RoboMaker::Types::CreateSimulationJobRequest
- Defined in:
- (unknown)
Overview
When passing CreateSimulationJobRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
client_request_token: "ClientRequestToken",
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", # required
failure_behavior: "Fail", # accepts Fail, Continue
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,
},
world_configs: [
{
world: "Arn",
},
],
},
],
data_sources: [
{
name: "Name", # required
s3_bucket: "S3Bucket", # required
s3_keys: ["S3Key"], # required
},
],
tags: {
"TagKey" => "TagValue",
},
vpc_config: {
subnets: ["NonEmptyString"], # required
security_groups: ["NonEmptyString"],
assign_public_ip: false,
},
compute: {
simulation_unit_limit: 1,
},
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#compute ⇒ Types::Compute
Compute information for the simulation job.
-
#data_sources ⇒ Array<Types::DataSourceConfig>
Specify data sources to mount read-only files from S3 into your simulation.
-
#failure_behavior ⇒ String
The failure behavior the simulation job.
-
#iam_role ⇒ String
The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf.
-
#logging_config ⇒ Types::LoggingConfig
The logging configuration.
-
#max_job_duration_in_seconds ⇒ Integer
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition toCompleted
.. -
#output_location ⇒ Types::OutputLocation
Location for output files generated by the simulation job.
-
#robot_applications ⇒ Array<Types::RobotApplicationConfig>
The robot application to use in the simulation job.
-
#simulation_applications ⇒ Array<Types::SimulationApplicationConfig>
The simulation application to use in the simulation job.
-
#tags ⇒ Hash<String,String>
A map that contains tag keys and tag values that are attached to the simulation job.
-
#vpc_config ⇒ Types::VPCConfig
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs.
Instance Attribute Details
#client_request_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
#compute ⇒ Types::Compute
Compute information for the simulation job.
#data_sources ⇒ Array<Types::DataSourceConfig>
Specify data sources to mount read-only files from S3 into your
simulation. These files are available under
/opt/robomaker/datasources/data_source_name
.
DataSourceConfig
objects.
#failure_behavior ⇒ String
The failure behavior the simulation job.
- Continue
Restart the simulation job in the same host instance.
- Fail
Stop the simulation job and terminate the instance.
Possible values:
- Fail
- Continue
#iam_role ⇒ String
The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.
#logging_config ⇒ Types::LoggingConfig
The logging configuration.
#max_job_duration_in_seconds ⇒ Integer
The maximum simulation job duration in seconds (up to 14 days or
1,209,600 seconds. When maxJobDurationInSeconds
is reached, the
simulation job will status will transition to Completed
.
#output_location ⇒ Types::OutputLocation
Location for output files generated by the simulation job.
#robot_applications ⇒ Array<Types::RobotApplicationConfig>
The robot application to use in the simulation job.
#simulation_applications ⇒ Array<Types::SimulationApplicationConfig>
The simulation application to use in the simulation job.
#tags ⇒ Hash<String,String>
A map that contains tag keys and tag values that are attached to the simulation job.
#vpc_config ⇒ Types::VPCConfig
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.