You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RoboMaker::Types::VPCConfig

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 VPCConfig data as a hash:

{
  subnets: ["NonEmptyString"], # required
  security_groups: ["NonEmptyString"],
  assign_public_ip: false,
}

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 two subnet IDs.

Instance Attribute Summary collapse

Instance Attribute Details

#assign_public_ipBoolean

A boolean indicating whether to assign a public IP address.

Returns:

  • (Boolean)


4017
4018
4019
4020
4021
4022
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4017

class VPCConfig < Struct.new(
  :subnets,
  :security_groups,
  :assign_public_ip)
  include Aws::Structure
end

#security_groupsArray<String>

A list of one or more security groups IDs in your VPC.

Returns:

  • (Array<String>)


4017
4018
4019
4020
4021
4022
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4017

class VPCConfig < Struct.new(
  :subnets,
  :security_groups,
  :assign_public_ip)
  include Aws::Structure
end

#subnetsArray<String>

A list of one or more subnet IDs in your VPC.

Returns:

  • (Array<String>)


4017
4018
4019
4020
4021
4022
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 4017

class VPCConfig < Struct.new(
  :subnets,
  :security_groups,
  :assign_public_ip)
  include Aws::Structure
end