@zarpay/zar-cdk-lib - v0.32.0
    Preparing search index...

    Interface EcrRepositoryProps

    Properties for the EcrRepository construct.

    interface EcrRepositoryProps {
        imageScanOnPush?: boolean;
        lifecycleRules?: LifecycleRule[];
        mutableTagPatterns?: string[];
        repositoryName: string;
        trustedAwsAccounts?: string[];
    }
    Index

    Properties

    imageScanOnPush?: boolean

    Whether to enable image scanning on push.

    true
    
    lifecycleRules?: LifecycleRule[]

    Lifecycle rules for the repository.

    DEFAULT_ECR_LIFECYCLE_RULES
    
    mutableTagPatterns?: string[]

    Tag patterns that should remain mutable (can be overwritten). Uses wildcard matching (e.g., 'latest', 'dev-*').

    Set to empty array to make all tags immutable.

    ['latest']
    
    repositoryName: string

    The name of the ECR repository to create.

    trustedAwsAccounts?: string[]

    The list of AWS account IDs to grant pull permissions.

    - Only the current account has pull access