UNPKG

rhizo-co-terraform-provider-opsgenie

Version:

Prebuilt opsgenie Provider for Terraform CDK (cdktf)

69 lines (68 loc) 3.17 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CustomRoleConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/custom_role#disallowed_rights CustomRole#disallowed_rights} */ readonly disallowedRights?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/custom_role#extended_role CustomRole#extended_role} */ readonly extendedRole?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/custom_role#granted_rights CustomRole#granted_rights} */ readonly grantedRights?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/custom_role#id CustomRole#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/custom_role#role_name CustomRole#role_name} */ readonly roleName: string; } /** * Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/custom_role opsgenie_custom_role} */ export declare class CustomRole extends cdktf.TerraformResource { static readonly tfResourceType = "opsgenie_custom_role"; /** * Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/custom_role opsgenie_custom_role} 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 CustomRoleConfig */ constructor(scope: Construct, id: string, config: CustomRoleConfig); private _disallowedRights?; get disallowedRights(): string[]; set disallowedRights(value: string[]); resetDisallowedRights(): void; get disallowedRightsInput(): string[] | undefined; private _extendedRole?; get extendedRole(): string; set extendedRole(value: string); resetExtendedRole(): void; get extendedRoleInput(): string | undefined; private _grantedRights?; get grantedRights(): string[]; set grantedRights(value: string[]); resetGrantedRights(): void; get grantedRightsInput(): string[] | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _roleName?; get roleName(): string; set roleName(value: string); get roleNameInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; }