We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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)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:
- Provider
Endpoint string - The endpoint of the infrastructure where your provider type is installed.
- Provider
Type Pulumi.Aws Native. Code Connections. Host Provider Type - The name of the installed provider to be associated with your connection.
- Name string
- The name of the host.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags to apply to the host.
- Vpc
Configuration Pulumi.Aws Native. Code Connections. Inputs. Host Vpc Configuration
- Provider
Endpoint string - The endpoint of the infrastructure where your provider type is installed.
- Provider
Type HostProvider Type - The name of the installed provider to be associated with your connection.
- Name string
- The name of the host.
-
Tag
Args - Tags to apply to the host.
- Vpc
Configuration HostVpc Configuration Args
- provider_
endpoint string - The endpoint of the infrastructure where your provider type is installed.
- provider_
type "Bitbucket" | "GitHub" | "Git Hub Enterprise Server" | "Git Lab" | "Git Lab Self Managed" | "Azure Dev Ops" - The name of the installed provider to be associated with your connection.
- name string
- The name of the host.
- list(object)
- Tags to apply to the host.
- vpc_
configuration object
- provider
Endpoint String - The endpoint of the infrastructure where your provider type is installed.
- provider
Type HostProvider Type - The name of the installed provider to be associated with your connection.
- name String
- The name of the host.
- List<Tag>
- Tags to apply to the host.
- vpc
Configuration HostVpc Configuration
- provider
Endpoint string - The endpoint of the infrastructure where your provider type is installed.
- provider
Type HostProvider Type - The name of the installed provider to be associated with your connection.
- name string
- The name of the host.
- Tag[]
- Tags to apply to the host.
- vpc
Configuration HostVpc Configuration
- provider_
endpoint str - The endpoint of the infrastructure where your provider type is installed.
- provider_
type HostProvider Type - The name of the installed provider to be associated with your connection.
- name str
- The name of the host.
-
Sequence[Tag
Args] - Tags to apply to the host.
- vpc_
configuration HostVpc Configuration Args
- provider
Endpoint String - The endpoint of the infrastructure where your provider type is installed.
- provider
Type "Bitbucket" | "GitHub" | "Git Hub Enterprise Server" | "Git Lab" | "Git Lab Self Managed" | "Azure Dev Ops" - The name of the installed provider to be associated with your connection.
- name String
- The name of the host.
- List<Property Map>
- Tags to apply to the host.
- vpc
Configuration Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Host resource produces the following output properties:
Supporting Types
HostProviderType, HostProviderTypeArgs
- Bitbucket
Bitbucket- Git
Hub GitHub- Git
Hub Enterprise Server GitHubEnterpriseServer- Git
Lab GitLab- Git
Lab Self Managed GitLabSelfManaged- Azure
Dev Ops AzureDevOps
- Host
Provider Type Bitbucket Bitbucket- Host
Provider Type Git Hub GitHub- Host
Provider Type Git Hub Enterprise Server GitHubEnterpriseServer- Host
Provider Type Git Lab GitLab- Host
Provider Type Git Lab Self Managed GitLabSelfManaged- Host
Provider Type Azure Dev Ops 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- Git
Hub GitHub- Git
Hub Enterprise Server GitHubEnterpriseServer- Git
Lab GitLab- Git
Lab Self Managed GitLabSelfManaged- Azure
Dev Ops 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- GIT_HUB
GitHub- GIT_HUB_ENTERPRISE_SERVER
GitHubEnterpriseServer- GIT_LAB
GitLab- GIT_LAB_SELF_MANAGED
GitLabSelfManaged- AZURE_DEV_OPS
AzureDevOps
- "Bitbucket"
Bitbucket- "Git
Hub" GitHub- "Git
Hub Enterprise Server" GitHubEnterpriseServer- "Git
Lab" GitLab- "Git
Lab Self Managed" GitLabSelfManaged- "Azure
Dev Ops" AzureDevOps
HostVpcConfiguration, HostVpcConfigurationArgs
The VPC configuration provisioned for the host.- Security
Group List<string>Ids - 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.
- Security
Group []stringIds - The ID of the security group or security groups associated with the Amazon VPC.
- Subnet
Ids []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.
- security_
group_ list(string)ids - 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.
- security
Group List<String>Ids - 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.
- security
Group string[]Ids - The ID of the security group or security groups associated with the Amazon VPC.
- subnet
Ids 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.
- security_
group_ Sequence[str]ids - 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.
- security
Group List<String>Ids - 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.
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi