Class CfnRepositoryLink
Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeStarConnections
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRepositoryLink : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnRepositoryLink Inherits CfnResource Implements IInspectable, ITaggableV2
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeStarConnections;
var cfnRepositoryLink = new CfnRepositoryLink(this, "MyCfnRepositoryLink", new CfnRepositoryLinkProps {
ConnectionArn = "connectionArn",
OwnerId = "ownerId",
RepositoryName = "repositoryName",
// the properties below are optional
EncryptionKeyArn = "encryptionKeyArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnRepositoryLink(Construct, string, ICfnRepositoryLinkProps) | Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID. |
Properties
AttrProviderType | The name of the external provider where your third-party code repository is configured. |
AttrRepositoryLinkArn | A unique Amazon Resource Name (ARN) to designate the repository link. |
AttrRepositoryLinkId | A UUID that uniquely identifies the RepositoryLink. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CfnProperties | Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID. |
ConnectionArn | The Amazon Resource Name (ARN) of the connection associated with the repository link. |
EncryptionKeyArn | The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link. |
OwnerId | The owner ID for the repository associated with the repository link, such as the owner ID in GitHub. |
RepositoryName | The name of the repository associated with the repository link. |
Tags | The tags for the repository to be associated with the repository link. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID. |
Constructors
CfnRepositoryLink(Construct, string, ICfnRepositoryLinkProps)
Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.
public CfnRepositoryLink(Construct scope, string id, ICfnRepositoryLinkProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnRepositoryLinkProps
Resource properties.
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
Properties
AttrProviderType
The name of the external provider where your third-party code repository is configured.
public virtual string AttrProviderType { get; }
Property Value
Remarks
CloudformationAttribute: ProviderType
AttrRepositoryLinkArn
A unique Amazon Resource Name (ARN) to designate the repository link.
public virtual string AttrRepositoryLinkArn { get; }
Property Value
Remarks
CloudformationAttribute: RepositoryLinkArn
AttrRepositoryLinkId
A UUID that uniquely identifies the RepositoryLink.
public virtual string AttrRepositoryLinkId { get; }
Property Value
Remarks
CloudformationAttribute: RepositoryLinkId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
CfnProperties
Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
ConnectionArn
The Amazon Resource Name (ARN) of the connection associated with the repository link.
public virtual string ConnectionArn { get; set; }
Property Value
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
EncryptionKeyArn
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
public virtual string? EncryptionKeyArn { get; set; }
Property Value
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
OwnerId
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
public virtual string OwnerId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
RepositoryName
The name of the repository associated with the repository link.
public virtual string RepositoryName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
Tags
The tags for the repository to be associated with the repository link.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::CodeStarConnections::RepositoryLink
ExampleMetadata: fixture=_generated