rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
53 lines (52 loc) • 2.91 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciWaasCustomProtectionRuleConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/waas_custom_protection_rule#custom_protection_rule_id DataOciWaasCustomProtectionRule#custom_protection_rule_id}
*/
readonly customProtectionRuleId: string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/waas_custom_protection_rule oci_waas_custom_protection_rule}
*/
export declare class DataOciWaasCustomProtectionRule extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_waas_custom_protection_rule";
/**
* Generates CDKTF code for importing a DataOciWaasCustomProtectionRule 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 DataOciWaasCustomProtectionRule to import
* @param importFromId The id of the existing DataOciWaasCustomProtectionRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/waas_custom_protection_rule#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciWaasCustomProtectionRule 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/oracle/oci/6.18.0/docs/data-sources/waas_custom_protection_rule oci_waas_custom_protection_rule} Data Source
*
* @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 DataOciWaasCustomProtectionRuleConfig
*/
constructor(scope: Construct, id: string, config: DataOciWaasCustomProtectionRuleConfig);
get compartmentId(): string;
private _customProtectionRuleId?;
get customProtectionRuleId(): string;
set customProtectionRuleId(value: string);
get customProtectionRuleIdInput(): string | undefined;
private _definedTags;
get definedTags(): cdktf.StringMap;
get description(): string;
get displayName(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get modSecurityRuleIds(): string[];
get state(): string;
get template(): string;
get timeCreated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}