aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
12 lines (11 loc) • 428 B
TypeScript
import type { CfnResource } from '../../../core';
import type { ICfnResourceMatcher } from '../../../core/lib/helpers-internal';
/**
* Matches a CfnKey by a KMS key identifier (ref, key ID, or ARN).
*/
export declare class CfnKeyMatcher implements ICfnResourceMatcher {
private readonly keyId;
readonly cfnResourceType = "AWS::KMS::Key";
constructor(keyId: string);
matches(candidate: CfnResource): boolean;
}