UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

129 lines (128 loc) 7 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataOciBastionSessionConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/bastion_session#session_id DataOciBastionSession#session_id} */ readonly sessionId: string; } export interface DataOciBastionSessionKeyDetails { } export declare function dataOciBastionSessionKeyDetailsToTerraform(struct?: DataOciBastionSessionKeyDetails): any; export declare function dataOciBastionSessionKeyDetailsToHclTerraform(struct?: DataOciBastionSessionKeyDetails): any; export declare class DataOciBastionSessionKeyDetailsOutputReference 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(): DataOciBastionSessionKeyDetails | undefined; set internalValue(value: DataOciBastionSessionKeyDetails | undefined); get publicKeyContent(): string; } export declare class DataOciBastionSessionKeyDetailsList 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): DataOciBastionSessionKeyDetailsOutputReference; } export interface DataOciBastionSessionTargetResourceDetails { } export declare function dataOciBastionSessionTargetResourceDetailsToTerraform(struct?: DataOciBastionSessionTargetResourceDetails): any; export declare function dataOciBastionSessionTargetResourceDetailsToHclTerraform(struct?: DataOciBastionSessionTargetResourceDetails): any; export declare class DataOciBastionSessionTargetResourceDetailsOutputReference 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(): DataOciBastionSessionTargetResourceDetails | undefined; set internalValue(value: DataOciBastionSessionTargetResourceDetails | undefined); get sessionType(): string; get targetResourceDisplayName(): string; get targetResourceFqdn(): string; get targetResourceId(): string; get targetResourceOperatingSystemUserName(): string; get targetResourcePort(): number; get targetResourcePrivateIpAddress(): string; } export declare class DataOciBastionSessionTargetResourceDetailsList 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): DataOciBastionSessionTargetResourceDetailsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/bastion_session oci_bastion_session} */ export declare class DataOciBastionSession extends cdktf.TerraformDataSource { static readonly tfResourceType = "oci_bastion_session"; /** * Generates CDKTF code for importing a DataOciBastionSession 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 DataOciBastionSession to import * @param importFromId The id of the existing DataOciBastionSession that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/bastion_session#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciBastionSession 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/bastion_session oci_bastion_session} 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 DataOciBastionSessionConfig */ constructor(scope: Construct, id: string, config: DataOciBastionSessionConfig); get bastionId(): string; get bastionName(): string; get bastionPublicHostKeyInfo(): string; get bastionUserName(): string; get displayName(): string; get id(): string; private _keyDetails; get keyDetails(): DataOciBastionSessionKeyDetailsList; get keyType(): string; get lifecycleDetails(): string; private _sessionId?; get sessionId(): string; set sessionId(value: string); get sessionIdInput(): string | undefined; get sessionTtlInSeconds(): number; private _sshMetadata; get sshMetadata(): cdktf.StringMap; get state(): string; private _targetResourceDetails; get targetResourceDetails(): DataOciBastionSessionTargetResourceDetailsList; get timeCreated(): string; get timeUpdated(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }