rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
292 lines (291 loc) • 15 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface StreamingStreamPoolConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#compartment_id StreamingStreamPool#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#defined_tags StreamingStreamPool#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#freeform_tags StreamingStreamPool#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#id StreamingStreamPool#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;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#name StreamingStreamPool#name}
*/
readonly name: string;
/**
* custom_encryption_key block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#custom_encryption_key StreamingStreamPool#custom_encryption_key}
*/
readonly customEncryptionKey?: StreamingStreamPoolCustomEncryptionKey;
/**
* kafka_settings block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#kafka_settings StreamingStreamPool#kafka_settings}
*/
readonly kafkaSettings?: StreamingStreamPoolKafkaSettings;
/**
* private_endpoint_settings block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#private_endpoint_settings StreamingStreamPool#private_endpoint_settings}
*/
readonly privateEndpointSettings?: StreamingStreamPoolPrivateEndpointSettings;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#timeouts StreamingStreamPool#timeouts}
*/
readonly timeouts?: StreamingStreamPoolTimeouts;
}
export interface StreamingStreamPoolCustomEncryptionKey {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#kms_key_id StreamingStreamPool#kms_key_id}
*/
readonly kmsKeyId: string;
}
export declare function streamingStreamPoolCustomEncryptionKeyToTerraform(struct?: StreamingStreamPoolCustomEncryptionKeyOutputReference | StreamingStreamPoolCustomEncryptionKey): any;
export declare function streamingStreamPoolCustomEncryptionKeyToHclTerraform(struct?: StreamingStreamPoolCustomEncryptionKeyOutputReference | StreamingStreamPoolCustomEncryptionKey): any;
export declare class StreamingStreamPoolCustomEncryptionKeyOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): StreamingStreamPoolCustomEncryptionKey | undefined;
set internalValue(value: StreamingStreamPoolCustomEncryptionKey | undefined);
get keyState(): string;
private _kmsKeyId?;
get kmsKeyId(): string;
set kmsKeyId(value: string);
get kmsKeyIdInput(): string | undefined;
}
export interface StreamingStreamPoolKafkaSettings {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#auto_create_topics_enable StreamingStreamPool#auto_create_topics_enable}
*/
readonly autoCreateTopicsEnable?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#log_retention_hours StreamingStreamPool#log_retention_hours}
*/
readonly logRetentionHours?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#num_partitions StreamingStreamPool#num_partitions}
*/
readonly numPartitions?: number;
}
export declare function streamingStreamPoolKafkaSettingsToTerraform(struct?: StreamingStreamPoolKafkaSettingsOutputReference | StreamingStreamPoolKafkaSettings): any;
export declare function streamingStreamPoolKafkaSettingsToHclTerraform(struct?: StreamingStreamPoolKafkaSettingsOutputReference | StreamingStreamPoolKafkaSettings): any;
export declare class StreamingStreamPoolKafkaSettingsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): StreamingStreamPoolKafkaSettings | undefined;
set internalValue(value: StreamingStreamPoolKafkaSettings | undefined);
private _autoCreateTopicsEnable?;
get autoCreateTopicsEnable(): boolean | cdktf.IResolvable;
set autoCreateTopicsEnable(value: boolean | cdktf.IResolvable);
resetAutoCreateTopicsEnable(): void;
get autoCreateTopicsEnableInput(): boolean | cdktf.IResolvable | undefined;
get bootstrapServers(): string;
private _logRetentionHours?;
get logRetentionHours(): number;
set logRetentionHours(value: number);
resetLogRetentionHours(): void;
get logRetentionHoursInput(): number | undefined;
private _numPartitions?;
get numPartitions(): number;
set numPartitions(value: number);
resetNumPartitions(): void;
get numPartitionsInput(): number | undefined;
}
export interface StreamingStreamPoolPrivateEndpointSettings {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#nsg_ids StreamingStreamPool#nsg_ids}
*/
readonly nsgIds?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#private_endpoint_ip StreamingStreamPool#private_endpoint_ip}
*/
readonly privateEndpointIp?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#subnet_id StreamingStreamPool#subnet_id}
*/
readonly subnetId?: string;
}
export declare function streamingStreamPoolPrivateEndpointSettingsToTerraform(struct?: StreamingStreamPoolPrivateEndpointSettingsOutputReference | StreamingStreamPoolPrivateEndpointSettings): any;
export declare function streamingStreamPoolPrivateEndpointSettingsToHclTerraform(struct?: StreamingStreamPoolPrivateEndpointSettingsOutputReference | StreamingStreamPoolPrivateEndpointSettings): any;
export declare class StreamingStreamPoolPrivateEndpointSettingsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): StreamingStreamPoolPrivateEndpointSettings | undefined;
set internalValue(value: StreamingStreamPoolPrivateEndpointSettings | undefined);
private _nsgIds?;
get nsgIds(): string[];
set nsgIds(value: string[]);
resetNsgIds(): void;
get nsgIdsInput(): string[] | undefined;
private _privateEndpointIp?;
get privateEndpointIp(): string;
set privateEndpointIp(value: string);
resetPrivateEndpointIp(): void;
get privateEndpointIpInput(): string | undefined;
private _subnetId?;
get subnetId(): string;
set subnetId(value: string);
resetSubnetId(): void;
get subnetIdInput(): string | undefined;
}
export interface StreamingStreamPoolTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#create StreamingStreamPool#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#delete StreamingStreamPool#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#update StreamingStreamPool#update}
*/
readonly update?: string;
}
export declare function streamingStreamPoolTimeoutsToTerraform(struct?: StreamingStreamPoolTimeouts | cdktf.IResolvable): any;
export declare function streamingStreamPoolTimeoutsToHclTerraform(struct?: StreamingStreamPoolTimeouts | cdktf.IResolvable): any;
export declare class StreamingStreamPoolTimeoutsOutputReference 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(): StreamingStreamPoolTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: StreamingStreamPoolTimeouts | 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/oracle/oci/6.18.0/docs/resources/streaming_stream_pool oci_streaming_stream_pool}
*/
export declare class StreamingStreamPool extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_streaming_stream_pool";
/**
* Generates CDKTF code for importing a StreamingStreamPool 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 StreamingStreamPool to import
* @param importFromId The id of the existing StreamingStreamPool that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/streaming_stream_pool#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the StreamingStreamPool 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/resources/streaming_stream_pool oci_streaming_stream_pool} 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 StreamingStreamPoolConfig
*/
constructor(scope: Construct, id: string, config: StreamingStreamPoolConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
get endpointFqdn(): string;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get isPrivate(): cdktf.IResolvable;
get lifecycleStateDetails(): string;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
get state(): string;
get timeCreated(): string;
private _customEncryptionKey;
get customEncryptionKey(): StreamingStreamPoolCustomEncryptionKeyOutputReference;
putCustomEncryptionKey(value: StreamingStreamPoolCustomEncryptionKey): void;
resetCustomEncryptionKey(): void;
get customEncryptionKeyInput(): StreamingStreamPoolCustomEncryptionKey | undefined;
private _kafkaSettings;
get kafkaSettings(): StreamingStreamPoolKafkaSettingsOutputReference;
putKafkaSettings(value: StreamingStreamPoolKafkaSettings): void;
resetKafkaSettings(): void;
get kafkaSettingsInput(): StreamingStreamPoolKafkaSettings | undefined;
private _privateEndpointSettings;
get privateEndpointSettings(): StreamingStreamPoolPrivateEndpointSettingsOutputReference;
putPrivateEndpointSettings(value: StreamingStreamPoolPrivateEndpointSettings): void;
resetPrivateEndpointSettings(): void;
get privateEndpointSettingsInput(): StreamingStreamPoolPrivateEndpointSettings | undefined;
private _timeouts;
get timeouts(): StreamingStreamPoolTimeoutsOutputReference;
putTimeouts(value: StreamingStreamPoolTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | StreamingStreamPoolTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}