12 lines
428 B
TypeScript
12 lines
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;
|
|
}
|