rhizo-co-terraform-provider-opsgenie
Version:
Prebuilt opsgenie Provider for Terraform CDK (cdktf)
637 lines (636 loc) • 31.5 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface AlertPolicyConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#actions AlertPolicy#actions}
*/
readonly actions?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#alert_description AlertPolicy#alert_description}
*/
readonly alertDescription?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#alias AlertPolicy#alias}
*/
readonly alias?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#continue_policy AlertPolicy#continue_policy}
*/
readonly continuePolicy?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#enabled AlertPolicy#enabled}
*/
readonly enabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#entity AlertPolicy#entity}
*/
readonly entity?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#id AlertPolicy#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/alert_policy#ignore_original_actions AlertPolicy#ignore_original_actions}
*/
readonly ignoreOriginalActions?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#ignore_original_details AlertPolicy#ignore_original_details}
*/
readonly ignoreOriginalDetails?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#ignore_original_responders AlertPolicy#ignore_original_responders}
*/
readonly ignoreOriginalResponders?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#ignore_original_tags AlertPolicy#ignore_original_tags}
*/
readonly ignoreOriginalTags?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#message AlertPolicy#message}
*/
readonly message: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#name AlertPolicy#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#policy_description AlertPolicy#policy_description}
*/
readonly policyDescription?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#priority AlertPolicy#priority}
*/
readonly priority?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#source AlertPolicy#source}
*/
readonly source?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#tags AlertPolicy#tags}
*/
readonly tags?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#team_id AlertPolicy#team_id}
*/
readonly teamId?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#filter AlertPolicy#filter}
*/
readonly filter?: AlertPolicyFilter[] | cdktf.IResolvable;
/**
* responders block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#responders AlertPolicy#responders}
*/
readonly responders?: AlertPolicyResponders[] | cdktf.IResolvable;
/**
* time_restriction block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#time_restriction AlertPolicy#time_restriction}
*/
readonly timeRestriction?: AlertPolicyTimeRestriction[] | cdktf.IResolvable;
}
export interface AlertPolicyFilterConditions {
/**
* User defined value that will be compared with alert field according to the operation. Default value is empty string
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#expected_value AlertPolicy#expected_value}
*/
readonly expectedValue?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#field AlertPolicy#field}
*/
readonly field: string;
/**
* If 'field' is set as 'extra-properties', key could be used for key-value pair
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#key AlertPolicy#key}
*/
readonly key?: string;
/**
* Indicates behaviour of the given operation. Default value is false
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#not AlertPolicy#not}
*/
readonly not?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#operation AlertPolicy#operation}
*/
readonly operation: string;
/**
* Order of the condition in conditions list
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#order AlertPolicy#order}
*/
readonly order?: number;
}
export declare function alertPolicyFilterConditionsToTerraform(struct?: AlertPolicyFilterConditions | cdktf.IResolvable): any;
export declare class AlertPolicyFilterConditionsOutputReference 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(): AlertPolicyFilterConditions | cdktf.IResolvable | undefined;
set internalValue(value: AlertPolicyFilterConditions | cdktf.IResolvable | undefined);
private _expectedValue?;
get expectedValue(): string;
set expectedValue(value: string);
resetExpectedValue(): void;
get expectedValueInput(): string | undefined;
private _field?;
get field(): string;
set field(value: string);
get fieldInput(): string | undefined;
private _key?;
get key(): string;
set key(value: string);
resetKey(): void;
get keyInput(): string | undefined;
private _not?;
get not(): boolean | cdktf.IResolvable;
set not(value: boolean | cdktf.IResolvable);
resetNot(): void;
get notInput(): boolean | cdktf.IResolvable | undefined;
private _operation?;
get operation(): string;
set operation(value: string);
get operationInput(): string | undefined;
private _order?;
get order(): number;
set order(value: number);
resetOrder(): void;
get orderInput(): number | undefined;
}
export declare class AlertPolicyFilterConditionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: AlertPolicyFilterConditions[] | 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): AlertPolicyFilterConditionsOutputReference;
}
export interface AlertPolicyFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#type AlertPolicy#type}
*/
readonly type?: string;
/**
* conditions block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#conditions AlertPolicy#conditions}
*/
readonly conditions?: AlertPolicyFilterConditions[] | cdktf.IResolvable;
}
export declare function alertPolicyFilterToTerraform(struct?: AlertPolicyFilter | cdktf.IResolvable): any;
export declare class AlertPolicyFilterOutputReference 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(): AlertPolicyFilter | cdktf.IResolvable | undefined;
set internalValue(value: AlertPolicyFilter | cdktf.IResolvable | undefined);
private _type?;
get type(): string;
set type(value: string);
resetType(): void;
get typeInput(): string | undefined;
private _conditions;
get conditions(): AlertPolicyFilterConditionsList;
putConditions(value: AlertPolicyFilterConditions[] | cdktf.IResolvable): void;
resetConditions(): void;
get conditionsInput(): cdktf.IResolvable | AlertPolicyFilterConditions[] | undefined;
}
export declare class AlertPolicyFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: AlertPolicyFilter[] | 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): AlertPolicyFilterOutputReference;
}
export interface AlertPolicyResponders {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#id AlertPolicy#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/alert_policy#name AlertPolicy#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#type AlertPolicy#type}
*/
readonly type: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#username AlertPolicy#username}
*/
readonly username?: string;
}
export declare function alertPolicyRespondersToTerraform(struct?: AlertPolicyResponders | cdktf.IResolvable): any;
export declare class AlertPolicyRespondersOutputReference 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(): AlertPolicyResponders | cdktf.IResolvable | undefined;
set internalValue(value: AlertPolicyResponders | cdktf.IResolvable | undefined);
private _id?;
get id(): string;
set id(value: string);
get idInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
private _username?;
get username(): string;
set username(value: string);
resetUsername(): void;
get usernameInput(): string | undefined;
}
export declare class AlertPolicyRespondersList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: AlertPolicyResponders[] | 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): AlertPolicyRespondersOutputReference;
}
export interface AlertPolicyTimeRestrictionRestriction {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#end_hour AlertPolicy#end_hour}
*/
readonly endHour: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#end_min AlertPolicy#end_min}
*/
readonly endMin: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#start_hour AlertPolicy#start_hour}
*/
readonly startHour: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#start_min AlertPolicy#start_min}
*/
readonly startMin: number;
}
export declare function alertPolicyTimeRestrictionRestrictionToTerraform(struct?: AlertPolicyTimeRestrictionRestriction | cdktf.IResolvable): any;
export declare class AlertPolicyTimeRestrictionRestrictionOutputReference 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(): AlertPolicyTimeRestrictionRestriction | cdktf.IResolvable | undefined;
set internalValue(value: AlertPolicyTimeRestrictionRestriction | cdktf.IResolvable | undefined);
private _endHour?;
get endHour(): number;
set endHour(value: number);
get endHourInput(): number | undefined;
private _endMin?;
get endMin(): number;
set endMin(value: number);
get endMinInput(): number | undefined;
private _startHour?;
get startHour(): number;
set startHour(value: number);
get startHourInput(): number | undefined;
private _startMin?;
get startMin(): number;
set startMin(value: number);
get startMinInput(): number | undefined;
}
export declare class AlertPolicyTimeRestrictionRestrictionList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: AlertPolicyTimeRestrictionRestriction[] | 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): AlertPolicyTimeRestrictionRestrictionOutputReference;
}
export interface AlertPolicyTimeRestrictionRestrictions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#end_day AlertPolicy#end_day}
*/
readonly endDay: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#end_hour AlertPolicy#end_hour}
*/
readonly endHour: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#end_min AlertPolicy#end_min}
*/
readonly endMin: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#start_day AlertPolicy#start_day}
*/
readonly startDay: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#start_hour AlertPolicy#start_hour}
*/
readonly startHour: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#start_min AlertPolicy#start_min}
*/
readonly startMin: number;
}
export declare function alertPolicyTimeRestrictionRestrictionsToTerraform(struct?: AlertPolicyTimeRestrictionRestrictions | cdktf.IResolvable): any;
export declare class AlertPolicyTimeRestrictionRestrictionsOutputReference 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(): AlertPolicyTimeRestrictionRestrictions | cdktf.IResolvable | undefined;
set internalValue(value: AlertPolicyTimeRestrictionRestrictions | cdktf.IResolvable | undefined);
private _endDay?;
get endDay(): string;
set endDay(value: string);
get endDayInput(): string | undefined;
private _endHour?;
get endHour(): number;
set endHour(value: number);
get endHourInput(): number | undefined;
private _endMin?;
get endMin(): number;
set endMin(value: number);
get endMinInput(): number | undefined;
private _startDay?;
get startDay(): string;
set startDay(value: string);
get startDayInput(): string | undefined;
private _startHour?;
get startHour(): number;
set startHour(value: number);
get startHourInput(): number | undefined;
private _startMin?;
get startMin(): number;
set startMin(value: number);
get startMinInput(): number | undefined;
}
export declare class AlertPolicyTimeRestrictionRestrictionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: AlertPolicyTimeRestrictionRestrictions[] | 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): AlertPolicyTimeRestrictionRestrictionsOutputReference;
}
export interface AlertPolicyTimeRestriction {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#type AlertPolicy#type}
*/
readonly type: string;
/**
* restriction block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#restriction AlertPolicy#restriction}
*/
readonly restriction?: AlertPolicyTimeRestrictionRestriction[] | cdktf.IResolvable;
/**
* restrictions block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy#restrictions AlertPolicy#restrictions}
*/
readonly restrictions?: AlertPolicyTimeRestrictionRestrictions[] | cdktf.IResolvable;
}
export declare function alertPolicyTimeRestrictionToTerraform(struct?: AlertPolicyTimeRestriction | cdktf.IResolvable): any;
export declare class AlertPolicyTimeRestrictionOutputReference 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(): AlertPolicyTimeRestriction | cdktf.IResolvable | undefined;
set internalValue(value: AlertPolicyTimeRestriction | cdktf.IResolvable | undefined);
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
private _restriction;
get restriction(): AlertPolicyTimeRestrictionRestrictionList;
putRestriction(value: AlertPolicyTimeRestrictionRestriction[] | cdktf.IResolvable): void;
resetRestriction(): void;
get restrictionInput(): cdktf.IResolvable | AlertPolicyTimeRestrictionRestriction[] | undefined;
private _restrictions;
get restrictions(): AlertPolicyTimeRestrictionRestrictionsList;
putRestrictions(value: AlertPolicyTimeRestrictionRestrictions[] | cdktf.IResolvable): void;
resetRestrictions(): void;
get restrictionsInput(): cdktf.IResolvable | AlertPolicyTimeRestrictionRestrictions[] | undefined;
}
export declare class AlertPolicyTimeRestrictionList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: AlertPolicyTimeRestriction[] | 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): AlertPolicyTimeRestrictionOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy opsgenie_alert_policy}
*/
export declare class AlertPolicy extends cdktf.TerraformResource {
static readonly tfResourceType = "opsgenie_alert_policy";
/**
* Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/alert_policy opsgenie_alert_policy} 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 AlertPolicyConfig
*/
constructor(scope: Construct, id: string, config: AlertPolicyConfig);
private _actions?;
get actions(): string[];
set actions(value: string[]);
resetActions(): void;
get actionsInput(): string[] | undefined;
private _alertDescription?;
get alertDescription(): string;
set alertDescription(value: string);
resetAlertDescription(): void;
get alertDescriptionInput(): string | undefined;
private _alias?;
get alias(): string;
set alias(value: string);
resetAlias(): void;
get aliasInput(): string | undefined;
private _continuePolicy?;
get continuePolicy(): boolean | cdktf.IResolvable;
set continuePolicy(value: boolean | cdktf.IResolvable);
resetContinuePolicy(): void;
get continuePolicyInput(): boolean | cdktf.IResolvable | undefined;
private _enabled?;
get enabled(): boolean | cdktf.IResolvable;
set enabled(value: boolean | cdktf.IResolvable);
resetEnabled(): void;
get enabledInput(): boolean | cdktf.IResolvable | undefined;
private _entity?;
get entity(): string;
set entity(value: string);
resetEntity(): void;
get entityInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _ignoreOriginalActions?;
get ignoreOriginalActions(): boolean | cdktf.IResolvable;
set ignoreOriginalActions(value: boolean | cdktf.IResolvable);
resetIgnoreOriginalActions(): void;
get ignoreOriginalActionsInput(): boolean | cdktf.IResolvable | undefined;
private _ignoreOriginalDetails?;
get ignoreOriginalDetails(): boolean | cdktf.IResolvable;
set ignoreOriginalDetails(value: boolean | cdktf.IResolvable);
resetIgnoreOriginalDetails(): void;
get ignoreOriginalDetailsInput(): boolean | cdktf.IResolvable | undefined;
private _ignoreOriginalResponders?;
get ignoreOriginalResponders(): boolean | cdktf.IResolvable;
set ignoreOriginalResponders(value: boolean | cdktf.IResolvable);
resetIgnoreOriginalResponders(): void;
get ignoreOriginalRespondersInput(): boolean | cdktf.IResolvable | undefined;
private _ignoreOriginalTags?;
get ignoreOriginalTags(): boolean | cdktf.IResolvable;
set ignoreOriginalTags(value: boolean | cdktf.IResolvable);
resetIgnoreOriginalTags(): void;
get ignoreOriginalTagsInput(): boolean | cdktf.IResolvable | undefined;
private _message?;
get message(): string;
set message(value: string);
get messageInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _policyDescription?;
get policyDescription(): string;
set policyDescription(value: string);
resetPolicyDescription(): void;
get policyDescriptionInput(): string | undefined;
private _priority?;
get priority(): string;
set priority(value: string);
resetPriority(): void;
get priorityInput(): string | undefined;
private _source?;
get source(): string;
set source(value: string);
resetSource(): void;
get sourceInput(): string | undefined;
private _tags?;
get tags(): string[];
set tags(value: string[]);
resetTags(): void;
get tagsInput(): string[] | undefined;
private _teamId?;
get teamId(): string;
set teamId(value: string);
resetTeamId(): void;
get teamIdInput(): string | undefined;
private _filter;
get filter(): AlertPolicyFilterList;
putFilter(value: AlertPolicyFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | AlertPolicyFilter[] | undefined;
private _responders;
get responders(): AlertPolicyRespondersList;
putResponders(value: AlertPolicyResponders[] | cdktf.IResolvable): void;
resetResponders(): void;
get respondersInput(): cdktf.IResolvable | AlertPolicyResponders[] | undefined;
private _timeRestriction;
get timeRestriction(): AlertPolicyTimeRestrictionList;
putTimeRestriction(value: AlertPolicyTimeRestriction[] | cdktf.IResolvable): void;
resetTimeRestriction(): void;
get timeRestrictionInput(): cdktf.IResolvable | AlertPolicyTimeRestriction[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
}