rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
145 lines (144 loc) • 7.77 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciObjectstorageBucketConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/objectstorage_bucket#name DataOciObjectstorageBucket#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/objectstorage_bucket#namespace DataOciObjectstorageBucket#namespace}
*/
readonly namespace: string;
}
export interface DataOciObjectstorageBucketRetentionRulesDuration {
}
export declare function dataOciObjectstorageBucketRetentionRulesDurationToTerraform(struct?: DataOciObjectstorageBucketRetentionRulesDuration): any;
export declare function dataOciObjectstorageBucketRetentionRulesDurationToHclTerraform(struct?: DataOciObjectstorageBucketRetentionRulesDuration): any;
export declare class DataOciObjectstorageBucketRetentionRulesDurationOutputReference 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(): DataOciObjectstorageBucketRetentionRulesDuration | undefined;
set internalValue(value: DataOciObjectstorageBucketRetentionRulesDuration | undefined);
get timeAmount(): string;
get timeUnit(): string;
}
export declare class DataOciObjectstorageBucketRetentionRulesDurationList 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): DataOciObjectstorageBucketRetentionRulesDurationOutputReference;
}
export interface DataOciObjectstorageBucketRetentionRules {
}
export declare function dataOciObjectstorageBucketRetentionRulesToTerraform(struct?: DataOciObjectstorageBucketRetentionRules): any;
export declare function dataOciObjectstorageBucketRetentionRulesToHclTerraform(struct?: DataOciObjectstorageBucketRetentionRules): any;
export declare class DataOciObjectstorageBucketRetentionRulesOutputReference 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(): DataOciObjectstorageBucketRetentionRules | undefined;
set internalValue(value: DataOciObjectstorageBucketRetentionRules | undefined);
get displayName(): string;
private _duration;
get duration(): DataOciObjectstorageBucketRetentionRulesDurationList;
get retentionRuleId(): string;
get timeCreated(): string;
get timeModified(): string;
get timeRuleLocked(): string;
}
export declare class DataOciObjectstorageBucketRetentionRulesList 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): DataOciObjectstorageBucketRetentionRulesOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/objectstorage_bucket oci_objectstorage_bucket}
*/
export declare class DataOciObjectstorageBucket extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_objectstorage_bucket";
/**
* Generates CDKTF code for importing a DataOciObjectstorageBucket 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 DataOciObjectstorageBucket to import
* @param importFromId The id of the existing DataOciObjectstorageBucket that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/objectstorage_bucket#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciObjectstorageBucket 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/objectstorage_bucket oci_objectstorage_bucket} 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 DataOciObjectstorageBucketConfig
*/
constructor(scope: Construct, id: string, config: DataOciObjectstorageBucketConfig);
get accessType(): string;
get approximateCount(): string;
get approximateSize(): string;
get autoTiering(): string;
get bucketId(): string;
get compartmentId(): string;
get createdBy(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get etag(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isReadOnly(): cdktf.IResolvable;
get kmsKeyId(): string;
private _metadata;
get metadata(): cdktf.StringMap;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _namespace?;
get namespace(): string;
set namespace(value: string);
get namespaceInput(): string | undefined;
get objectEventsEnabled(): cdktf.IResolvable;
get objectLifecyclePolicyEtag(): string;
get replicationEnabled(): cdktf.IResolvable;
private _retentionRules;
get retentionRules(): DataOciObjectstorageBucketRetentionRulesList;
get storageTier(): string;
get timeCreated(): string;
get versioning(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}