

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS CodeStar Connections
<a name="AWS_CodeStarConnections"></a>

**Resource types**
+ [AWS::CodeStarConnections::Connection](aws-resource-codestarconnections-connection.md)
+ [AWS::CodeStarConnections::RepositoryLink](aws-resource-codestarconnections-repositorylink.md)
+ [AWS::CodeStarConnections::SyncConfiguration](aws-resource-codestarconnections-syncconfiguration.md)

# AWS::CodeStarConnections::Connection
<a name="aws-resource-codestarconnections-connection"></a>

The AWS::CodeStarConnections::Connection resource can be used to connect external source providers with services like AWS CodePipeline.

**Note:** A connection created through CloudFormation is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.

## Syntax
<a name="aws-resource-codestarconnections-connection-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-codestarconnections-connection-syntax.json"></a>

```
{
  "Type" : "AWS::CodeStarConnections::Connection",
  "Properties" : {
      "[ConnectionName](#cfn-codestarconnections-connection-connectionname)" : String,
      "[HostArn](#cfn-codestarconnections-connection-hostarn)" : String,
      "[ProviderType](#cfn-codestarconnections-connection-providertype)" : String,
      "[Tags](#cfn-codestarconnections-connection-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-codestarconnections-connection-syntax.yaml"></a>

```
Type: AWS::CodeStarConnections::Connection
Properties:
  [ConnectionName](#cfn-codestarconnections-connection-connectionname): String
  [HostArn](#cfn-codestarconnections-connection-hostarn): String
  [ProviderType](#cfn-codestarconnections-connection-providertype): String
  [Tags](#cfn-codestarconnections-connection-tags): 
    - Tag
```

## Properties
<a name="aws-resource-codestarconnections-connection-properties"></a>

`ConnectionName`  <a name="cfn-codestarconnections-connection-connectionname"></a>
The name of the connection. Connection names must be unique in an AWS account.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `32`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`HostArn`  <a name="cfn-codestarconnections-connection-hostarn"></a>
The Amazon Resource Name (ARN) of the host associated with the connection.  
*Required*: No  
*Type*: String  
*Pattern*: `arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+`  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ProviderType`  <a name="cfn-codestarconnections-connection-providertype"></a>
The name of the external provider where your third-party code repository is configured.  
*Required*: No  
*Type*: String  
*Allowed values*: `Bitbucket | GitHub | GitHubEnterpriseServer | GitLab | GitLabSelfManaged`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Tags`  <a name="cfn-codestarconnections-connection-tags"></a>
Specifies the tags applied to the resource.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-codestarconnections-connection-tag.md)  
*Minimum*: `0`  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-codestarconnections-connection-return-values"></a>

### Ref
<a name="aws-resource-codestarconnections-connection-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. For example:

 `arn:aws:codestar-connections:us-west-2:123456789012:connection/39e4c34d-e13a-4e94-a886-ea67651bf042` 

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-codestarconnections-connection-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-codestarconnections-connection-return-values-fn--getatt-fn--getatt"></a>

`ConnectionArn`  <a name="ConnectionArn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. For example: `arn:aws:codestar-connections:us-west-2:123456789012:connection/39e4c34d-e13a-4e94-a886-ea67651bf042`.

`ConnectionStatus`  <a name="ConnectionStatus-fn::getatt"></a>
The current status of the connection. For example: `PENDING`, `AVAILABLE`, or `ERROR`.

`OwnerAccountId`  <a name="OwnerAccountId-fn::getatt"></a>
The AWS account ID of the owner of the connection. For Bitbucket, this is the account ID of the owner of the Bitbucket repository. For example: `123456789012`.

## Examples
<a name="aws-resource-codestarconnections-connection--examples"></a>



**Topics**
+ [Bitbucket Connection Configuration](#aws-resource-codestarconnections-connection--examples--Bitbucket_Connection_Configuration)
+ [GitHub Enterprise Server Connection Configuration](#aws-resource-codestarconnections-connection--examples--GitHub_Enterprise_Server_Connection_Configuration)

### Bitbucket Connection Configuration
<a name="aws-resource-codestarconnections-connection--examples--Bitbucket_Connection_Configuration"></a>

The following example creates a connection with Bitbucket.

#### JSON
<a name="aws-resource-codestarconnections-connection--examples--Bitbucket_Connection_Configuration--json"></a>

```
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Resources": {
        "SampleConnection": {
            "Type": "AWS::CodeStarConnections::Connection",
            "Properties": {
                "ConnectionName": "MyConnection",
                "ProviderType": "Bitbucket",
                "Tags": [
                    {
                        "Key": "Project",
                        "Value": "ProjectB"
                    }
                ]
            }
        }
    }
}
```

#### YAML
<a name="aws-resource-codestarconnections-connection--examples--Bitbucket_Connection_Configuration--yaml"></a>

```
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  SampleConnection:
    Type: AWS::CodeStarConnections::Connection
    Properties:
      ConnectionName: MyConnection
      ProviderType: Bitbucket
      Tags:
      - Key: Project
        Value: ProjectB
```

### GitHub Enterprise Server Connection Configuration
<a name="aws-resource-codestarconnections-connection--examples--GitHub_Enterprise_Server_Connection_Configuration"></a>

The following example creates a connection with GitHub Enterprise Server.

#### JSON
<a name="aws-resource-codestarconnections-connection--examples--GitHub_Enterprise_Server_Connection_Configuration--json"></a>

```
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Resources": {
        "SampleConnection": {
            "Type": "AWS::CodeStarConnections::Connection",
            "Properties": {
                "ConnectionName": "MyConnection",
                "ProviderType": "GitHubEnterpriseServer",
                "HostArn": "arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example",
                "Tags": [
                    {
                        "Key": "Project",
                        "Value": "ProjectB"
                    }
                ]
            }
        }
    }
}
```

#### YAML
<a name="aws-resource-codestarconnections-connection--examples--GitHub_Enterprise_Server_Connection_Configuration--yaml"></a>

```
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  SampleConnection:
    Type: AWS::CodeStarConnections::Connection
    Properties:
      ConnectionName: MyConnection
      ProviderType: GitHubEnterpriseServer
      HostArn: arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example
      Tags:
      - Key: Project
        Value: ProjectB
```

# AWS::CodeStarConnections::Connection Tag
<a name="aws-properties-codestarconnections-connection-tag"></a>

A tag is a key-value pair that is used to manage the resource.

This tag is available for use by AWS services that support tags.

## Syntax
<a name="aws-properties-codestarconnections-connection-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-codestarconnections-connection-tag-syntax.json"></a>

```
{
  "[Key](#cfn-codestarconnections-connection-tag-key)" : String,
  "[Value](#cfn-codestarconnections-connection-tag-value)" : String
}
```

### YAML
<a name="aws-properties-codestarconnections-connection-tag-syntax.yaml"></a>

```
  [Key](#cfn-codestarconnections-connection-tag-key): String
  [Value](#cfn-codestarconnections-connection-tag-value): String
```

## Properties
<a name="aws-properties-codestarconnections-connection-tag-properties"></a>

`Key`  <a name="cfn-codestarconnections-connection-tag-key"></a>
The tag's key.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-codestarconnections-connection-tag-value"></a>
The tag's value.  
*Required*: Yes  
*Type*: String  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::CodeStarConnections::RepositoryLink
<a name="aws-resource-codestarconnections-repositorylink"></a>

Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.

## Syntax
<a name="aws-resource-codestarconnections-repositorylink-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-codestarconnections-repositorylink-syntax.json"></a>

```
{
  "Type" : "AWS::CodeStarConnections::RepositoryLink",
  "Properties" : {
      "[ConnectionArn](#cfn-codestarconnections-repositorylink-connectionarn)" : String,
      "[EncryptionKeyArn](#cfn-codestarconnections-repositorylink-encryptionkeyarn)" : String,
      "[OwnerId](#cfn-codestarconnections-repositorylink-ownerid)" : String,
      "[RepositoryName](#cfn-codestarconnections-repositorylink-repositoryname)" : String,
      "[Tags](#cfn-codestarconnections-repositorylink-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-codestarconnections-repositorylink-syntax.yaml"></a>

```
Type: AWS::CodeStarConnections::RepositoryLink
Properties:
  [ConnectionArn](#cfn-codestarconnections-repositorylink-connectionarn): String
  [EncryptionKeyArn](#cfn-codestarconnections-repositorylink-encryptionkeyarn): String
  [OwnerId](#cfn-codestarconnections-repositorylink-ownerid): String
  [RepositoryName](#cfn-codestarconnections-repositorylink-repositoryname): String
  [Tags](#cfn-codestarconnections-repositorylink-tags): 
    - Tag
```

## Properties
<a name="aws-resource-codestarconnections-repositorylink-properties"></a>

`ConnectionArn`  <a name="cfn-codestarconnections-repositorylink-connectionarn"></a>
The Amazon Resource Name (ARN) of the connection associated with the repository link.  
*Required*: Yes  
*Type*: String  
*Pattern*: `arn:(aws|aws-us-gov|aws-cn):.+:.+:[0-9]{12}:.+`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EncryptionKeyArn`  <a name="cfn-codestarconnections-repositorylink-encryptionkeyarn"></a>
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.  
*Required*: No  
*Type*: String  
*Pattern*: `arn:(aws|aws-us-gov|aws-cn):.+:.+:[0-9]{12}:.+`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`OwnerId`  <a name="cfn-codestarconnections-repositorylink-ownerid"></a>
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.  
*Required*: Yes  
*Type*: String  
*Pattern*: `[a-za-z0-9_\.-]+`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`RepositoryName`  <a name="cfn-codestarconnections-repositorylink-repositoryname"></a>
The name of the repository associated with the repository link.  
*Required*: Yes  
*Type*: String  
*Pattern*: `[a-za-z0-9_\.-]+`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Tags`  <a name="cfn-codestarconnections-repositorylink-tags"></a>
The tags for the repository to be associated with the repository link.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-codestarconnections-repositorylink-tag.md)  
*Minimum*: `0`  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-codestarconnections-repositorylink-return-values"></a>

### Ref
<a name="aws-resource-codestarconnections-repositorylink-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the Amazon Resource Name (ARN) of the repository link. For example:

 `arn:aws:codestar-connections:region:account-id:repository-link/repository-link-id` 

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-codestarconnections-repositorylink-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-codestarconnections-repositorylink-return-values-fn--getatt-fn--getatt"></a>

`ProviderType`  <a name="ProviderType-fn::getatt"></a>
Property description not available.

`RepositoryLinkArn`  <a name="RepositoryLinkArn-fn::getatt"></a>
Property description not available.

`RepositoryLinkId`  <a name="RepositoryLinkId-fn::getatt"></a>
Property description not available.

# AWS::CodeStarConnections::RepositoryLink Tag
<a name="aws-properties-codestarconnections-repositorylink-tag"></a>

The tags for the repository to be associated with the repository link.

## Syntax
<a name="aws-properties-codestarconnections-repositorylink-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-codestarconnections-repositorylink-tag-syntax.json"></a>

```
{
  "[Key](#cfn-codestarconnections-repositorylink-tag-key)" : String,
  "[Value](#cfn-codestarconnections-repositorylink-tag-value)" : String
}
```

### YAML
<a name="aws-properties-codestarconnections-repositorylink-tag-syntax.yaml"></a>

```
  [Key](#cfn-codestarconnections-repositorylink-tag-key): String
  [Value](#cfn-codestarconnections-repositorylink-tag-value): String
```

## Properties
<a name="aws-properties-codestarconnections-repositorylink-tag-properties"></a>

`Key`  <a name="cfn-codestarconnections-repositorylink-tag-key"></a>
The tag's key.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-codestarconnections-repositorylink-tag-value"></a>
The tag's value.  
*Required*: Yes  
*Type*: String  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::CodeStarConnections::SyncConfiguration
<a name="aws-resource-codestarconnections-syncconfiguration"></a>

Information, such as repository, branch, provider, and resource names for a specific sync configuration.

## Syntax
<a name="aws-resource-codestarconnections-syncconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-codestarconnections-syncconfiguration-syntax.json"></a>

```
{
  "Type" : "AWS::CodeStarConnections::SyncConfiguration",
  "Properties" : {
      "[Branch](#cfn-codestarconnections-syncconfiguration-branch)" : String,
      "[ConfigFile](#cfn-codestarconnections-syncconfiguration-configfile)" : String,
      "[PublishDeploymentStatus](#cfn-codestarconnections-syncconfiguration-publishdeploymentstatus)" : String,
      "[RepositoryLinkId](#cfn-codestarconnections-syncconfiguration-repositorylinkid)" : String,
      "[ResourceName](#cfn-codestarconnections-syncconfiguration-resourcename)" : String,
      "[RoleArn](#cfn-codestarconnections-syncconfiguration-rolearn)" : String,
      "[SyncType](#cfn-codestarconnections-syncconfiguration-synctype)" : String,
      "[TriggerResourceUpdateOn](#cfn-codestarconnections-syncconfiguration-triggerresourceupdateon)" : String
    }
}
```

### YAML
<a name="aws-resource-codestarconnections-syncconfiguration-syntax.yaml"></a>

```
Type: AWS::CodeStarConnections::SyncConfiguration
Properties:
  [Branch](#cfn-codestarconnections-syncconfiguration-branch): String
  [ConfigFile](#cfn-codestarconnections-syncconfiguration-configfile): String
  [PublishDeploymentStatus](#cfn-codestarconnections-syncconfiguration-publishdeploymentstatus): String
  [RepositoryLinkId](#cfn-codestarconnections-syncconfiguration-repositorylinkid): String
  [ResourceName](#cfn-codestarconnections-syncconfiguration-resourcename): String
  [RoleArn](#cfn-codestarconnections-syncconfiguration-rolearn): String
  [SyncType](#cfn-codestarconnections-syncconfiguration-synctype): String
  [TriggerResourceUpdateOn](#cfn-codestarconnections-syncconfiguration-triggerresourceupdateon): String
```

## Properties
<a name="aws-resource-codestarconnections-syncconfiguration-properties"></a>

`Branch`  <a name="cfn-codestarconnections-syncconfiguration-branch"></a>
The branch associated with a specific sync configuration.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^.*$`  
*Minimum*: `1`  
*Maximum*: `255`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ConfigFile`  <a name="cfn-codestarconnections-syncconfiguration-configfile"></a>
The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`PublishDeploymentStatus`  <a name="cfn-codestarconnections-syncconfiguration-publishdeploymentstatus"></a>
Whether to enable or disable publishing of deployment status to source providers.  
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RepositoryLinkId`  <a name="cfn-codestarconnections-syncconfiguration-repositorylinkid"></a>
The ID of the repository link associated with a specific sync configuration.  
*Required*: Yes  
*Type*: String  
*Pattern*: `[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ResourceName`  <a name="cfn-codestarconnections-syncconfiguration-resourcename"></a>
The name of the connection resource associated with a specific sync configuration.  
*Required*: Yes  
*Type*: String  
*Pattern*: `[a-za-z0-9_\.-]+`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`RoleArn`  <a name="cfn-codestarconnections-syncconfiguration-rolearn"></a>
The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.  
*Required*: Yes  
*Type*: String  
*Pattern*: `arn:aws(-[\w]+)*:iam::\d{12}:role/[a-zA-Z_0-9+=,.@\-_/]+`  
*Minimum*: `1`  
*Maximum*: `1024`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SyncType`  <a name="cfn-codestarconnections-syncconfiguration-synctype"></a>
The type of sync for a specific sync configuration.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `CFN_STACK_SYNC`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`TriggerResourceUpdateOn`  <a name="cfn-codestarconnections-syncconfiguration-triggerresourceupdateon"></a>
When to trigger Git sync to begin the stack update.  
*Required*: No  
*Type*: String  
*Allowed values*: `ANY_CHANGE | FILE_CHANGE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-codestarconnections-syncconfiguration-return-values"></a>

### Ref
<a name="aws-resource-codestarconnections-syncconfiguration-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the Amazon Resource Name (ARN) of the sync configuration. 

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-codestarconnections-syncconfiguration-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-codestarconnections-syncconfiguration-return-values-fn--getatt-fn--getatt"></a>

`OwnerId`  <a name="OwnerId-fn::getatt"></a>
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

`ProviderType`  <a name="ProviderType-fn::getatt"></a>
Property description not available.

`RepositoryName`  <a name="RepositoryName-fn::getatt"></a>
Property description not available.