UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

151 lines (150 loc) 8.2 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ObjectstorageReplicationPolicyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#bucket ObjectstorageReplicationPolicy#bucket} */ readonly bucket: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#delete_object_in_destination_bucket ObjectstorageReplicationPolicy#delete_object_in_destination_bucket} */ readonly deleteObjectInDestinationBucket?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#destination_bucket_name ObjectstorageReplicationPolicy#destination_bucket_name} */ readonly destinationBucketName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#destination_region_name ObjectstorageReplicationPolicy#destination_region_name} */ readonly destinationRegionName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#id ObjectstorageReplicationPolicy#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_replication_policy#name ObjectstorageReplicationPolicy#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#namespace ObjectstorageReplicationPolicy#namespace} */ readonly namespace: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#timeouts ObjectstorageReplicationPolicy#timeouts} */ readonly timeouts?: ObjectstorageReplicationPolicyTimeouts; } export interface ObjectstorageReplicationPolicyTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#create ObjectstorageReplicationPolicy#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#delete ObjectstorageReplicationPolicy#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#update ObjectstorageReplicationPolicy#update} */ readonly update?: string; } export declare function objectstorageReplicationPolicyTimeoutsToTerraform(struct?: ObjectstorageReplicationPolicyTimeouts | cdktf.IResolvable): any; export declare function objectstorageReplicationPolicyTimeoutsToHclTerraform(struct?: ObjectstorageReplicationPolicyTimeouts | cdktf.IResolvable): any; export declare class ObjectstorageReplicationPolicyTimeoutsOutputReference 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(): ObjectstorageReplicationPolicyTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ObjectstorageReplicationPolicyTimeouts | 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_replication_policy oci_objectstorage_replication_policy} */ export declare class ObjectstorageReplicationPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "oci_objectstorage_replication_policy"; /** * Generates CDKTF code for importing a ObjectstorageReplicationPolicy 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 ObjectstorageReplicationPolicy to import * @param importFromId The id of the existing ObjectstorageReplicationPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/objectstorage_replication_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ObjectstorageReplicationPolicy 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_replication_policy oci_objectstorage_replication_policy} 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 ObjectstorageReplicationPolicyConfig */ constructor(scope: Construct, id: string, config: ObjectstorageReplicationPolicyConfig); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _deleteObjectInDestinationBucket?; get deleteObjectInDestinationBucket(): string; set deleteObjectInDestinationBucket(value: string); resetDeleteObjectInDestinationBucket(): void; get deleteObjectInDestinationBucketInput(): string | undefined; private _destinationBucketName?; get destinationBucketName(): string; set destinationBucketName(value: string); get destinationBucketNameInput(): string | undefined; private _destinationRegionName?; get destinationRegionName(): string; set destinationRegionName(value: string); get destinationRegionNameInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; 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 status(): string; get statusMessage(): string; get timeCreated(): string; get timeLastSync(): string; private _timeouts; get timeouts(): ObjectstorageReplicationPolicyTimeoutsOutputReference; putTimeouts(value: ObjectstorageReplicationPolicyTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | ObjectstorageReplicationPolicyTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }