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

Class: Aws::GameLift::Types::CreateVpcPeeringConnectionInput

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

Overview

Note:

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

{
  fleet_id: "FleetId", # required
  peer_vpc_aws_account_id: "NonZeroAndMaxString", # required
  peer_vpc_id: "NonZeroAndMaxString", # required
}

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#fleet_idString

Unique identifier for a fleet. This tells Amazon GameLift which GameLift VPC to peer with.

Returns:

  • (String)


1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1155

class CreateVpcPeeringConnectionInput < Struct.new(
  :fleet_id,
  :peer_vpc_aws_account_id,
  :peer_vpc_id)
  include Aws::Structure
end

#peer_vpc_aws_account_idString

Unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your Account ID in the AWS Management Console under account settings.

Returns:

  • (String)


1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1155

class CreateVpcPeeringConnectionInput < Struct.new(
  :fleet_id,
  :peer_vpc_aws_account_id,
  :peer_vpc_id)
  include Aws::Structure
end

#peer_vpc_idString

Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same region where your fleet is deployed. To get VPC information, including IDs, use the Virtual Private Cloud service tools, including the VPC Dashboard in the AWS Management Console.

Returns:

  • (String)


1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1155

class CreateVpcPeeringConnectionInput < Struct.new(
  :fleet_id,
  :peer_vpc_aws_account_id,
  :peer_vpc_id)
  include Aws::Structure
end