CfnRepositoryProps

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

Bases: object

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

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

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

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

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

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

See

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

Attributes

code

AWS::CodeCommit::Repository.Code.

See

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

Return type

Union[CodeProperty, IResolvable, None]

repository_description

AWS::CodeCommit::Repository.RepositoryDescription.

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

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

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

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

Return type

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