CfnPullThroughCacheRuleProps

class aws_cdk.aws_ecr.CfnPullThroughCacheRuleProps(*, credential_arn=None, ecr_repository_prefix=None, upstream_registry=None, upstream_registry_url=None)

Bases: object

Properties for defining a CfnPullThroughCacheRule.

Parameters:
  • credential_arn (Optional[str]) – The ARN of the Secrets Manager secret associated with the pull through cache rule.

  • ecr_repository_prefix (Optional[str]) – The Amazon ECR repository prefix associated with the pull through cache rule.

  • upstream_registry (Optional[str]) – The name of the upstream source registry associated with the pull through cache rule.

  • upstream_registry_url (Optional[str]) – The upstream registry URL associated with the pull through cache rule.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_pull_through_cache_rule_props = ecr.CfnPullThroughCacheRuleProps(
    credential_arn="credentialArn",
    ecr_repository_prefix="ecrRepositoryPrefix",
    upstream_registry="upstreamRegistry",
    upstream_registry_url="upstreamRegistryUrl"
)

Attributes

credential_arn

The ARN of the Secrets Manager secret associated with the pull through cache rule.

See:

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

ecr_repository_prefix

The Amazon ECR repository prefix associated with the pull through cache rule.

See:

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

upstream_registry

The name of the upstream source registry associated with the pull through cache rule.

See:

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

upstream_registry_url

The upstream registry URL associated with the pull through cache rule.

See:

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