Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::VPC::FullNatEntry

Última atualização: Jun 27, 2026

Adiciona uma entrada FULLNAT a uma tabela FULLNAT.

Sintaxe

{
  "Type": "ALIYUN::VPC::FullNatEntry",
  "Properties": {
    "NatIp": String,
    "FullNatEntryDescription": String,
    "AccessIp": String,
    "FullNatTableId": String,
    "FullNatEntryName": String,
    "NatIpPort": String,
    "IpProtocol": String,
    "AccessPort": String,
    "AccessDomain": String,
    "NetworkInterfaceId": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

NatIp

String

Sim

Sim

Endereço IP NAT usado na tradução de endereços.

Nenhuma.

FullNatEntryDescription

String

Não

Sim

Descrição da entrada FULLNAT.

A descrição pode estar vazia ou ter de 2 a 256 caracteres. Não pode começar com http:// ou https://.

AccessIp

String

Sim

Sim

Endereço IP de backend modificado na tradução de endereços FULLNAT.

Nenhuma.

FullNatTableId

String

Sim

Não

ID da tabela FULLNAT à qual a entrada pertence.

Nenhuma.

FullNatEntryName

String

Não

Sim

Nome da entrada FULLNAT.

O nome deve ter de 2 a 128 caracteres. Deve começar com letra maiúscula, minúscula ou caractere chinês e não pode iniciar com http:// ou https://.

NatIpPort

String

Sim

Sim

Porta frontend usada no mapeamento de portas FULLNAT.

Valores válidos: 1 a 65535.

IpProtocol

String

Sim

Sim

Protocolo da porta de encaminhamento.

Valores válidos:

  • TCP: encaminha pacotes TCP.

  • UDP: encaminha pacotes UDP.

AccessPort

String

Sim

Sim

Porta backend usada no mapeamento de portas FULLNAT.

Valores válidos: 1 a 65535.

NetworkInterfaceId

String

Sim

Sim

ID da interface de rede elástica (ENI).

Nenhuma.

AccessDomain

String

Não

Não

Domínio de backend usado como destino na tradução de endereços.

Nenhuma

Valores de retorno

Fn::GetAtt

FullNatEntryId: o ID da entrada FULLNAT.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  AccessIp:
    Description:
      en: The backend IP address that is the destination for address translation.
    Required: true
    Type: String
  AccessPort:
    Description:
      en: 'The backend port for port mapping. Valid values: 1 to 65535.'
    Required: true
    Type: String
  FullNatEntryDescription:
    Description:
      en: 'The description of the FULLNAT entry. This parameter is optional. If you
        specify a description, it must be 2 to 256 characters long and cannot
        start with http:// or https://.'
    Required: false
    Type: String
  FullNatEntryName:
    Description:
      en: The name of the FULLNAT entry. The name must be 2 to 128 characters long,
        start with a letter, and not begin with http:// or https://.
    Required: false
    Type: String
  FullNatTableId:
    Description:
      en: The ID of the FULLNAT table to which the FULLNAT entry belongs.
    Required: true
    Type: String
  IpProtocol:
    AllowedValues:
    - TCP
    - UDP
    Description:
      en: 'The protocol for the forwarded packets. Valid values:

        TCP

        UDP'
    Required: true
    Type: String
  NatIp:
    Description:
      en: The NAT IP address for address translation.
    Required: true
    Type: String
  NatIpPort:
    Description:
      en: 'The frontend port for port mapping. Valid values: 1 to 65535.'
    Required: true
    Type: String
  NetworkInterfaceId:
    Description:
      en: The ID of the elastic network interface (ENI).
    Required: true
    Type: String
Resources:
  FullNatEntry:
    Properties:
      AccessIp:
        Ref: AccessIp
      AccessPort:
        Ref: AccessPort
      FullNatEntryDescription:
        Ref: FullNatEntryDescription
      FullNatEntryName:
        Ref: FullNatEntryName
      FullNatTableId:
        Ref: FullNatTableId
      IpProtocol:
        Ref: IpProtocol
      NatIp:
        Ref: NatIp
      NatIpPort:
        Ref: NatIpPort
      NetworkInterfaceId:
        Ref: NetworkInterfaceId
    Type: ALIYUN::VPC::FullNatEntry
Outputs:
  FullNatEntryId:
    Description: The ID of the FULLNAT entry.
    Value:
      Fn::GetAtt:
      - FullNatEntry
      - FullNatEntryId
                        
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "NatIp": {
      "Type": "String",
      "Description": {
        "en": "The NAT IP address for address translation."
      },
      "Required": true
    },
    "FullNatEntryDescription": {
      "Type": "String",
      "Description": {
        "en": "The description of the FULLNAT entry. This parameter is optional. If you specify a description, it must be 2 to 256 characters long and cannot start with http:// or https://."
      },
      "Required": false
    },
    "AccessIp": {
      "Type": "String",
      "Description": {
        "en": "The backend IP address that is the destination for address translation."
      },
      "Required": true
    },
    "FullNatTableId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the FULLNAT table to which the FULLNAT entry belongs."
      },
      "Required": true
    },
    "FullNatEntryName": {
      "Type": "String",
      "Description": {
        "en": "The name of the FULLNAT entry. The name must be 2 to 128 characters long, start with a letter, and not begin with http:// or https://."
      },
      "Required": false
    },
    "IpProtocol": {
      "Type": "String",
      "Description": {
        "en": "The protocol for the forwarded packets. Valid values:\nTCP\nUDP"
      },
      "AllowedValues": [
        "TCP",
        "UDP"
      ],
      "Required": true
    },
    "NatIpPort": {
      "Type": "String",
      "Description": {
        "en": "The frontend port for port mapping. Valid values: 1 to 65535."
      },
      "Required": true
    },
    "AccessPort": {
      "Type": "String",
      "Description": {
        "en": "The backend port for port mapping. Valid values: 1 to 65535."
      },
      "Required": true
    },
    "NetworkInterfaceId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the elastic network interface (ENI)."
      },
      "Required": true
    }
  },
  "Resources": {
    "FullNatEntry": {
      "Type": "ALIYUN::VPC::FullNatEntry",
      "Properties": {
        "NatIp": {
          "Ref": "NatIp"
        },
        "FullNatEntryDescription": {
          "Ref": "FullNatEntryDescription"
        },
        "AccessIp": {
          "Ref": "AccessIp"
        },
        "FullNatTableId": {
          "Ref": "FullNatTableId"
        },
        "FullNatEntryName": {
          "Ref": "FullNatEntryName"
        },
        "IpProtocol": {
          "Ref": "IpProtocol"
        },
        "NatIpPort": {
          "Ref": "NatIpPort"
        },
        "AccessPort": {
          "Ref": "AccessPort"
        },
        "NetworkInterfaceId": {
          "Ref": "NetworkInterfaceId"
        }
      }
    }
  },
  "Outputs": {
    "FullNatEntryId": {
      "Description": "The ID of the FULLNAT entry.",
      "Value": {
        "Fn::GetAtt": [
          "FullNatEntry",
          "FullNatEntryId"
        ]
      }
    }
  }
}