interface CfnPullThroughCacheRuleProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECR.CfnPullThroughCacheRuleProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecr#CfnPullThroughCacheRuleProps |
Java | software.amazon.awscdk.services.ecr.CfnPullThroughCacheRuleProps |
Python | aws_cdk.aws_ecr.CfnPullThroughCacheRuleProps |
TypeScript | aws-cdk-lib » 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 { aws_ecr as ecr } from 'aws-cdk-lib';
const cfnPullThroughCacheRuleProps: ecr.CfnPullThroughCacheRuleProps = {
credentialArn: 'credentialArn',
ecrRepositoryPrefix: 'ecrRepositoryPrefix',
upstreamRegistry: 'upstreamRegistry',
upstreamRegistryUrl: 'upstreamRegistryUrl',
};
Properties
Name | Type | Description |
---|---|---|
credential | string | The ARN of the Secrets Manager secret associated with the pull through cache rule. |
ecr | string | The Amazon ECR repository prefix associated with the pull through cache rule. |
upstream | string | The name of the upstream source registry associated with the pull through cache rule. |
upstream | string | The upstream registry URL associated with the pull through cache rule. |
credentialArn?
Type:
string
(optional)
The ARN of the Secrets Manager secret associated with the pull through cache rule.
ecrRepositoryPrefix?
Type:
string
(optional)
The Amazon ECR repository prefix associated with the pull through cache rule.
upstreamRegistry?
Type:
string
(optional)
The name of the upstream source registry associated with the pull through cache rule.
upstreamRegistryUrl?
Type:
string
(optional)
The upstream registry URL associated with the pull through cache rule.