---
type: resource-type
title: CodeConnectionsConnection
description: aws resource type AWS::CodeConnections::Connection
name: CodeConnectionsConnection
lexicon: aws
resource_type: AWS::CodeConnections::Connection
---
`AWS::CodeConnections::Connection`, a resource type of the aws lexicon.

## Properties

- `ConnectionName` (`string`, required): The name of the connection. Connection names must be unique in an AWS user account.
- `ConnectionArn` (`string`, optional): The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- `ConnectionStatus` (`string`, optional): The current status of the connection.
- `HostArn` (`string`, optional): The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- `OwnerAccountId` (`string`, optional): The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
- `ProviderType` (`string`, optional): The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- `Tags` (`CodeConnectionsConnection_Tag[]`, optional): Specifies the tags applied to a connection.

## Attributes

- `ConnectionArn`
- `ConnectionStatus`
- `OwnerAccountId`
