rhizo-co-terraform-provider-opsgenie
Version:
Prebuilt opsgenie Provider for Terraform CDK (cdktf)
111 lines (110 loc) • 4.94 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface HeartbeatConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#alert_message Heartbeat#alert_message}
*/
readonly alertMessage?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#alert_priority Heartbeat#alert_priority}
*/
readonly alertPriority?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#alert_tags Heartbeat#alert_tags}
*/
readonly alertTags?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#description Heartbeat#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#enabled Heartbeat#enabled}
*/
readonly enabled: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#id Heartbeat#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#interval Heartbeat#interval}
*/
readonly interval: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#interval_unit Heartbeat#interval_unit}
*/
readonly intervalUnit: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#name Heartbeat#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat#owner_team_id Heartbeat#owner_team_id}
*/
readonly ownerTeamId?: string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat opsgenie_heartbeat}
*/
export declare class Heartbeat extends cdktf.TerraformResource {
static readonly tfResourceType = "opsgenie_heartbeat";
/**
* Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/heartbeat opsgenie_heartbeat} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options HeartbeatConfig
*/
constructor(scope: Construct, id: string, config: HeartbeatConfig);
private _alertMessage?;
get alertMessage(): string;
set alertMessage(value: string);
resetAlertMessage(): void;
get alertMessageInput(): string | undefined;
private _alertPriority?;
get alertPriority(): string;
set alertPriority(value: string);
resetAlertPriority(): void;
get alertPriorityInput(): string | undefined;
private _alertTags?;
get alertTags(): string[];
set alertTags(value: string[]);
resetAlertTags(): void;
get alertTagsInput(): string[] | undefined;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _enabled?;
get enabled(): boolean | cdktf.IResolvable;
set enabled(value: boolean | cdktf.IResolvable);
get enabledInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _interval?;
get interval(): number;
set interval(value: number);
get intervalInput(): number | undefined;
private _intervalUnit?;
get intervalUnit(): string;
set intervalUnit(value: string);
get intervalUnitInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _ownerTeamId?;
get ownerTeamId(): string;
set ownerTeamId(value: string);
resetOwnerTeamId(): void;
get ownerTeamIdInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
}