rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
129 lines (128 loc) • 6.59 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciEventsRuleConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/events_rule#rule_id DataOciEventsRule#rule_id}
*/
readonly ruleId: string;
}
export interface DataOciEventsRuleActionsActions {
}
export declare function dataOciEventsRuleActionsActionsToTerraform(struct?: DataOciEventsRuleActionsActions): any;
export declare function dataOciEventsRuleActionsActionsToHclTerraform(struct?: DataOciEventsRuleActionsActions): any;
export declare class DataOciEventsRuleActionsActionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): DataOciEventsRuleActionsActions | undefined;
set internalValue(value: DataOciEventsRuleActionsActions | undefined);
get actionType(): string;
get description(): string;
get functionId(): string;
get id(): string;
get isEnabled(): cdktf.IResolvable;
get lifecycleMessage(): string;
get state(): string;
get streamId(): string;
get topicId(): string;
}
export declare class DataOciEventsRuleActionsActionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): DataOciEventsRuleActionsActionsOutputReference;
}
export interface DataOciEventsRuleActions {
}
export declare function dataOciEventsRuleActionsToTerraform(struct?: DataOciEventsRuleActions): any;
export declare function dataOciEventsRuleActionsToHclTerraform(struct?: DataOciEventsRuleActions): any;
export declare class DataOciEventsRuleActionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): DataOciEventsRuleActions | undefined;
set internalValue(value: DataOciEventsRuleActions | undefined);
private _actions;
get actions(): DataOciEventsRuleActionsActionsList;
}
export declare class DataOciEventsRuleActionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): DataOciEventsRuleActionsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/events_rule oci_events_rule}
*/
export declare class DataOciEventsRule extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_events_rule";
/**
* Generates CDKTF code for importing a DataOciEventsRule 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 DataOciEventsRule to import
* @param importFromId The id of the existing DataOciEventsRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/events_rule#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciEventsRule 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/events_rule oci_events_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 DataOciEventsRuleConfig
*/
constructor(scope: Construct, id: string, config: DataOciEventsRuleConfig);
private _actions;
get actions(): DataOciEventsRuleActionsList;
get compartmentId(): string;
get condition(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get description(): string;
get displayName(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isEnabled(): cdktf.IResolvable;
get lifecycleMessage(): string;
private _ruleId?;
get ruleId(): string;
set ruleId(value: string);
get ruleIdInput(): string | undefined;
get state(): string;
get timeCreated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}