import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TcrReplicationConfig extends cdktf.TerraformMetaArguments { /** * Rule description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#description TcrReplication#description} */ readonly description?: string; /** * Region ID of the destination instance. For example, `1` represents Guangzhou. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#destination_region_id TcrReplication#destination_region_id} */ readonly destinationRegionId?: number; /** * Destination instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#destination_registry_id TcrReplication#destination_registry_id} */ readonly destinationRegistryId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#id TcrReplication#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; /** * Source instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#source_registry_id TcrReplication#source_registry_id} */ readonly sourceRegistryId: string; /** * peer_replication_option block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#peer_replication_option TcrReplication#peer_replication_option} */ readonly peerReplicationOption?: TcrReplicationPeerReplicationOption; /** * rule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#rule TcrReplication#rule} */ readonly rule: TcrReplicationRule; } export interface TcrReplicationPeerReplicationOption { /** * Whether to enable cross-account synchronization. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#enable_peer_replication TcrReplication#enable_peer_replication} */ readonly enablePeerReplication: boolean | cdktf.IResolvable; /** * Permanent access Token for the destination instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#peer_registry_token TcrReplication#peer_registry_token} */ readonly peerRegistryToken: string; /** * UIN of the destination instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#peer_registry_uin TcrReplication#peer_registry_uin} */ readonly peerRegistryUin: string; } export declare function tcrReplicationPeerReplicationOptionToTerraform(struct?: TcrReplicationPeerReplicationOptionOutputReference | TcrReplicationPeerReplicationOption): any; export declare function tcrReplicationPeerReplicationOptionToHclTerraform(struct?: TcrReplicationPeerReplicationOptionOutputReference | TcrReplicationPeerReplicationOption): any; export declare class TcrReplicationPeerReplicationOptionOutputReference 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(): TcrReplicationPeerReplicationOption | undefined; set internalValue(value: TcrReplicationPeerReplicationOption | undefined); private _enablePeerReplication?; get enablePeerReplication(): boolean | cdktf.IResolvable; set enablePeerReplication(value: boolean | cdktf.IResolvable); get enablePeerReplicationInput(): any; private _peerRegistryToken?; get peerRegistryToken(): string; set peerRegistryToken(value: string); get peerRegistryTokenInput(): string; private _peerRegistryUin?; get peerRegistryUin(): string; set peerRegistryUin(value: string); get peerRegistryUinInput(): string; } export interface TcrReplicationRuleFilters { /** * Type (`name`, `tag` and `resource`). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#type TcrReplication#type} */ readonly type: string; /** * It is left blank by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#value TcrReplication#value} */ readonly value?: string; } export declare function tcrReplicationRuleFiltersToTerraform(struct?: TcrReplicationRuleFilters | cdktf.IResolvable): any; export declare function tcrReplicationRuleFiltersToHclTerraform(struct?: TcrReplicationRuleFilters | cdktf.IResolvable): any; export declare class TcrReplicationRuleFiltersOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): TcrReplicationRuleFilters | cdktf.IResolvable | undefined; set internalValue(value: TcrReplicationRuleFilters | cdktf.IResolvable | undefined); private _type?; get type(): string; set type(value: string); get typeInput(): string; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string; } export declare class TcrReplicationRuleFiltersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TcrReplicationRuleFilters[] | cdktf.IResolvable; /** * @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): TcrReplicationRuleFiltersOutputReference; } export interface TcrReplicationRule { /** * Whether synchronous deletion event. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#deletion TcrReplication#deletion} */ readonly deletion?: boolean | cdktf.IResolvable; /** * Destination namespace. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#dest_namespace TcrReplication#dest_namespace} */ readonly destNamespace: string; /** * Name of synchronization rule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#name TcrReplication#name} */ readonly name: string; /** * Whether to override. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#override TcrReplication#override} */ readonly override: boolean | cdktf.IResolvable; /** * filters block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#filters TcrReplication#filters} */ readonly filters: TcrReplicationRuleFilters[] | cdktf.IResolvable; } export declare function tcrReplicationRuleToTerraform(struct?: TcrReplicationRuleOutputReference | TcrReplicationRule): any; export declare function tcrReplicationRuleToHclTerraform(struct?: TcrReplicationRuleOutputReference | TcrReplicationRule): any; export declare class TcrReplicationRuleOutputReference 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(): TcrReplicationRule | undefined; set internalValue(value: TcrReplicationRule | undefined); private _deletion?; get deletion(): boolean | cdktf.IResolvable; set deletion(value: boolean | cdktf.IResolvable); resetDeletion(): void; get deletionInput(): any; private _destNamespace?; get destNamespace(): string; set destNamespace(value: string); get destNamespaceInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _override?; get override(): boolean | cdktf.IResolvable; set override(value: boolean | cdktf.IResolvable); get overrideInput(): any; private _filters; get filters(): TcrReplicationRuleFiltersList; putFilters(value: TcrReplicationRuleFilters[] | cdktf.IResolvable): void; get filtersInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication tencentcloud_tcr_replication} */ export declare class TcrReplication extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tcr_replication"; /** * Generates CDKTF code for importing a TcrReplication resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the TcrReplication to import * @param importFromId The id of the existing TcrReplication that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TcrReplication to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_replication tencentcloud_tcr_replication} 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 TcrReplicationConfig */ constructor(scope: Construct, id: string, config: TcrReplicationConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _destinationRegionId?; get destinationRegionId(): number; set destinationRegionId(value: number); resetDestinationRegionId(): void; get destinationRegionIdInput(): number; private _destinationRegistryId?; get destinationRegistryId(): string; set destinationRegistryId(value: string); get destinationRegistryIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _sourceRegistryId?; get sourceRegistryId(): string; set sourceRegistryId(value: string); get sourceRegistryIdInput(): string; private _peerReplicationOption; get peerReplicationOption(): TcrReplicationPeerReplicationOptionOutputReference; putPeerReplicationOption(value: TcrReplicationPeerReplicationOption): void; resetPeerReplicationOption(): void; get peerReplicationOptionInput(): TcrReplicationPeerReplicationOption; private _rule; get rule(): TcrReplicationRuleOutputReference; putRule(value: TcrReplicationRule): void; get ruleInput(): TcrReplicationRule; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }