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
The RepositoryLink resource accepts the following input properties:
- Connection
Arn 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.
- Owner
Id string - the ID of the entity that owns the repository.
- Repository
Name string - The repository for which the link is being created.
- Encryption
Key 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.
- Connection
Arn 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.
- Owner
Id string - the ID of the entity that owns the repository.
- Repository
Name string - The repository for which the link is being created.
- Encryption
Key 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
Args - Specifies the tags applied to a RepositoryLink.
- connection
Arn 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.
- owner
Id String - the ID of the entity that owns the repository.
- repository
Name String - The repository for which the link is being created.
- encryption
Key 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.
- connection
Arn 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.
- owner
Id string - the ID of the entity that owns the repository.
- repository
Name string - The repository for which the link is being created.
- encryption
Key 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[Tag
Args] - Specifies the tags applied to a RepositoryLink.
- connection
Arn 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.
- owner
Id String - the ID of the entity that owns the repository.
- repository
Name String - The repository for which the link is being created.
- encryption
Key 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.
- Provider
Type Pulumi.Aws Native. Code Star Connections. Repository Link Provider Type - The name of the external provider where your third-party code repository is configured.
- Repository
Link stringArn - A unique Amazon Resource Name (ARN) to designate the repository link.
- Repository
Link stringId - A UUID that uniquely identifies the RepositoryLink.
- Id string
- 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 stringArn - A unique Amazon Resource Name (ARN) to designate the repository link.
- Repository
Link stringId - A UUID that uniquely identifies the RepositoryLink.
- id String
- 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 StringArn - A unique Amazon Resource Name (ARN) to designate the repository link.
- repository
Link StringId - A UUID that uniquely identifies the RepositoryLink.
- id string
- 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 stringArn - A unique Amazon Resource Name (ARN) to designate the repository link.
- repository
Link 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.
- provider
Type "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.
- repository
Link StringArn - A unique Amazon Resource Name (ARN) to designate the repository link.
- repository
Link StringId - A UUID that uniquely identifies the RepositoryLink.
Supporting Types
RepositoryLinkProviderType, RepositoryLinkProviderTypeArgs
- Git
Hub - GitHub
- Bitbucket
- Bitbucket
- Git
Hub Enterprise - GitHubEnterprise
- Git
Lab - GitLab
- Git
Lab Self Managed - GitLabSelfManaged
- Repository
Link Provider Type Git Hub - GitHub
- Repository
Link Provider Type Bitbucket - Bitbucket
- Repository
Link Provider Type Git Hub Enterprise - GitHubEnterprise
- Repository
Link Provider Type Git Lab - GitLab
- Repository
Link Provider Type Git Lab Self Managed - GitLabSelfManaged
- Git
Hub - GitHub
- Bitbucket
- Bitbucket
- Git
Hub Enterprise - GitHubEnterprise
- Git
Lab - GitLab
- Git
Lab Self Managed - GitLabSelfManaged
- Git
Hub - GitHub
- Bitbucket
- Bitbucket
- Git
Hub Enterprise - GitHubEnterprise
- Git
Lab - GitLab
- Git
Lab Self Managed - GitLabSelfManaged
- GIT_HUB
- GitHub
- BITBUCKET
- Bitbucket
- GIT_HUB_ENTERPRISE
- GitHubEnterprise
- GIT_LAB
- GitLab
- GIT_LAB_SELF_MANAGED
- GitLabSelfManaged
- "Git
Hub" - GitHub
- "Bitbucket"
- Bitbucket
- "Git
Hub Enterprise" - GitHubEnterprise
- "Git
Lab" - GitLab
- "Git
Lab 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.