AWS::CodeStarConnections::RepositoryLink
Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::CodeStarConnections::RepositoryLink", "Properties" : { "ConnectionArn" :
String
, "EncryptionKeyArn" :String
, "OwnerId" :String
, "RepositoryName" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::CodeStarConnections::RepositoryLink Properties: ConnectionArn:
String
EncryptionKeyArn:String
OwnerId:String
RepositoryName:String
Tags:- Tag
Properties
ConnectionArn
-
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
EncryptionKeyArn
-
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
OwnerId
-
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
RepositoryName
-
The name of the repository associated with the repository link.
Required: Yes
Type: String
Pattern:
[a-za-z0-9_\.-]+
Update requires: Replacement
-
The tags for the repository to be associated with the repository link.
Required: No
Type: Array of Tag
Minimum:
0
Maximum:
200
Update requires: No interruption
Return values
Ref
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 Ref
.
Fn::GetAtt
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 Fn::GetAtt
.
ProviderType
Property description not available.
RepositoryLinkArn
Property description not available.
RepositoryLinkId
Property description not available.