rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
219 lines (218 loc) • 10.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface BastionBastionConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#bastion_type BastionBastion#bastion_type}
*/
readonly bastionType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#client_cidr_block_allow_list BastionBastion#client_cidr_block_allow_list}
*/
readonly clientCidrBlockAllowList?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#compartment_id BastionBastion#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#defined_tags BastionBastion#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#dns_proxy_status BastionBastion#dns_proxy_status}
*/
readonly dnsProxyStatus?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#freeform_tags BastionBastion#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#id BastionBastion#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/bastion_bastion#max_session_ttl_in_seconds BastionBastion#max_session_ttl_in_seconds}
*/
readonly maxSessionTtlInSeconds?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#name BastionBastion#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#phone_book_entry BastionBastion#phone_book_entry}
*/
readonly phoneBookEntry?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#static_jump_host_ip_addresses BastionBastion#static_jump_host_ip_addresses}
*/
readonly staticJumpHostIpAddresses?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#target_subnet_id BastionBastion#target_subnet_id}
*/
readonly targetSubnetId: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#timeouts BastionBastion#timeouts}
*/
readonly timeouts?: BastionBastionTimeouts;
}
export interface BastionBastionTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#create BastionBastion#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#delete BastionBastion#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#update BastionBastion#update}
*/
readonly update?: string;
}
export declare function bastionBastionTimeoutsToTerraform(struct?: BastionBastionTimeouts | cdktf.IResolvable): any;
export declare function bastionBastionTimeoutsToHclTerraform(struct?: BastionBastionTimeouts | cdktf.IResolvable): any;
export declare class BastionBastionTimeoutsOutputReference 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(): BastionBastionTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: BastionBastionTimeouts | 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/bastion_bastion oci_bastion_bastion}
*/
export declare class BastionBastion extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_bastion_bastion";
/**
* Generates CDKTF code for importing a BastionBastion 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 BastionBastion to import
* @param importFromId The id of the existing BastionBastion that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/bastion_bastion#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the BastionBastion 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/bastion_bastion oci_bastion_bastion} 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 BastionBastionConfig
*/
constructor(scope: Construct, id: string, config: BastionBastionConfig);
private _bastionType?;
get bastionType(): string;
set bastionType(value: string);
get bastionTypeInput(): string | undefined;
private _clientCidrBlockAllowList?;
get clientCidrBlockAllowList(): string[];
set clientCidrBlockAllowList(value: string[]);
resetClientCidrBlockAllowList(): void;
get clientCidrBlockAllowListInput(): string[] | undefined;
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;
private _dnsProxyStatus?;
get dnsProxyStatus(): string;
set dnsProxyStatus(value: string);
resetDnsProxyStatus(): void;
get dnsProxyStatusInput(): string | undefined;
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 lifecycleDetails(): string;
private _maxSessionTtlInSeconds?;
get maxSessionTtlInSeconds(): number;
set maxSessionTtlInSeconds(value: number);
resetMaxSessionTtlInSeconds(): void;
get maxSessionTtlInSecondsInput(): number | undefined;
get maxSessionsAllowed(): number;
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _phoneBookEntry?;
get phoneBookEntry(): string;
set phoneBookEntry(value: string);
resetPhoneBookEntry(): void;
get phoneBookEntryInput(): string | undefined;
get privateEndpointIpAddress(): string;
get state(): string;
private _staticJumpHostIpAddresses?;
get staticJumpHostIpAddresses(): string[];
set staticJumpHostIpAddresses(value: string[]);
resetStaticJumpHostIpAddresses(): void;
get staticJumpHostIpAddressesInput(): string[] | undefined;
private _systemTags;
get systemTags(): cdktf.StringMap;
private _targetSubnetId?;
get targetSubnetId(): string;
set targetSubnetId(value: string);
get targetSubnetIdInput(): string | undefined;
get targetVcnId(): string;
get timeCreated(): string;
get timeUpdated(): string;
private _timeouts;
get timeouts(): BastionBastionTimeoutsOutputReference;
putTimeouts(value: BastionBastionTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | BastionBastionTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}