AWS::CodeConnections::HostA resource that represents the infrastructure where a third-party provider is installed. You create one host for all connections to that provider.
5 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | RequiredCreate-only |
ProviderEndpoint | string | Required |
ProviderType | string | RequiredCreate-only |
Tags | Array<Tag> | |
VpcConfiguration | VpcConfiguration |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
HostArn | string | The Amazon Resource Name (ARN) of the host. |
HostId | string | The server-generated unique identifier for the host. |
Status | string | The status of the host. |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
codeconnections:CreateHostcodeconnections:GetHostcodeconnections:TagResourceec2:CreateNetworkInterfaceec2:CreateTagsec2:CreateVpcEndpointec2:DeleteNetworkInterfaceec2:DeleteVpcEndpointsec2:DescribeDhcpOptionsec2:DescribeNetworkInterfacesec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcEndpointsec2:DescribeVpcscodeconnections:GetHostcodeconnections:ListTagsForResourcecodeconnections:GetHostcodeconnections:UpdateHostcodeconnections:TagResourcecodeconnections:UntagResourcecodeconnections:ListTagsForResourceec2:CreateNetworkInterfaceec2:CreateTagsec2:CreateVpcEndpointec2:DeleteNetworkInterfaceec2:DeleteVpcEndpointsec2:DescribeDhcpOptionsec2:DescribeNetworkInterfacesec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcEndpointsec2:DescribeVpcsec2:ModifyVpcEndpointcodeconnections:DeleteHostcodeconnections:GetHostec2:DeleteNetworkInterfaceec2:DeleteVpcEndpointsec2:DescribeNetworkInterfacesec2:DescribeVpcEndpointscodeconnections:ListHostsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterHostArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameProviderType