interface CfnRegistryPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECR.CfnRegistryPolicyProps |
Java | software.amazon.awscdk.services.ecr.CfnRegistryPolicyProps |
Python | aws_cdk.aws_ecr.CfnRegistryPolicyProps |
TypeScript | @aws-cdk/aws-ecr » CfnRegistryPolicyProps |
Properties for defining a CfnRegistryPolicy.
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';
declare const policyText: any;
const cfnRegistryPolicyProps: ecr.CfnRegistryPolicyProps = {
policyText: policyText,
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | any | The JSON policy text for your registry. |
policyText
Type:
any
The JSON policy text for your registry.

.NET
Java
Python
TypeScript