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

Class: Aws::Glue::Types::CreateConnectionRequest

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

Overview

Note:

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

{
  catalog_id: "CatalogIdString",
  connection_input: { # required
    name: "NameString",
    description: "DescriptionString",
    connection_type: "JDBC", # accepts JDBC, SFTP
    match_criteria: ["NameString"],
    connection_properties: {
      "HOST" => "ValueString",
    },
    physical_connection_requirements: {
      subnet_id: "NameString",
      security_group_id_list: ["NameString"],
      availability_zone: "NameString",
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.

Returns:

  • (String)


932
933
934
935
936
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 932

class CreateConnectionRequest < Struct.new(
  :catalog_id,
  :connection_input)
  include Aws::Structure
end

#connection_inputTypes::ConnectionInput

A ConnectionInput object defining the connection to create.



932
933
934
935
936
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 932

class CreateConnectionRequest < Struct.new(
  :catalog_id,
  :connection_input)
  include Aws::Structure
end