CfnRepositoryLinkProps

class aws_cdk.aws_codestarconnections.CfnRepositoryLinkProps(*, connection_arn, owner_id, repository_name, encryption_key_arn=None, tags=None)

Bases: object

Properties for defining a CfnRepositoryLink.

Parameters:
  • connection_arn (str) – The Amazon Resource Name (ARN) of the connection associated with the repository link.

  • owner_id (str) – The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.

  • repository_name (str) – The name of the repository associated with the repository link.

  • encryption_key_arn (Optional[str]) – The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the repository to be associated with the repository link.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codestarconnections as codestarconnections

cfn_repository_link_props = codestarconnections.CfnRepositoryLinkProps(
    connection_arn="connectionArn",
    owner_id="ownerId",
    repository_name="repositoryName",

    # the properties below are optional
    encryption_key_arn="encryptionKeyArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

connection_arn

The Amazon Resource Name (ARN) of the connection associated with the repository link.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html#cfn-codestarconnections-repositorylink-connectionarn

encryption_key_arn

The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html#cfn-codestarconnections-repositorylink-encryptionkeyarn

owner_id

The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html#cfn-codestarconnections-repositorylink-ownerid

repository_name

The name of the repository associated with the repository link.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html#cfn-codestarconnections-repositorylink-repositoryname

tags

The tags for the repository to be associated with the repository link.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html#cfn-codestarconnections-repositorylink-tags