@finnairoyj/cdk-constructs-lib - v0.2.12
    Preparing search index...

    Interface DataBucketProps

    interface DataBucketProps {
        admins: ArnPrincipal[];
        bucketName: string;
        enableAccessLogs?: boolean;
        eventBridgeEnabled?: boolean;
        intelligentTieringConfigurations?: IntelligentTieringConfiguration[];
        inventories?: Inventory[];
        key?: IKey;
        lifecycleRules?: LifecycleRule[];
        readers?: ArnPrincipal[];
        removalPolicy?: RemovalPolicy;
        versioned?: boolean;
        writers?: ArnPrincipal[];
    }
    Index

    Properties

    admins: ArnPrincipal[]

    Admin roles for the bucket. Admins can manage bucket configurations. At least one admin role must be defined. The CDK deployer role is always defined as bucket admin

    bucketName: string

    Bucket name. Name must be globally unique

    enableAccessLogs?: boolean

    Enable S3 bucket access logging to the common S3 access logs bucket. Logs are also replicated to the central log archive for long-term storage. Be aware that for very active buckets, access logging can generate a large volume of data and lead to increased costs

    false
    
    eventBridgeEnabled?: boolean

    Enable bucket notifications to EventBridge

    false
    
    intelligentTieringConfigurations?: IntelligentTieringConfiguration[]

    Intelligent tiering configurations

    []
    
    inventories?: Inventory[]

    Bucket inventory configurations

    []
    
    key?: IKey

    KMS key used to encrypt the bucket. User is responsible of granting proper permissions to the KMS key in the key policy, if needed.

    New KMS key will be created
    
    lifecycleRules?: LifecycleRule[]

    Bucket lifecycle rule configurations

    []
    
    readers?: ArnPrincipal[]

    Principals that will have READ access to the bucket

    []
    
    removalPolicy?: RemovalPolicy

    Bucket removal policy

    RemovalPolicy.RETAIN
    
    versioned?: boolean

    Enable bucket versioning

    false
    
    writers?: ArnPrincipal[]

    Principals that will have WRITE access the bucket. Note that according to least-privilege principle, this property grants only write access to the bucket. If read access is needed, add the ARN to the readers list too

    []