We recommend new projects start with resources from the AWS provider.
aws-native.codestarconnections.RepositoryLink
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- EncryptionKey stringArn 
- 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.
- 
List<Pulumi.Aws Native. 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.
- EncryptionKey stringArn 
- 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.
- 
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.
- encryptionKey StringArn 
- 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.
- 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.
- encryptionKey stringArn 
- 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.
- 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_ strarn 
- 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.
- 
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.
- encryptionKey StringArn 
- 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.
- 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.Aws Native. Code Star Connections. Repository Link Provider Type 
- The name of the external provider where your third-party code repository is configured.
- RepositoryLink stringArn 
- A unique Amazon Resource Name (ARN) to designate the repository link.
- RepositoryLink stringId 
- A UUID that uniquely identifies the RepositoryLink.
- Id string
- The provider-assigned unique ID for this managed resource.
- ProviderType RepositoryLink Provider Type 
- The name of the external provider where your third-party code repository is configured.
- RepositoryLink stringArn 
- A unique Amazon Resource Name (ARN) to designate the repository link.
- RepositoryLink stringId 
- A UUID that uniquely identifies the RepositoryLink.
- id String
- The provider-assigned unique ID for this managed resource.
- providerType RepositoryLink Provider Type 
- The name of the external provider where your third-party code repository is configured.
- repositoryLink StringArn 
- A unique Amazon Resource Name (ARN) to designate the repository link.
- repositoryLink StringId 
- A UUID that uniquely identifies the RepositoryLink.
- id string
- The provider-assigned unique ID for this managed resource.
- providerType RepositoryLink Provider Type 
- The name of the external provider where your third-party code repository is configured.
- repositoryLink stringArn 
- A unique Amazon Resource Name (ARN) to designate the repository link.
- repositoryLink stringId 
- A UUID that uniquely identifies the RepositoryLink.
- id str
- The provider-assigned unique ID for this managed resource.
- provider_type RepositoryLink Provider Type 
- The name of the external provider where your third-party code repository is configured.
- repository_link_ strarn 
- A unique Amazon Resource Name (ARN) to designate the repository link.
- repository_link_ strid 
- A UUID that uniquely identifies the RepositoryLink.
- id String
- The provider-assigned unique ID for this managed resource.
- providerType "GitHub" | "Bitbucket" | "Git Hub Enterprise" | "Git Lab" | "Git Lab Self Managed" 
- The name of the external provider where your third-party code repository is configured.
- repositoryLink StringArn 
- A unique Amazon Resource Name (ARN) to designate the repository link.
- repositoryLink StringId 
- A UUID that uniquely identifies the RepositoryLink.
Supporting Types
RepositoryLinkProviderType, RepositoryLinkProviderTypeArgs        
- GitHub 
- GitHub
- Bitbucket
- Bitbucket
- GitHub Enterprise 
- GitHubEnterprise
- GitLab 
- GitLab
- GitLab Self Managed 
- GitLabSelfManaged
- RepositoryLink Provider Type Git Hub 
- GitHub
- RepositoryLink Provider Type Bitbucket 
- Bitbucket
- RepositoryLink Provider Type Git Hub Enterprise 
- GitHubEnterprise
- RepositoryLink Provider Type Git Lab 
- GitLab
- RepositoryLink Provider Type Git Lab Self Managed 
- GitLabSelfManaged
- GitHub 
- GitHub
- Bitbucket
- Bitbucket
- GitHub Enterprise 
- GitHubEnterprise
- GitLab 
- GitLab
- GitLab Self Managed 
- GitLabSelfManaged
- GitHub 
- GitHub
- Bitbucket
- Bitbucket
- GitHub Enterprise 
- GitHubEnterprise
- GitLab 
- GitLab
- GitLab Self Managed 
- GitLabSelfManaged
- GIT_HUB
- GitHub
- BITBUCKET
- Bitbucket
- GIT_HUB_ENTERPRISE
- GitHubEnterprise
- GIT_LAB
- GitLab
- GIT_LAB_SELF_MANAGED
- GitLabSelfManaged
- "GitHub" 
- GitHub
- "Bitbucket"
- Bitbucket
- "GitHub Enterprise" 
- GitHubEnterprise
- "GitLab" 
- GitLab
- "GitLab Self Managed" 
- GitLabSelfManaged
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.