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", # required
    description: "DescriptionString",
    connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM
    match_criteria: ["NameString"],
    connection_properties: { # required
      "HOST" => "ValueString",
    },
    physical_connection_requirements: {
      subnet_id: "NameString",
      security_group_id_list: ["NameString"],
      availability_zone: "NameString",
    },
  },
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.

Returns:

  • (String)


2926
2927
2928
2929
2930
2931
2932
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2926

class CreateConnectionRequest < Struct.new(
  :catalog_id,
  :connection_input,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#connection_inputTypes::ConnectionInput

A ConnectionInput object defining the connection to create.



2926
2927
2928
2929
2930
2931
2932
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2926

class CreateConnectionRequest < Struct.new(
  :catalog_id,
  :connection_input,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags you assign to the connection.

Returns:

  • (Hash<String,String>)


2926
2927
2928
2929
2930
2931
2932
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2926

class CreateConnectionRequest < Struct.new(
  :catalog_id,
  :connection_input,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end