aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
49 lines (48 loc) • 1.06 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Alias.
*
* @stability experimental
*/
export interface IAliasRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Alias resource.
*/
readonly aliasRef: AliasReference;
}
/**
* A reference to a Alias resource.
*
* @struct
* @stability external
*/
export interface AliasReference {
/**
* The AliasName of the Alias resource.
*/
readonly aliasName: string;
}
/**
* Indicates that this resource can be referenced as a Key.
*
* @stability experimental
*/
export interface IKeyRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Key resource.
*/
readonly keyRef: KeyReference;
}
/**
* A reference to a Key resource.
*
* @struct
* @stability external
*/
export interface KeyReference {
/**
* The KeyIdentifier of the Key resource.
*/
readonly keyIdentifier: string;
}