1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. codestarconnections
  5. getRepositoryLink

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.codestarconnections.getRepositoryLink

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.

Using getRepositoryLink

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRepositoryLink(args: GetRepositoryLinkArgs, opts?: InvokeOptions): Promise<GetRepositoryLinkResult>
function getRepositoryLinkOutput(args: GetRepositoryLinkOutputArgs, opts?: InvokeOptions): Output<GetRepositoryLinkResult>
Copy
def get_repository_link(repository_link_arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetRepositoryLinkResult
def get_repository_link_output(repository_link_arn: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryLinkResult]
Copy
func LookupRepositoryLink(ctx *Context, args *LookupRepositoryLinkArgs, opts ...InvokeOption) (*LookupRepositoryLinkResult, error)
func LookupRepositoryLinkOutput(ctx *Context, args *LookupRepositoryLinkOutputArgs, opts ...InvokeOption) LookupRepositoryLinkResultOutput
Copy

> Note: This function is named LookupRepositoryLink in the Go SDK.

public static class GetRepositoryLink 
{
    public static Task<GetRepositoryLinkResult> InvokeAsync(GetRepositoryLinkArgs args, InvokeOptions? opts = null)
    public static Output<GetRepositoryLinkResult> Invoke(GetRepositoryLinkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRepositoryLinkResult> getRepositoryLink(GetRepositoryLinkArgs args, InvokeOptions options)
public static Output<GetRepositoryLinkResult> getRepositoryLink(GetRepositoryLinkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:codestarconnections:getRepositoryLink
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RepositoryLinkArn This property is required. string
A unique Amazon Resource Name (ARN) to designate the repository link.
RepositoryLinkArn This property is required. string
A unique Amazon Resource Name (ARN) to designate the repository link.
repositoryLinkArn This property is required. String
A unique Amazon Resource Name (ARN) to designate the repository link.
repositoryLinkArn This property is required. string
A unique Amazon Resource Name (ARN) to designate the repository link.
repository_link_arn This property is required. str
A unique Amazon Resource Name (ARN) to designate the repository link.
repositoryLinkArn This property is required. String
A unique Amazon Resource Name (ARN) to designate the repository link.

getRepositoryLink Result

The following output properties are available:

ConnectionArn string
The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
EncryptionKeyArn string
The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
ProviderType Pulumi.AwsNative.CodeStarConnections.RepositoryLinkProviderType
The name of the external provider where your third-party code repository is configured.
RepositoryLinkArn string
A unique Amazon Resource Name (ARN) to designate the repository link.
RepositoryLinkId string
A UUID that uniquely identifies the RepositoryLink.
Tags List<Pulumi.AwsNative.Outputs.Tag>
Specifies the tags applied to a RepositoryLink.
ConnectionArn string
The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
EncryptionKeyArn string
The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
ProviderType RepositoryLinkProviderType
The name of the external provider where your third-party code repository is configured.
RepositoryLinkArn string
A unique Amazon Resource Name (ARN) to designate the repository link.
RepositoryLinkId string
A UUID that uniquely identifies the RepositoryLink.
Tags Tag
Specifies the tags applied to a RepositoryLink.
connectionArn String
The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
encryptionKeyArn String
The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
providerType RepositoryLinkProviderType
The name of the external provider where your third-party code repository is configured.
repositoryLinkArn String
A unique Amazon Resource Name (ARN) to designate the repository link.
repositoryLinkId String
A UUID that uniquely identifies the RepositoryLink.
tags List<Tag>
Specifies the tags applied to a RepositoryLink.
connectionArn string
The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
encryptionKeyArn string
The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
providerType RepositoryLinkProviderType
The name of the external provider where your third-party code repository is configured.
repositoryLinkArn string
A unique Amazon Resource Name (ARN) to designate the repository link.
repositoryLinkId string
A UUID that uniquely identifies the RepositoryLink.
tags Tag[]
Specifies the tags applied to a RepositoryLink.
connection_arn str
The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
encryption_key_arn str
The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
provider_type RepositoryLinkProviderType
The name of the external provider where your third-party code repository is configured.
repository_link_arn str
A unique Amazon Resource Name (ARN) to designate the repository link.
repository_link_id str
A UUID that uniquely identifies the RepositoryLink.
tags Sequence[root_Tag]
Specifies the tags applied to a RepositoryLink.
connectionArn String
The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
encryptionKeyArn String
The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
providerType "GitHub" | "Bitbucket" | "GitHubEnterprise" | "GitLab" | "GitLabSelfManaged"
The name of the external provider where your third-party code repository is configured.
repositoryLinkArn String
A unique Amazon Resource Name (ARN) to designate the repository link.
repositoryLinkId String
A UUID that uniquely identifies the RepositoryLink.
tags List<Property Map>
Specifies the tags applied to a RepositoryLink.

Supporting Types

RepositoryLinkProviderType

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi