UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

157 lines (156 loc) 8.46 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SccEventThreatDetectionCustomModuleConfig extends cdktf.TerraformMetaArguments { /** * Config for the module. For the resident module, its config value is defined at this level. * For the inherited module, its config value is inherited from the ancestor module. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#config SccEventThreatDetectionCustomModule#config} */ readonly config: string; /** * The human readable name to be displayed for the module. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#display_name SccEventThreatDetectionCustomModule#display_name} */ readonly displayName?: string; /** * The state of enablement for the module at the given level of the hierarchy. Possible values: ["ENABLED", "DISABLED"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#enablement_state SccEventThreatDetectionCustomModule#enablement_state} */ readonly enablementState: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#id SccEventThreatDetectionCustomModule#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; /** * Numerical ID of the parent organization. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#organization SccEventThreatDetectionCustomModule#organization} */ readonly organization: string; /** * Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#type SccEventThreatDetectionCustomModule#type} */ readonly type: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#timeouts SccEventThreatDetectionCustomModule#timeouts} */ readonly timeouts?: SccEventThreatDetectionCustomModuleTimeouts; } export interface SccEventThreatDetectionCustomModuleTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#create SccEventThreatDetectionCustomModule#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#delete SccEventThreatDetectionCustomModule#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#update SccEventThreatDetectionCustomModule#update} */ readonly update?: string; } export declare function sccEventThreatDetectionCustomModuleTimeoutsToTerraform(struct?: SccEventThreatDetectionCustomModuleTimeouts | cdktf.IResolvable): any; export declare function sccEventThreatDetectionCustomModuleTimeoutsToHclTerraform(struct?: SccEventThreatDetectionCustomModuleTimeouts | cdktf.IResolvable): any; export declare class SccEventThreatDetectionCustomModuleTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SccEventThreatDetectionCustomModuleTimeouts | cdktf.IResolvable | undefined; set internalValue(value: SccEventThreatDetectionCustomModuleTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string | undefined; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string | undefined; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module google_scc_event_threat_detection_custom_module} */ export declare class SccEventThreatDetectionCustomModule extends cdktf.TerraformResource { static readonly tfResourceType = "google_scc_event_threat_detection_custom_module"; /** * Generates CDKTF code for importing a SccEventThreatDetectionCustomModule resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the SccEventThreatDetectionCustomModule to import * @param importFromId The id of the existing SccEventThreatDetectionCustomModule that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SccEventThreatDetectionCustomModule to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_event_threat_detection_custom_module google_scc_event_threat_detection_custom_module} 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 SccEventThreatDetectionCustomModuleConfig */ constructor(scope: Construct, id: string, config: SccEventThreatDetectionCustomModuleConfig); private _config?; get config(): string; set config(value: string); get configInput(): string | undefined; private _displayName?; get displayName(): string; set displayName(value: string); resetDisplayName(): void; get displayNameInput(): string | undefined; private _enablementState?; get enablementState(): string; set enablementState(value: string); get enablementStateInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get lastEditor(): string; get name(): string; private _organization?; get organization(): string; set organization(value: string); get organizationInput(): string | undefined; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; get updateTime(): string; private _timeouts; get timeouts(): SccEventThreatDetectionCustomModuleTimeoutsOutputReference; putTimeouts(value: SccEventThreatDetectionCustomModuleTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | SccEventThreatDetectionCustomModuleTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }