@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
173 lines (172 loc) • 8.34 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface SccV2FolderMuteConfigConfig 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_folder_mute_config#description SccV2FolderMuteConfig#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_folder_mute_config#filter SccV2FolderMuteConfig#filter}
*/
readonly filter: string;
/**
* The folder whose Cloud Security Command Center the Mute
* Config lives in.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_folder_mute_config#folder SccV2FolderMuteConfig#folder}
*/
readonly folder: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_folder_mute_config#id SccV2FolderMuteConfig#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 folder. 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_folder_mute_config#location SccV2FolderMuteConfig#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_folder_mute_config#mute_config_id SccV2FolderMuteConfig#mute_config_id}
*/
readonly muteConfigId: 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_folder_mute_config#type SccV2FolderMuteConfig#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_folder_mute_config#timeouts SccV2FolderMuteConfig#timeouts}
*/
readonly timeouts?: SccV2FolderMuteConfigTimeouts;
}
export interface SccV2FolderMuteConfigTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_folder_mute_config#create SccV2FolderMuteConfig#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_folder_mute_config#delete SccV2FolderMuteConfig#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_folder_mute_config#update SccV2FolderMuteConfig#update}
*/
readonly update?: string;
}
export declare function sccV2FolderMuteConfigTimeoutsToTerraform(struct?: SccV2FolderMuteConfigTimeouts | cdktf.IResolvable): any;
export declare function sccV2FolderMuteConfigTimeoutsToHclTerraform(struct?: SccV2FolderMuteConfigTimeouts | cdktf.IResolvable): any;
export declare class SccV2FolderMuteConfigTimeoutsOutputReference 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(): SccV2FolderMuteConfigTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: SccV2FolderMuteConfigTimeouts | 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_folder_mute_config google_scc_v2_folder_mute_config}
*/
export declare class SccV2FolderMuteConfig extends cdktf.TerraformResource {
static readonly tfResourceType = "google_scc_v2_folder_mute_config";
/**
* Generates CDKTF code for importing a SccV2FolderMuteConfig 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 SccV2FolderMuteConfig to import
* @param importFromId The id of the existing SccV2FolderMuteConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/scc_v2_folder_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 SccV2FolderMuteConfig 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_folder_mute_config google_scc_v2_folder_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 SccV2FolderMuteConfigConfig
*/
constructor(scope: Construct, id: string, config: SccV2FolderMuteConfigConfig);
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 _folder?;
get folder(): string;
set folder(value: string);
get folderInput(): 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 _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
get updateTime(): string;
private _timeouts;
get timeouts(): SccV2FolderMuteConfigTimeoutsOutputReference;
putTimeouts(value: SccV2FolderMuteConfigTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | SccV2FolderMuteConfigTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}