CfnRepositoryProps

class aws_cdk.aws_ecr.CfnRepositoryProps(*, lifecycle_policy=None, repository_name=None, repository_policy_text=None, tags=None)

Bases: object

__init__(*, lifecycle_policy=None, repository_name=None, repository_policy_text=None, tags=None)

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

Parameters
  • lifecycle_policy (Union[LifecyclePolicyProperty, None, IResolvable]) – AWS::ECR::Repository.LifecyclePolicy.

  • repository_name (Optional[str]) – AWS::ECR::Repository.RepositoryName.

  • repository_policy_text (Optional[Any]) – AWS::ECR::Repository.RepositoryPolicyText.

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

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

Attributes

lifecycle_policy

AWS::ECR::Repository.LifecyclePolicy.

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

Return type

Union[LifecyclePolicyProperty, None, IResolvable]

repository_name

AWS::ECR::Repository.RepositoryName.

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

Return type

Optional[str]

repository_policy_text

AWS::ECR::Repository.RepositoryPolicyText.

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

Return type

Any

tags

AWS::ECR::Repository.Tags.

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

Return type

Optional[List[CfnTag]]