1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. codeconnections
  6. Host

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi

    A resource that represents the infrastructure where a third-party provider is installed. You create one host for all connections to that provider.

    Create Host Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Host(name: string, args: HostArgs, opts?: CustomResourceOptions);
    @overload
    def Host(resource_name: str,
             args: HostArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Host(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             provider_endpoint: Optional[str] = None,
             provider_type: Optional[HostProviderType] = None,
             name: Optional[str] = None,
             tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
             vpc_configuration: Optional[HostVpcConfigurationArgs] = None)
    func NewHost(ctx *Context, name string, args HostArgs, opts ...ResourceOption) (*Host, error)
    public Host(string name, HostArgs args, CustomResourceOptions? opts = null)
    public Host(String name, HostArgs args)
    public Host(String name, HostArgs args, CustomResourceOptions options)
    
    type: aws-native:codeconnections:Host
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_codeconnections_host" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Host Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Host resource accepts the following input properties:

    ProviderEndpoint string
    The endpoint of the infrastructure where your provider type is installed.
    ProviderType Pulumi.AwsNative.CodeConnections.HostProviderType
    The name of the installed provider to be associated with your connection.
    Name string
    The name of the host.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags to apply to the host.
    VpcConfiguration Pulumi.AwsNative.CodeConnections.Inputs.HostVpcConfiguration
    ProviderEndpoint string
    The endpoint of the infrastructure where your provider type is installed.
    ProviderType HostProviderType
    The name of the installed provider to be associated with your connection.
    Name string
    The name of the host.
    Tags TagArgs
    Tags to apply to the host.
    VpcConfiguration HostVpcConfigurationArgs
    provider_endpoint string
    The endpoint of the infrastructure where your provider type is installed.
    provider_type "Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged" | "AzureDevOps"
    The name of the installed provider to be associated with your connection.
    name string
    The name of the host.
    tags list(object)
    Tags to apply to the host.
    vpc_configuration object
    providerEndpoint String
    The endpoint of the infrastructure where your provider type is installed.
    providerType HostProviderType
    The name of the installed provider to be associated with your connection.
    name String
    The name of the host.
    tags List<Tag>
    Tags to apply to the host.
    vpcConfiguration HostVpcConfiguration
    providerEndpoint string
    The endpoint of the infrastructure where your provider type is installed.
    providerType HostProviderType
    The name of the installed provider to be associated with your connection.
    name string
    The name of the host.
    tags Tag[]
    Tags to apply to the host.
    vpcConfiguration HostVpcConfiguration
    provider_endpoint str
    The endpoint of the infrastructure where your provider type is installed.
    provider_type HostProviderType
    The name of the installed provider to be associated with your connection.
    name str
    The name of the host.
    tags Sequence[TagArgs]
    Tags to apply to the host.
    vpc_configuration HostVpcConfigurationArgs
    providerEndpoint String
    The endpoint of the infrastructure where your provider type is installed.
    providerType "Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged" | "AzureDevOps"
    The name of the installed provider to be associated with your connection.
    name String
    The name of the host.
    tags List<Property Map>
    Tags to apply to the host.
    vpcConfiguration Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Host resource produces the following output properties:

    HostArn string
    The Amazon Resource Name (ARN) of the host.
    HostId string
    The server-generated unique identifier for the host.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the host.
    HostArn string
    The Amazon Resource Name (ARN) of the host.
    HostId string
    The server-generated unique identifier for the host.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the host.
    host_arn string
    The Amazon Resource Name (ARN) of the host.
    host_id string
    The server-generated unique identifier for the host.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the host.
    hostArn String
    The Amazon Resource Name (ARN) of the host.
    hostId String
    The server-generated unique identifier for the host.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the host.
    hostArn string
    The Amazon Resource Name (ARN) of the host.
    hostId string
    The server-generated unique identifier for the host.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the host.
    host_arn str
    The Amazon Resource Name (ARN) of the host.
    host_id str
    The server-generated unique identifier for the host.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the host.
    hostArn String
    The Amazon Resource Name (ARN) of the host.
    hostId String
    The server-generated unique identifier for the host.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the host.

    Supporting Types

    HostProviderType, HostProviderTypeArgs

    Bitbucket
    Bitbucket
    GitHub
    GitHub
    GitHubEnterpriseServer
    GitHubEnterpriseServer
    GitLab
    GitLab
    GitLabSelfManaged
    GitLabSelfManaged
    AzureDevOps
    AzureDevOps
    HostProviderTypeBitbucket
    Bitbucket
    HostProviderTypeGitHub
    GitHub
    HostProviderTypeGitHubEnterpriseServer
    GitHubEnterpriseServer
    HostProviderTypeGitLab
    GitLab
    HostProviderTypeGitLabSelfManaged
    GitLabSelfManaged
    HostProviderTypeAzureDevOps
    AzureDevOps
    "Bitbucket"
    Bitbucket
    "GitHub"
    GitHub
    "GitHubEnterpriseServer"
    GitHubEnterpriseServer
    "GitLab"
    GitLab
    "GitLabSelfManaged"
    GitLabSelfManaged
    "AzureDevOps"
    AzureDevOps
    Bitbucket
    Bitbucket
    GitHub
    GitHub
    GitHubEnterpriseServer
    GitHubEnterpriseServer
    GitLab
    GitLab
    GitLabSelfManaged
    GitLabSelfManaged
    AzureDevOps
    AzureDevOps
    Bitbucket
    Bitbucket
    GitHub
    GitHub
    GitHubEnterpriseServer
    GitHubEnterpriseServer
    GitLab
    GitLab
    GitLabSelfManaged
    GitLabSelfManaged
    AzureDevOps
    AzureDevOps
    BITBUCKET
    Bitbucket
    GIT_HUB
    GitHub
    GIT_HUB_ENTERPRISE_SERVER
    GitHubEnterpriseServer
    GIT_LAB
    GitLab
    GIT_LAB_SELF_MANAGED
    GitLabSelfManaged
    AZURE_DEV_OPS
    AzureDevOps
    "Bitbucket"
    Bitbucket
    "GitHub"
    GitHub
    "GitHubEnterpriseServer"
    GitHubEnterpriseServer
    "GitLab"
    GitLab
    "GitLabSelfManaged"
    GitLabSelfManaged
    "AzureDevOps"
    AzureDevOps

    HostVpcConfiguration, HostVpcConfigurationArgs

    The VPC configuration provisioned for the host.
    SecurityGroupIds List<string>
    The ID of the security group or security groups associated with the Amazon VPC.
    SubnetIds List<string>
    The ID of the subnet or subnets associated with the Amazon VPC.
    VpcId string
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    TlsCertificate string
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
    SecurityGroupIds []string
    The ID of the security group or security groups associated with the Amazon VPC.
    SubnetIds []string
    The ID of the subnet or subnets associated with the Amazon VPC.
    VpcId string
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    TlsCertificate string
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
    security_group_ids list(string)
    The ID of the security group or security groups associated with the Amazon VPC.
    subnet_ids list(string)
    The ID of the subnet or subnets associated with the Amazon VPC.
    vpc_id string
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    tls_certificate string
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
    securityGroupIds List<String>
    The ID of the security group or security groups associated with the Amazon VPC.
    subnetIds List<String>
    The ID of the subnet or subnets associated with the Amazon VPC.
    vpcId String
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    tlsCertificate String
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
    securityGroupIds string[]
    The ID of the security group or security groups associated with the Amazon VPC.
    subnetIds string[]
    The ID of the subnet or subnets associated with the Amazon VPC.
    vpcId string
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    tlsCertificate string
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
    security_group_ids Sequence[str]
    The ID of the security group or security groups associated with the Amazon VPC.
    subnet_ids Sequence[str]
    The ID of the subnet or subnets associated with the Amazon VPC.
    vpc_id str
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    tls_certificate str
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
    securityGroupIds List<String>
    The ID of the security group or security groups associated with the Amazon VPC.
    subnetIds List<String>
    The ID of the subnet or subnets associated with the Amazon VPC.
    vpcId String
    The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
    tlsCertificate String
    The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial