import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VpcPrivateNatGatewayTranslationNatRuleConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#id VpcPrivateNatGatewayTranslationNatRule#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; /** * Private NAT gateway unique ID, such as: `intranat-xxxxxxxx`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#nat_gateway_id VpcPrivateNatGatewayTranslationNatRule#nat_gateway_id} */ readonly natGatewayId: string; /** * translation_nat_rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#translation_nat_rules VpcPrivateNatGatewayTranslationNatRule#translation_nat_rules} */ readonly translationNatRules: VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules[] | cdktf.IResolvable; } export interface VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules { /** * Translation rule description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#description VpcPrivateNatGatewayTranslationNatRule#description} */ readonly description: string; /** * Source IP, valid when translation rule type is network layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#original_ip VpcPrivateNatGatewayTranslationNatRule#original_ip} */ readonly originalIp?: string; /** * Translation rule target, optional values "LOCAL","PEER". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#translation_direction VpcPrivateNatGatewayTranslationNatRule#translation_direction} */ readonly translationDirection: string; /** * Translation IP, when translation rule type is transport layer, it is an IP pool. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#translation_ip VpcPrivateNatGatewayTranslationNatRule#translation_ip} */ readonly translationIp: string; /** * Translation rule type, optional values "NETWORK_LAYER","TRANSPORT_LAYER". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#translation_type VpcPrivateNatGatewayTranslationNatRule#translation_type} */ readonly translationType: string; } export declare function vpcPrivateNatGatewayTranslationNatRuleTranslationNatRulesToTerraform(struct?: VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules | cdktf.IResolvable): any; export declare function vpcPrivateNatGatewayTranslationNatRuleTranslationNatRulesToHclTerraform(struct?: VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules | cdktf.IResolvable): any; export declare class VpcPrivateNatGatewayTranslationNatRuleTranslationNatRulesOutputReference 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(): VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules | cdktf.IResolvable | undefined; set internalValue(value: VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules | cdktf.IResolvable | undefined); private _description?; get description(): string; set description(value: string); get descriptionInput(): string; private _originalIp?; get originalIp(): string; set originalIp(value: string); resetOriginalIp(): void; get originalIpInput(): string; private _translationDirection?; get translationDirection(): string; set translationDirection(value: string); get translationDirectionInput(): string; private _translationIp?; get translationIp(): string; set translationIp(value: string); get translationIpInput(): string; private _translationType?; get translationType(): string; set translationType(value: string); get translationTypeInput(): string; } export declare class VpcPrivateNatGatewayTranslationNatRuleTranslationNatRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules[] | 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): VpcPrivateNatGatewayTranslationNatRuleTranslationNatRulesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule tencentcloud_vpc_private_nat_gateway_translation_nat_rule} */ export declare class VpcPrivateNatGatewayTranslationNatRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vpc_private_nat_gateway_translation_nat_rule"; /** * Generates CDKTF code for importing a VpcPrivateNatGatewayTranslationNatRule 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 VpcPrivateNatGatewayTranslationNatRule to import * @param importFromId The id of the existing VpcPrivateNatGatewayTranslationNatRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vpc_private_nat_gateway_translation_nat_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VpcPrivateNatGatewayTranslationNatRule 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/vpc_private_nat_gateway_translation_nat_rule tencentcloud_vpc_private_nat_gateway_translation_nat_rule} 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 VpcPrivateNatGatewayTranslationNatRuleConfig */ constructor(scope: Construct, id: string, config: VpcPrivateNatGatewayTranslationNatRuleConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _natGatewayId?; get natGatewayId(): string; set natGatewayId(value: string); get natGatewayIdInput(): string; private _translationNatRules; get translationNatRules(): VpcPrivateNatGatewayTranslationNatRuleTranslationNatRulesList; putTranslationNatRules(value: VpcPrivateNatGatewayTranslationNatRuleTranslationNatRules[] | cdktf.IResolvable): void; get translationNatRulesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }