UNPKG

rhizo-co-terraform-provider-opsgenie

Version:

Prebuilt opsgenie Provider for Terraform CDK (cdktf)

150 lines (149 loc) 7.79 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface EmailIntegrationConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#email_username EmailIntegration#email_username} */ readonly emailUsername: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#enabled EmailIntegration#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#id EmailIntegration#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/email_integration#ignore_responders_from_payload EmailIntegration#ignore_responders_from_payload} */ readonly ignoreRespondersFromPayload?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#name EmailIntegration#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#owner_team_id EmailIntegration#owner_team_id} */ readonly ownerTeamId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#suppress_notifications EmailIntegration#suppress_notifications} */ readonly suppressNotifications?: boolean | cdktf.IResolvable; /** * responders block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#responders EmailIntegration#responders} */ readonly responders?: EmailIntegrationResponders[] | cdktf.IResolvable; } export interface EmailIntegrationResponders { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration#id EmailIntegration#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/email_integration#type EmailIntegration#type} */ readonly type?: string; } export declare function emailIntegrationRespondersToTerraform(struct?: EmailIntegrationResponders | cdktf.IResolvable): any; export declare class EmailIntegrationRespondersOutputReference 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(): EmailIntegrationResponders | cdktf.IResolvable | undefined; set internalValue(value: EmailIntegrationResponders | 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 EmailIntegrationRespondersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EmailIntegrationResponders[] | 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): EmailIntegrationRespondersOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration opsgenie_email_integration} */ export declare class EmailIntegration extends cdktf.TerraformResource { static readonly tfResourceType = "opsgenie_email_integration"; /** * Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/email_integration opsgenie_email_integration} 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 EmailIntegrationConfig */ constructor(scope: Construct, id: string, config: EmailIntegrationConfig); private _emailUsername?; get emailUsername(): string; set emailUsername(value: string); get emailUsernameInput(): string | undefined; private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): boolean | cdktf.IResolvable | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _ignoreRespondersFromPayload?; get ignoreRespondersFromPayload(): boolean | cdktf.IResolvable; set ignoreRespondersFromPayload(value: boolean | cdktf.IResolvable); resetIgnoreRespondersFromPayload(): void; get ignoreRespondersFromPayloadInput(): boolean | cdktf.IResolvable | 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 _suppressNotifications?; get suppressNotifications(): boolean | cdktf.IResolvable; set suppressNotifications(value: boolean | cdktf.IResolvable); resetSuppressNotifications(): void; get suppressNotificationsInput(): boolean | cdktf.IResolvable | undefined; private _responders; get responders(): EmailIntegrationRespondersList; putResponders(value: EmailIntegrationResponders[] | cdktf.IResolvable): void; resetResponders(): void; get respondersInput(): cdktf.IResolvable | EmailIntegrationResponders[] | undefined; protected synthesizeAttributes(): { [name: string]: any; }; }