interface CfnPullThroughCacheRuleProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECR.CfnPullThroughCacheRuleProps |
Java | software.amazon.awscdk.services.ecr.CfnPullThroughCacheRuleProps |
Python | aws_cdk.aws_ecr.CfnPullThroughCacheRuleProps |
TypeScript | @aws-cdk/aws-ecr » CfnPullThroughCacheRuleProps |
Properties for defining a CfnPullThroughCacheRule
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecr from '@aws-cdk/aws-ecr';
const cfnPullThroughCacheRuleProps: ecr.CfnPullThroughCacheRuleProps = {
ecrRepositoryPrefix: 'ecrRepositoryPrefix',
upstreamRegistryUrl: 'upstreamRegistryUrl',
};
Properties
Name | Type | Description |
---|---|---|
ecr | string | The Amazon ECR repository prefix associated with the pull through cache rule. |
upstream | string | The upstream registry URL associated with the pull through cache rule. |
ecrRepositoryPrefix?
Type:
string
(optional)
The Amazon ECR repository prefix associated with the pull through cache rule.
upstreamRegistryUrl?
Type:
string
(optional)
The upstream registry URL associated with the pull through cache rule.