UNPKG

typed-aws

Version:

Helps you write AWS CloudFormation in TypeScript

34 lines (33 loc) 1.58 kB
import { CfnResource, Resolvable } from '../../base'; export declare type RegistryPolicy_Type = 'AWS::ECR::RegistryPolicy'; export declare const RegistryPolicy_Type = "AWS::ECR::RegistryPolicy"; /** * The AWS::ECR::RegistryPolicy is used to specify permissions for * another AWS account and is used when configuring cross-account * replication. For more information, see Registry permissions in the * Amazon Elastic Container Registry User Guide: * https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html} */ export default function RegistryPolicy(props: RegistryPolicy_Properties): CfnResource<RegistryPolicy_Properties>; /** * The AWS::ECR::RegistryPolicy is used to specify permissions for * another AWS account and is used when configuring cross-account * replication. For more information, see Registry permissions in the * Amazon Elastic Container Registry User Guide: * https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html} */ export declare type RegistryPolicy_Properties = { RegistryId?: RegistryId; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html#cfn-ecr-registrypolicy-policytext} */ PolicyText: { [k: string]: unknown; }; }; export declare type RegistryId = Resolvable<string>;