AWS::CodeConnections::Host

CodeConnections Host

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

Properties

5 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
ProviderEndpoint
string
Required
ProviderType
string
RequiredCreate-only
Tags
Array<Tag>
VpcConfiguration
VpcConfiguration

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
HostArnstringThe Amazon Resource Name (ARN) of the host.
HostIdstringThe server-generated unique identifier for the host.
StatusstringThe status of the host.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeConnections::Host

Resources:
  MyResource:
    Type: AWS::CodeConnections::Host
    Properties:
      Name: "my-name"
      ProviderType: "Bitbucket"
      ProviderEndpoint: "my-providerendpoint"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

codeconnections:CreateHostcodeconnections:GetHostcodeconnections:TagResourceec2:CreateNetworkInterfaceec2:CreateTagsec2:CreateVpcEndpointec2:DeleteNetworkInterfaceec2:DeleteVpcEndpointsec2:DescribeDhcpOptionsec2:DescribeNetworkInterfacesec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcEndpointsec2:DescribeVpcs

read

codeconnections:GetHostcodeconnections:ListTagsForResource

update

codeconnections:GetHostcodeconnections:UpdateHostcodeconnections:TagResourcecodeconnections:UntagResourcecodeconnections:ListTagsForResourceec2:CreateNetworkInterfaceec2:CreateTagsec2:CreateVpcEndpointec2:DeleteNetworkInterfaceec2:DeleteVpcEndpointsec2:DescribeDhcpOptionsec2:DescribeNetworkInterfacesec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcEndpointsec2:DescribeVpcsec2:ModifyVpcEndpoint

delete

codeconnections:DeleteHostcodeconnections:GetHostec2:DeleteNetworkInterfaceec2:DeleteVpcEndpointsec2:DescribeNetworkInterfacesec2:DescribeVpcEndpoints

list

codeconnections:ListHosts

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceCodeConnections
Properties8
Required3
TaggingSupported
Primary IDHostArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

NameProviderType

Related Resources

External Links