{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-update-resource-configuration-response-schema.json",
  "title": "UpdateResourceConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-vpc-lattice-updateresourceconfiguration-api-openapi.yml#/components/schemas/UpdateResourceConfigurationResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the resource configuration."
    },
    "name": {
      "type": "string",
      "description": "The name of the resource configuration."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the resource configuration."
    },
    "resourceGatewayId": {
      "type": "string",
      "description": "The ID of the resource gateway associated with the resource configuration."
    },
    "resourceConfigurationGroupId": {
      "type": "string",
      "description": "The ID of the group resource configuration."
    },
    "type": {
      "type": "string",
      "enum": [
        "GROUP",
        "CHILD",
        "SINGLE",
        "ARN",
        "CIDR"
      ],
      "description": "The type of resource configuration. SINGLE - A single resource. GROUP - A group of resources. CHILD - A single resource that is part of a group resource configuration. ARN - An Amazon Web Services resource. CIDR - A network segment (a range of IP addresses) accessed through a Tunnel VPC endpoint."
    },
    "portRanges": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30"
    },
    "allowAssociationToShareableServiceNetwork": {
      "type": "boolean",
      "description": "Indicates whether to add the resource configuration to service networks that are shared with other accounts."
    },
    "protocol": {
      "type": "string",
      "enum": [
        "TCP",
        "TCP_UDP"
      ],
      "description": "The TCP protocol accepted by the specified resource configuration."
    },
    "status": {
      "type": "string",
      "description": "The status of the resource configuration."
    },
    "resourceConfigurationDefinition": {
      "$ref": "#/$defs/ResourceConfigurationDefinition"
    }
  },
  "$defs": {
    "ArnResource": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource."
        }
      }
    },
    "CidrResource": {
      "type": "object",
      "properties": {
        "cidrRanges": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The CIDR ranges of the network segment, for example, 10.0.0.0/16."
        }
      }
    },
    "DnsResource": {
      "type": "object",
      "properties": {
        "domainName": {
          "type": "string",
          "description": "The domain name of the resource."
        },
        "ipAddressType": {
          "type": "string",
          "description": "The type of IP address. Dualstack is currently not supported."
        }
      }
    },
    "IpResource": {
      "type": "object",
      "properties": {
        "ipAddress": {
          "type": "string",
          "description": "The IP address of the IP resource."
        }
      }
    },
    "ResourceConfigurationDefinition": {
      "type": "object",
      "properties": {
        "dnsResource": {
          "$ref": "#/$defs/DnsResource"
        },
        "ipResource": {
          "$ref": "#/$defs/IpResource"
        },
        "arnResource": {
          "$ref": "#/$defs/ArnResource"
        },
        "cidrResource": {
          "$ref": "#/$defs/CidrResource"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}