interface CfnRepositoryLinkProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeStarConnections.CfnRepositoryLinkProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodestarconnections#CfnRepositoryLinkProps |
![]() | software.amazon.awscdk.services.codestarconnections.CfnRepositoryLinkProps |
![]() | aws_cdk.aws_codestarconnections.CfnRepositoryLinkProps |
![]() | aws-cdk-lib » aws_codestarconnections » CfnRepositoryLinkProps |
Properties for defining a CfnRepositoryLink
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codestarconnections as codestarconnections } from 'aws-cdk-lib';
const cfnRepositoryLinkProps: codestarconnections.CfnRepositoryLinkProps = {
connectionArn: 'connectionArn',
ownerId: 'ownerId',
repositoryName: 'repositoryName',
// the properties below are optional
encryptionKeyArn: 'encryptionKeyArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
connection | string | The Amazon Resource Name (ARN) of the connection associated with the repository link. |
owner | string | The owner ID for the repository associated with the repository link, such as the owner ID in GitHub. |
repository | string | The name of the repository associated with the repository link. |
encryption | string | The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link. |
tags? | Cfn [] | The tags for the repository to be associated with the repository link. |
connectionArn
Type:
string
The Amazon Resource Name (ARN) of the connection associated with the repository link.
ownerId
Type:
string
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
repositoryName
Type:
string
The name of the repository associated with the repository link.
encryptionKeyArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
tags?
Type:
Cfn
[]
(optional)
The tags for the repository to be associated with the repository link.