1. Packages
  2. AWS Native
  3. API Docs
  4. codestarconnections
  5. RepositoryLink

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.codestarconnections.RepositoryLink

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

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

    Create RepositoryLink Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RepositoryLink(name: string, args: RepositoryLinkArgs, opts?: CustomResourceOptions);
    @overload
    def RepositoryLink(resource_name: str,
                       args: RepositoryLinkArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def RepositoryLink(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       connection_arn: Optional[str] = None,
                       owner_id: Optional[str] = None,
                       repository_name: Optional[str] = None,
                       encryption_key_arn: Optional[str] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewRepositoryLink(ctx *Context, name string, args RepositoryLinkArgs, opts ...ResourceOption) (*RepositoryLink, error)
    public RepositoryLink(string name, RepositoryLinkArgs args, CustomResourceOptions? opts = null)
    public RepositoryLink(String name, RepositoryLinkArgs args)
    public RepositoryLink(String name, RepositoryLinkArgs args, CustomResourceOptions options)
    
    type: aws-native:codestarconnections:RepositoryLink
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RepositoryLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RepositoryLinkArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RepositoryLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RepositoryLinkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RepositoryLink Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RepositoryLink resource accepts the following input properties:

    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.
    OwnerId string
    the ID of the entity that owns the repository.
    RepositoryName string
    The repository for which the link is being created.
    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.
    Tags List<Pulumi.AwsNative.Inputs.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.
    OwnerId string
    the ID of the entity that owns the repository.
    RepositoryName string
    The repository for which the link is being created.
    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.
    Tags TagArgs
    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.
    ownerId String
    the ID of the entity that owns the repository.
    repositoryName String
    The repository for which the link is being created.
    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.
    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.
    ownerId string
    the ID of the entity that owns the repository.
    repositoryName string
    The repository for which the link is being created.
    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.
    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.
    owner_id str
    the ID of the entity that owns the repository.
    repository_name str
    The repository for which the link is being created.
    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.
    tags Sequence[TagArgs]
    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.
    ownerId String
    the ID of the entity that owns the repository.
    repositoryName String
    The repository for which the link is being created.
    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.
    tags List<Property Map>
    Specifies the tags applied to a RepositoryLink.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RepositoryLink resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    Supporting Types

    RepositoryLinkProviderType, RepositoryLinkProviderTypeArgs

    GitHub
    GitHub
    Bitbucket
    Bitbucket
    GitHubEnterprise
    GitHubEnterprise
    GitLab
    GitLab
    GitLabSelfManaged
    GitLabSelfManaged
    RepositoryLinkProviderTypeGitHub
    GitHub
    RepositoryLinkProviderTypeBitbucket
    Bitbucket
    RepositoryLinkProviderTypeGitHubEnterprise
    GitHubEnterprise
    RepositoryLinkProviderTypeGitLab
    GitLab
    RepositoryLinkProviderTypeGitLabSelfManaged
    GitLabSelfManaged
    GitHub
    GitHub
    Bitbucket
    Bitbucket
    GitHubEnterprise
    GitHubEnterprise
    GitLab
    GitLab
    GitLabSelfManaged
    GitLabSelfManaged
    GitHub
    GitHub
    Bitbucket
    Bitbucket
    GitHubEnterprise
    GitHubEnterprise
    GitLab
    GitLab
    GitLabSelfManaged
    GitLabSelfManaged
    GIT_HUB
    GitHub
    BITBUCKET
    Bitbucket
    GIT_HUB_ENTERPRISE
    GitHubEnterprise
    GIT_LAB
    GitLab
    GIT_LAB_SELF_MANAGED
    GitLabSelfManaged
    "GitHub"
    GitHub
    "Bitbucket"
    Bitbucket
    "GitHubEnterprise"
    GitHubEnterprise
    "GitLab"
    GitLab
    "GitLabSelfManaged"
    GitLabSelfManaged

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi