UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

60 lines (59 loc) 1.45 kB
import { Construct } from 'constructs'; import { ITrustStore } from './trust-store'; import { IBucket } from '../../../aws-s3'; import { Resource } from '../../../core'; /** * Properties for the trust store revocation */ export interface TrustStoreRevocationProps { /** * The trust store */ readonly trustStore: ITrustStore; /** * The revocation file to add */ readonly revocationContents: RevocationContent[]; } /** * Information about a revocation file */ export interface RevocationContent { /** * The type of revocation file * * @default RevocationType.CRL */ readonly revocationType?: RevocationType; /** * The Amazon S3 bucket for the revocation file */ readonly bucket: IBucket; /** * The Amazon S3 path for the revocation file */ readonly key: string; /** * The Amazon S3 object version of the revocation file * * @default - latest version */ readonly version?: string; } /** * The type of revocation file */ export declare enum RevocationType { /** * A signed list of revoked certificates */ CRL = "CRL" } /** * A new Trust Store Revocation */ export declare class TrustStoreRevocation extends Resource { /** Uniquely identifies this class. */ static readonly PROPERTY_INJECTION_ID: string; constructor(scope: Construct, id: string, props: TrustStoreRevocationProps); }