CfnRepositoryProps

class aws_cdk.aws_codecommit.CfnRepositoryProps(*, repository_name, code=None, repository_description=None, tags=None, triggers=None)

Bases: object

__init__(*, repository_name, code=None, repository_description=None, tags=None, triggers=None)

Properties for defining a AWS::CodeCommit::Repository.

Parameters
  • repository_name (str) – AWS::CodeCommit::Repository.RepositoryName.

  • code (Union[CodeProperty, None, IResolvable]) – AWS::CodeCommit::Repository.Code.

  • repository_description (Optional[str]) – AWS::CodeCommit::Repository.RepositoryDescription.

  • tags (Optional[List[CfnTag]]) – AWS::CodeCommit::Repository.Tags.

  • triggers (Union[IResolvable, None, List[Union[IResolvable, RepositoryTriggerProperty]]]) – AWS::CodeCommit::Repository.Triggers.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html

Attributes

code

AWS::CodeCommit::Repository.Code.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-code

Return type

Union[CodeProperty, None, IResolvable]

repository_description

AWS::CodeCommit::Repository.RepositoryDescription.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-repositorydescription

Return type

Optional[str]

repository_name

AWS::CodeCommit::Repository.RepositoryName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-repositoryname

Return type

str

tags

AWS::CodeCommit::Repository.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-tags

Return type

Optional[List[CfnTag]]

triggers

AWS::CodeCommit::Repository.Triggers.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-triggers

Return type

Union[IResolvable, None, List[Union[IResolvable, RepositoryTriggerProperty]]]