CfnRepositoryProps

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

Bases: object

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

Parameters
  • image_scanning_configuration (Optional[Any]) – AWS::ECR::Repository.ImageScanningConfiguration.

  • image_tag_mutability (Optional[str]) – AWS::ECR::Repository.ImageTagMutability.

  • lifecycle_policy (Union[IResolvable, LifecyclePolicyProperty, None]) – 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

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

Attributes

image_scanning_configuration

AWS::ECR::Repository.ImageScanningConfiguration.

See

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

Return type

Any

image_tag_mutability

AWS::ECR::Repository.ImageTagMutability.

See

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

Return type

Optional[str]

lifecycle_policy

AWS::ECR::Repository.LifecyclePolicy.

See

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

Return type

Union[IResolvable, LifecyclePolicyProperty, None]

repository_name

AWS::ECR::Repository.RepositoryName.

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

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

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

Return type

Optional[List[CfnTag]]