UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

60 lines (59 loc) 1.52 kB
import type { Construct } from 'constructs'; import type { IBucketRef } from '../../../aws-s3'; import { Resource } from '../../../core'; import type { aws_elasticloadbalancingv2 } from '../../../interfaces'; /** * Properties for the trust store revocation */ export interface TrustStoreRevocationProps { /** * The trust store */ readonly trustStore: aws_elasticloadbalancingv2.ITrustStoreRef; /** * 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: IBucketRef; /** * 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); }