rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
335 lines (334 loc) • 16.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ObjectstorageObjectConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#bucket ObjectstorageObject#bucket}
*/
readonly bucket: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#cache_control ObjectstorageObject#cache_control}
*/
readonly cacheControl?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#content ObjectstorageObject#content}
*/
readonly content?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#content_disposition ObjectstorageObject#content_disposition}
*/
readonly contentDisposition?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#content_encoding ObjectstorageObject#content_encoding}
*/
readonly contentEncoding?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#content_language ObjectstorageObject#content_language}
*/
readonly contentLanguage?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#content_md5 ObjectstorageObject#content_md5}
*/
readonly contentMd5?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#content_type ObjectstorageObject#content_type}
*/
readonly contentType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#delete_all_object_versions ObjectstorageObject#delete_all_object_versions}
*/
readonly deleteAllObjectVersions?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#id ObjectstorageObject#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/objectstorage_object#metadata ObjectstorageObject#metadata}
*/
readonly metadata?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#namespace ObjectstorageObject#namespace}
*/
readonly namespace: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#object ObjectstorageObject#object}
*/
readonly object: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#opc_sse_kms_key_id ObjectstorageObject#opc_sse_kms_key_id}
*/
readonly opcSseKmsKeyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#source ObjectstorageObject#source}
*/
readonly source?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#storage_tier ObjectstorageObject#storage_tier}
*/
readonly storageTier?: string;
/**
* source_uri_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#source_uri_details ObjectstorageObject#source_uri_details}
*/
readonly sourceUriDetails?: ObjectstorageObjectSourceUriDetails;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#timeouts ObjectstorageObject#timeouts}
*/
readonly timeouts?: ObjectstorageObjectTimeouts;
}
export interface ObjectstorageObjectSourceUriDetails {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#bucket ObjectstorageObject#bucket}
*/
readonly bucket: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#destination_object_if_match_etag ObjectstorageObject#destination_object_if_match_etag}
*/
readonly destinationObjectIfMatchEtag?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#destination_object_if_none_match_etag ObjectstorageObject#destination_object_if_none_match_etag}
*/
readonly destinationObjectIfNoneMatchEtag?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#namespace ObjectstorageObject#namespace}
*/
readonly namespace: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#object ObjectstorageObject#object}
*/
readonly object: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#region ObjectstorageObject#region}
*/
readonly region: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#source_object_if_match_etag ObjectstorageObject#source_object_if_match_etag}
*/
readonly sourceObjectIfMatchEtag?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#source_version_id ObjectstorageObject#source_version_id}
*/
readonly sourceVersionId?: string;
}
export declare function objectstorageObjectSourceUriDetailsToTerraform(struct?: ObjectstorageObjectSourceUriDetailsOutputReference | ObjectstorageObjectSourceUriDetails): any;
export declare function objectstorageObjectSourceUriDetailsToHclTerraform(struct?: ObjectstorageObjectSourceUriDetailsOutputReference | ObjectstorageObjectSourceUriDetails): any;
export declare class ObjectstorageObjectSourceUriDetailsOutputReference 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(): ObjectstorageObjectSourceUriDetails | undefined;
set internalValue(value: ObjectstorageObjectSourceUriDetails | undefined);
private _bucket?;
get bucket(): string;
set bucket(value: string);
get bucketInput(): string | undefined;
private _destinationObjectIfMatchEtag?;
get destinationObjectIfMatchEtag(): string;
set destinationObjectIfMatchEtag(value: string);
resetDestinationObjectIfMatchEtag(): void;
get destinationObjectIfMatchEtagInput(): string | undefined;
private _destinationObjectIfNoneMatchEtag?;
get destinationObjectIfNoneMatchEtag(): string;
set destinationObjectIfNoneMatchEtag(value: string);
resetDestinationObjectIfNoneMatchEtag(): void;
get destinationObjectIfNoneMatchEtagInput(): string | undefined;
private _namespace?;
get namespace(): string;
set namespace(value: string);
get namespaceInput(): string | undefined;
private _object?;
get object(): string;
set object(value: string);
get objectInput(): string | undefined;
private _region?;
get region(): string;
set region(value: string);
get regionInput(): string | undefined;
private _sourceObjectIfMatchEtag?;
get sourceObjectIfMatchEtag(): string;
set sourceObjectIfMatchEtag(value: string);
resetSourceObjectIfMatchEtag(): void;
get sourceObjectIfMatchEtagInput(): string | undefined;
private _sourceVersionId?;
get sourceVersionId(): string;
set sourceVersionId(value: string);
resetSourceVersionId(): void;
get sourceVersionIdInput(): string | undefined;
}
export interface ObjectstorageObjectTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#create ObjectstorageObject#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#delete ObjectstorageObject#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#update ObjectstorageObject#update}
*/
readonly update?: string;
}
export declare function objectstorageObjectTimeoutsToTerraform(struct?: ObjectstorageObjectTimeouts | cdktf.IResolvable): any;
export declare function objectstorageObjectTimeoutsToHclTerraform(struct?: ObjectstorageObjectTimeouts | cdktf.IResolvable): any;
export declare class ObjectstorageObjectTimeoutsOutputReference 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(): ObjectstorageObjectTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: ObjectstorageObjectTimeouts | 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/objectstorage_object oci_objectstorage_object}
*/
export declare class ObjectstorageObject extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_objectstorage_object";
/**
* Generates CDKTF code for importing a ObjectstorageObject 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 ObjectstorageObject to import
* @param importFromId The id of the existing ObjectstorageObject that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_object#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ObjectstorageObject 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/objectstorage_object oci_objectstorage_object} 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 ObjectstorageObjectConfig
*/
constructor(scope: Construct, id: string, config: ObjectstorageObjectConfig);
private _bucket?;
get bucket(): string;
set bucket(value: string);
get bucketInput(): string | undefined;
private _cacheControl?;
get cacheControl(): string;
set cacheControl(value: string);
resetCacheControl(): void;
get cacheControlInput(): string | undefined;
private _content?;
get content(): string;
set content(value: string);
resetContent(): void;
get contentInput(): string | undefined;
private _contentDisposition?;
get contentDisposition(): string;
set contentDisposition(value: string);
resetContentDisposition(): void;
get contentDispositionInput(): string | undefined;
private _contentEncoding?;
get contentEncoding(): string;
set contentEncoding(value: string);
resetContentEncoding(): void;
get contentEncodingInput(): string | undefined;
private _contentLanguage?;
get contentLanguage(): string;
set contentLanguage(value: string);
resetContentLanguage(): void;
get contentLanguageInput(): string | undefined;
get contentLength(): string;
private _contentMd5?;
get contentMd5(): string;
set contentMd5(value: string);
resetContentMd5(): void;
get contentMd5Input(): string | undefined;
private _contentType?;
get contentType(): string;
set contentType(value: string);
resetContentType(): void;
get contentTypeInput(): string | undefined;
private _deleteAllObjectVersions?;
get deleteAllObjectVersions(): boolean | cdktf.IResolvable;
set deleteAllObjectVersions(value: boolean | cdktf.IResolvable);
resetDeleteAllObjectVersions(): void;
get deleteAllObjectVersionsInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _metadata?;
get metadata(): {
[key: string]: string;
};
set metadata(value: {
[key: string]: string;
});
resetMetadata(): void;
get metadataInput(): {
[key: string]: string;
} | undefined;
private _namespace?;
get namespace(): string;
set namespace(value: string);
get namespaceInput(): string | undefined;
private _object?;
get object(): string;
set object(value: string);
get objectInput(): string | undefined;
private _opcSseKmsKeyId?;
get opcSseKmsKeyId(): string;
set opcSseKmsKeyId(value: string);
resetOpcSseKmsKeyId(): void;
get opcSseKmsKeyIdInput(): string | undefined;
private _source?;
get source(): string;
set source(value: string);
resetSource(): void;
get sourceInput(): string | undefined;
get state(): string;
private _storageTier?;
get storageTier(): string;
set storageTier(value: string);
resetStorageTier(): void;
get storageTierInput(): string | undefined;
get versionId(): string;
get workRequestId(): string;
private _sourceUriDetails;
get sourceUriDetails(): ObjectstorageObjectSourceUriDetailsOutputReference;
putSourceUriDetails(value: ObjectstorageObjectSourceUriDetails): void;
resetSourceUriDetails(): void;
get sourceUriDetailsInput(): ObjectstorageObjectSourceUriDetails | undefined;
private _timeouts;
get timeouts(): ObjectstorageObjectTimeoutsOutputReference;
putTimeouts(value: ObjectstorageObjectTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | ObjectstorageObjectTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}