@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
171 lines (170 loc) • 8.33 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface SccV2ProjectMuteConfigConfig extends cdktf.TerraformMetaArguments {
/**
* A description of the mute config.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#description SccV2ProjectMuteConfig#description}
*/
readonly description?: string;
/**
* An expression that defines the filter to apply across create/update
* events of findings. While creating a filter string, be mindful of
* the scope in which the mute configuration is being created. E.g.,
* If a filter contains project = X but is created under the
* project = Y scope, it might not match any findings.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#filter SccV2ProjectMuteConfig#filter}
*/
readonly filter: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#id SccV2ProjectMuteConfig#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;
/**
* location Id is provided by project. If not provided, Use global as default.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#location SccV2ProjectMuteConfig#location}
*/
readonly location?: string;
/**
* Unique identifier provided by the client within the parent scope.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#mute_config_id SccV2ProjectMuteConfig#mute_config_id}
*/
readonly muteConfigId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#project SccV2ProjectMuteConfig#project}
*/
readonly project?: string;
/**
* The type of the mute config.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#type SccV2ProjectMuteConfig#type}
*/
readonly type: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#timeouts SccV2ProjectMuteConfig#timeouts}
*/
readonly timeouts?: SccV2ProjectMuteConfigTimeouts;
}
export interface SccV2ProjectMuteConfigTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#create SccV2ProjectMuteConfig#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#delete SccV2ProjectMuteConfig#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#update SccV2ProjectMuteConfig#update}
*/
readonly update?: string;
}
export declare function sccV2ProjectMuteConfigTimeoutsToTerraform(struct?: SccV2ProjectMuteConfigTimeouts | cdktf.IResolvable): any;
export declare function sccV2ProjectMuteConfigTimeoutsToHclTerraform(struct?: SccV2ProjectMuteConfigTimeouts | cdktf.IResolvable): any;
export declare class SccV2ProjectMuteConfigTimeoutsOutputReference 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(): SccV2ProjectMuteConfigTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: SccV2ProjectMuteConfigTimeouts | 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.13.0/docs/resources/scc_v2_project_mute_config google_scc_v2_project_mute_config}
*/
export declare class SccV2ProjectMuteConfig extends cdktf.TerraformResource {
static readonly tfResourceType = "google_scc_v2_project_mute_config";
/**
* Generates CDKTF code for importing a SccV2ProjectMuteConfig 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 SccV2ProjectMuteConfig to import
* @param importFromId The id of the existing SccV2ProjectMuteConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_project_mute_config#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the SccV2ProjectMuteConfig 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.13.0/docs/resources/scc_v2_project_mute_config google_scc_v2_project_mute_config} 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 SccV2ProjectMuteConfigConfig
*/
constructor(scope: Construct, id: string, config: SccV2ProjectMuteConfigConfig);
get createTime(): string;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _filter?;
get filter(): string;
set filter(value: string);
get filterInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _location?;
get location(): string;
set location(value: string);
resetLocation(): void;
get locationInput(): string | undefined;
get mostRecentEditor(): string;
private _muteConfigId?;
get muteConfigId(): string;
set muteConfigId(value: string);
get muteConfigIdInput(): string | undefined;
get name(): string;
private _project?;
get project(): string;
set project(value: string);
resetProject(): void;
get projectInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
get updateTime(): string;
private _timeouts;
get timeouts(): SccV2ProjectMuteConfigTimeoutsOutputReference;
putTimeouts(value: SccV2ProjectMuteConfigTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | SccV2ProjectMuteConfigTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}