aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
84 lines (83 loc) • 1.86 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a JobTemplate.
*
* @stability experimental
*/
export interface IJobTemplateRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a JobTemplate resource.
*/
readonly jobTemplateRef: JobTemplateReference;
}
/**
* A reference to a JobTemplate resource.
*
* @struct
* @stability external
*/
export interface JobTemplateReference {
/**
* The Id of the JobTemplate resource.
*/
readonly jobTemplateId: string;
/**
* The ARN of the JobTemplate resource.
*/
readonly jobTemplateArn: string;
}
/**
* Indicates that this resource can be referenced as a Preset.
*
* @stability experimental
*/
export interface IPresetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Preset resource.
*/
readonly presetRef: PresetReference;
}
/**
* A reference to a Preset resource.
*
* @struct
* @stability external
*/
export interface PresetReference {
/**
* The Id of the Preset resource.
*/
readonly presetId: string;
/**
* The ARN of the Preset resource.
*/
readonly presetArn: string;
}
/**
* Indicates that this resource can be referenced as a Queue.
*
* @stability experimental
*/
export interface IQueueRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Queue resource.
*/
readonly queueRef: QueueReference;
}
/**
* A reference to a Queue resource.
*
* @struct
* @stability external
*/
export interface QueueReference {
/**
* The Id of the Queue resource.
*/
readonly queueId: string;
/**
* The ARN of the Queue resource.
*/
readonly queueArn: string;
}