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
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The name of the external provider where your third-party code repository is configured. |
Attr |
A unique Amazon Resource Name (ARN) to designate the repository link. |
Attr |
A UUID that uniquely identifies the RepositoryLink. |
Cdk |
Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Connection |
The Amazon Resource Name (ARN) of the connection associated with the repository link. |
Encryption |
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link. |
Owner |
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub. |
Repository |
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(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRepositoryLink(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRepositoryLink(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnRepositoryLink(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRepositoryLink(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnRepositoryLink(Construct, String, ICfnRepositoryLinkProps)
public CfnRepositoryLink(Construct scope, string id, ICfnRepositoryLinkProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Repository Link Props Resource properties.
Properties
AttrProviderType
The name of the external provider where your third-party code repository is configured.
public virtual string AttrProviderType { get; }
Property Value
System.
Remarks
CloudformationAttribute: ProviderType
AttrRepositoryLinkArn
A unique Amazon Resource Name (ARN) to designate the repository link.
public virtual string AttrRepositoryLinkArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: RepositoryLinkArn
AttrRepositoryLinkId
A UUID that uniquely identifies the RepositoryLink.
public virtual string AttrRepositoryLinkId { get; }
Property Value
System.
Remarks
CloudformationAttribute: RepositoryLinkId
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
ConnectionArn
The Amazon Resource Name (ARN) of the connection associated with the repository link.
public virtual string ConnectionArn { get; set; }
Property Value
System.
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
System.
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
System.
RepositoryName
The name of the repository associated with the repository link.
public virtual string RepositoryName { get; set; }
Property Value
System.
Tags
The tags for the repository to be associated with the repository link.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfn
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.