rhizo-co-terraform-provider-opsgenie
Version:
Prebuilt opsgenie Provider for Terraform CDK (cdktf)
67 lines (66 loc) • 2.99 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface UserContactConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user_contact#enabled UserContact#enabled}
*/
readonly enabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user_contact#id UserContact#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/user_contact#method UserContact#method}
*/
readonly method: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user_contact#to UserContact#to}
*/
readonly to: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user_contact#username UserContact#username}
*/
readonly username: string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user_contact opsgenie_user_contact}
*/
export declare class UserContact extends cdktf.TerraformResource {
static readonly tfResourceType = "opsgenie_user_contact";
/**
* Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user_contact opsgenie_user_contact} 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 UserContactConfig
*/
constructor(scope: Construct, id: string, config: UserContactConfig);
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 _method?;
get method(): string;
set method(value: string);
get methodInput(): string | undefined;
private _to?;
get to(): string;
set to(value: string);
get toInput(): string | undefined;
private _username?;
get username(): string;
set username(value: string);
get usernameInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
}