@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
179 lines (178 loc) • 8.48 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface SccMuteConfigConfig extends cdktf.TerraformMetaArguments {
/**
* A description of the mute config.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#description SccMuteConfig#description}
*/
readonly description?: string;
/**
* Optional. The expiry of the mute config. Only applicable for dynamic configs.
* If the expiry is set, when the config expires, it is removed from all findings.
*
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
* nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#expiry_time SccMuteConfig#expiry_time}
*/
readonly expiryTime?: 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.36.0/docs/resources/scc_mute_config#filter SccMuteConfig#filter}
*/
readonly filter: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#id SccMuteConfig#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;
/**
* Unique identifier provided by the client within the parent scope.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#mute_config_id SccMuteConfig#mute_config_id}
*/
readonly muteConfigId: string;
/**
* Resource name of the new mute configs's parent. Its format is
* "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]".
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#parent SccMuteConfig#parent}
*/
readonly parent: string;
/**
* The type of the mute config, which determines what type of mute state the config affects. Default value: "DYNAMIC" Possible values: ["MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC", "DYNAMIC"]
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#type SccMuteConfig#type}
*/
readonly type?: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#timeouts SccMuteConfig#timeouts}
*/
readonly timeouts?: SccMuteConfigTimeouts;
}
export interface SccMuteConfigTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#create SccMuteConfig#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#delete SccMuteConfig#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_mute_config#update SccMuteConfig#update}
*/
readonly update?: string;
}
export declare function sccMuteConfigTimeoutsToTerraform(struct?: SccMuteConfigTimeouts | cdktf.IResolvable): any;
export declare function sccMuteConfigTimeoutsToHclTerraform(struct?: SccMuteConfigTimeouts | cdktf.IResolvable): any;
export declare class SccMuteConfigTimeoutsOutputReference 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(): SccMuteConfigTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: SccMuteConfigTimeouts | 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_mute_config google_scc_mute_config}
*/
export declare class SccMuteConfig extends cdktf.TerraformResource {
static readonly tfResourceType = "google_scc_mute_config";
/**
* Generates CDKTF code for importing a SccMuteConfig 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 SccMuteConfig to import
* @param importFromId The id of the existing SccMuteConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/scc_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 SccMuteConfig 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_mute_config google_scc_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 SccMuteConfigConfig
*/
constructor(scope: Construct, id: string, config: SccMuteConfigConfig);
get createTime(): string;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _expiryTime?;
get expiryTime(): string;
set expiryTime(value: string);
resetExpiryTime(): void;
get expiryTimeInput(): 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;
get mostRecentEditor(): string;
private _muteConfigId?;
get muteConfigId(): string;
set muteConfigId(value: string);
get muteConfigIdInput(): string | undefined;
get name(): string;
private _parent?;
get parent(): string;
set parent(value: string);
get parentInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
resetType(): void;
get typeInput(): string | undefined;
get updateTime(): string;
private _timeouts;
get timeouts(): SccMuteConfigTimeoutsOutputReference;
putTimeouts(value: SccMuteConfigTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | SccMuteConfigTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}