CfnPullThroughCacheRuleProps
- class aws_cdk.aws_ecr.CfnPullThroughCacheRuleProps(*, credential_arn=None, custom_role_arn=None, ecr_repository_prefix=None, upstream_registry=None, upstream_registry_url=None, upstream_repository_prefix=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.
- custom_role_arn ( - Optional[- str]) – The ARN of the IAM role 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.
- upstream_repository_prefix ( - Optional[- str]) – The upstream repository prefix associated with the pull through cache rule.
 
- See:
- 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", custom_role_arn="customRoleArn", ecr_repository_prefix="ecrRepositoryPrefix", upstream_registry="upstreamRegistry", upstream_registry_url="upstreamRegistryUrl", upstream_repository_prefix="upstreamRepositoryPrefix" ) - Attributes - credential_arn
- The ARN of the Secrets Manager secret associated with the pull through cache rule. 
 - custom_role_arn
- The ARN of the IAM role associated with the pull through cache rule. 
 - ecr_repository_prefix
- The Amazon ECR repository prefix associated with the pull through cache rule. 
 - upstream_registry
- The name of the upstream source registry associated with the pull through cache rule. 
 - upstream_registry_url
- The upstream registry URL associated with the pull through cache rule. 
 - upstream_repository_prefix
- The upstream repository prefix associated with the pull through cache rule.