UNPKG

rhizo-co-terraform-provider-opsgenie

Version:

Prebuilt opsgenie Provider for Terraform CDK (cdktf)

268 lines (267 loc) 13.2 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface EscalationConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#description Escalation#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#id Escalation#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/escalation#name Escalation#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#owner_team_id Escalation#owner_team_id} */ readonly ownerTeamId?: string; /** * repeat block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#repeat Escalation#repeat} */ readonly repeat?: EscalationRepeat[] | cdktf.IResolvable; /** * rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#rules Escalation#rules} */ readonly rules: EscalationRules[] | cdktf.IResolvable; } export interface EscalationRepeat { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#close_alert_after_all Escalation#close_alert_after_all} */ readonly closeAlertAfterAll?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#count Escalation#count} */ readonly count?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#reset_recipient_states Escalation#reset_recipient_states} */ readonly resetRecipientStates?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#wait_interval Escalation#wait_interval} */ readonly waitInterval?: number; } export declare function escalationRepeatToTerraform(struct?: EscalationRepeat | cdktf.IResolvable): any; export declare class EscalationRepeatOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EscalationRepeat | cdktf.IResolvable | undefined; set internalValue(value: EscalationRepeat | cdktf.IResolvable | undefined); private _closeAlertAfterAll?; get closeAlertAfterAll(): boolean | cdktf.IResolvable; set closeAlertAfterAll(value: boolean | cdktf.IResolvable); resetCloseAlertAfterAll(): void; get closeAlertAfterAllInput(): boolean | cdktf.IResolvable | undefined; private _count?; get count(): number; set count(value: number); resetCount(): void; get countInput(): number | undefined; private _resetRecipientStates?; get resetRecipientStates(): boolean | cdktf.IResolvable; set resetRecipientStates(value: boolean | cdktf.IResolvable); resetResetRecipientStates(): void; get resetRecipientStatesInput(): boolean | cdktf.IResolvable | undefined; private _waitInterval?; get waitInterval(): number; set waitInterval(value: number); resetWaitInterval(): void; get waitIntervalInput(): number | undefined; } export declare class EscalationRepeatList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EscalationRepeat[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EscalationRepeatOutputReference; } export interface EscalationRulesRecipient { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#id Escalation#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/escalation#type Escalation#type} */ readonly type?: string; } export declare function escalationRulesRecipientToTerraform(struct?: EscalationRulesRecipient | cdktf.IResolvable): any; export declare class EscalationRulesRecipientOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EscalationRulesRecipient | cdktf.IResolvable | undefined; set internalValue(value: EscalationRulesRecipient | cdktf.IResolvable | undefined); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; } export declare class EscalationRulesRecipientList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EscalationRulesRecipient[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EscalationRulesRecipientOutputReference; } export interface EscalationRules { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#condition Escalation#condition} */ readonly condition: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#delay Escalation#delay} */ readonly delay: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#notify_type Escalation#notify_type} */ readonly notifyType: string; /** * recipient block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation#recipient Escalation#recipient} */ readonly recipient: EscalationRulesRecipient[] | cdktf.IResolvable; } export declare function escalationRulesToTerraform(struct?: EscalationRules | cdktf.IResolvable): any; export declare class EscalationRulesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EscalationRules | cdktf.IResolvable | undefined; set internalValue(value: EscalationRules | cdktf.IResolvable | undefined); private _condition?; get condition(): string; set condition(value: string); get conditionInput(): string | undefined; private _delay?; get delay(): number; set delay(value: number); get delayInput(): number | undefined; private _notifyType?; get notifyType(): string; set notifyType(value: string); get notifyTypeInput(): string | undefined; private _recipient; get recipient(): EscalationRulesRecipientList; putRecipient(value: EscalationRulesRecipient[] | cdktf.IResolvable): void; get recipientInput(): cdktf.IResolvable | EscalationRulesRecipient[] | undefined; } export declare class EscalationRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EscalationRules[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EscalationRulesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation opsgenie_escalation} */ export declare class Escalation extends cdktf.TerraformResource { static readonly tfResourceType = "opsgenie_escalation"; /** * Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/escalation opsgenie_escalation} 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 EscalationConfig */ constructor(scope: Construct, id: string, config: EscalationConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): 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; private _repeat; get repeat(): EscalationRepeatList; putRepeat(value: EscalationRepeat[] | cdktf.IResolvable): void; resetRepeat(): void; get repeatInput(): cdktf.IResolvable | EscalationRepeat[] | undefined; private _rules; get rules(): EscalationRulesList; putRules(value: EscalationRules[] | cdktf.IResolvable): void; get rulesInput(): cdktf.IResolvable | EscalationRules[] | undefined; protected synthesizeAttributes(): { [name: string]: any; }; }