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

Class: Aws::Glue::Types::ConnectionInput

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

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

A structure that is used to specify a connection to create or update.

Instance Attribute Summary collapse

Instance Attribute Details

#connection_propertiesHash<String,String>

These key-value pairs define parameters for the connection.

Returns:

  • (Hash<String,String>)


1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1086

class ConnectionInput < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements)
  include Aws::Structure
end

#connection_typeString

The type of the connection. Currently, only JDBC is supported; SFTP is not supported.

Returns:

  • (String)


1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1086

class ConnectionInput < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements)
  include Aws::Structure
end

#descriptionString

The description of the connection.

Returns:

  • (String)


1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1086

class ConnectionInput < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements)
  include Aws::Structure
end

#match_criteriaArray<String>

A list of criteria that can be used in selecting this connection.

Returns:

  • (Array<String>)


1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1086

class ConnectionInput < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements)
  include Aws::Structure
end

#nameString

The name of the connection.

Returns:

  • (String)


1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1086

class ConnectionInput < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements)
  include Aws::Structure
end

#physical_connection_requirementsTypes::PhysicalConnectionRequirements

A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to successfully make this connection.



1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1086

class ConnectionInput < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements)
  include Aws::Structure
end