AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CodeStarconnections::Types::CreateHostInput

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

Overview

Note:

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

{
  name: "HostName", # required
  provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
  provider_endpoint: "Url", # required
  vpc_configuration: {
    vpc_id: "VpcId", # required
    subnet_ids: ["SubnetId"], # required
    security_group_ids: ["SecurityGroupId"], # required
    tls_certificate: "TlsCertificate",
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the host to be created. The name must be unique in the calling AWS account.

Returns:

  • (String)


198
199
200
201
202
203
204
205
206
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 198

class CreateHostInput < Struct.new(
  :name,
  :provider_type,
  :provider_endpoint,
  :vpc_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#provider_endpointString

The endpoint of the infrastructure to be represented by the host after it is created.

Returns:

  • (String)


198
199
200
201
202
203
204
205
206
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 198

class CreateHostInput < Struct.new(
  :name,
  :provider_type,
  :provider_endpoint,
  :vpc_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#provider_typeString

The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

Returns:

  • (String)


198
199
200
201
202
203
204
205
206
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 198

class CreateHostInput < Struct.new(
  :name,
  :provider_type,
  :provider_endpoint,
  :vpc_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Returns:



198
199
200
201
202
203
204
205
206
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 198

class CreateHostInput < Struct.new(
  :name,
  :provider_type,
  :provider_endpoint,
  :vpc_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_configurationTypes::VpcConfiguration

The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.



198
199
200
201
202
203
204
205
206
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 198

class CreateHostInput < Struct.new(
  :name,
  :provider_type,
  :provider_endpoint,
  :vpc_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end