49 lines
1.0 KiB
TypeScript
49 lines
1.0 KiB
TypeScript
import { IEnvironmentAware } from "../environment-aware";
|
|
import * as constructs from "constructs";
|
|
/**
|
|
* 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;
|
|
}
|