CfnPublicRepositoryProps

class aws_cdk.aws_ecr.CfnPublicRepositoryProps(*, repository_catalog_data=None, repository_name=None, repository_policy_text=None, tags=None)

Bases: object

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

Parameters
  • repository_catalog_data (Optional[Any]) – AWS::ECR::PublicRepository.RepositoryCatalogData.

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

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

  • tags (Optional[Sequence[CfnTag]]) – AWS::ECR::PublicRepository.Tags.

Link

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

Example:

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

# repository_catalog_data is of type object
# repository_policy_text is of type object

cfn_public_repository_props = ecr.CfnPublicRepositoryProps(
    repository_catalog_data=repository_catalog_data,
    repository_name="repositoryName",
    repository_policy_text=repository_policy_text,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

repository_catalog_data

AWS::ECR::PublicRepository.RepositoryCatalogData.

Link

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

Return type

Any

repository_name

AWS::ECR::PublicRepository.RepositoryName.

Link

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

Return type

Optional[str]

repository_policy_text

AWS::ECR::PublicRepository.RepositoryPolicyText.

Link

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

Return type

Any

tags

AWS::ECR::PublicRepository.Tags.

Link

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

Return type

Optional[List[CfnTag]]