aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
95 lines (94 loc) • 2.34 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a ResourcePolicy.
*
* @stability experimental
*/
export interface IResourcePolicyRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a ResourcePolicy resource.
*/
readonly resourcePolicyRef: ResourcePolicyReference;
}
/**
* A reference to a ResourcePolicy resource.
*
* @struct
* @stability external
*/
export interface ResourcePolicyReference {
/**
* The Id of the ResourcePolicy resource.
*/
readonly resourcePolicyId: string;
}
/**
* Indicates that this resource can be referenced as a RotationSchedule.
*
* @stability experimental
*/
export interface IRotationScheduleRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a RotationSchedule resource.
*/
readonly rotationScheduleRef: RotationScheduleReference;
}
/**
* A reference to a RotationSchedule resource.
*
* @struct
* @stability external
*/
export interface RotationScheduleReference {
/**
* The Id of the RotationSchedule resource.
*/
readonly rotationScheduleId: string;
}
/**
* Indicates that this resource can be referenced as a Secret.
*
* @stability experimental
*/
export interface ISecretRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Secret resource.
*/
readonly secretRef: SecretReference;
}
/**
* A reference to a Secret resource.
*
* @struct
* @stability external
*/
export interface SecretReference {
/**
* The Id of the Secret resource.
*/
readonly secretId: string;
}
/**
* Indicates that this resource can be referenced as a SecretTargetAttachment.
*
* @stability experimental
*/
export interface ISecretTargetAttachmentRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a SecretTargetAttachment resource.
*/
readonly secretTargetAttachmentRef: SecretTargetAttachmentReference;
}
/**
* A reference to a SecretTargetAttachment resource.
*
* @struct
* @stability external
*/
export interface SecretTargetAttachmentReference {
/**
* The Id of the SecretTargetAttachment resource.
*/
readonly secretTargetAttachmentId: string;
}