All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::GPDB::ExternalDataService

Last Updated:Jul 05, 2026

The ALIYUN::GPDB::ExternalDataService resource creates an ExternalDataService.

Syntax

{
  "Type": "ALIYUN::GPDB::ExternalDataService",
  "Properties": {
    "DBInstanceId": String,
    "ServiceName": String,
    "ServiceSpec": Integer,
    "ServiceDescription": String
  }
}

Properties

Parameter

Type

Required

Update allowed

Description

Constraints

DBInstanceId

String

Yes

No

The ID of the instance.

None

ServiceName

String

Yes

No

The name of the service.

None

ServiceSpec

Integer

Yes

Yes

The specification of the service.

None

ServiceDescription

String

No

Yes

The description of the service.

None

Return values

Fn::GetAtt

  • ModifyTime: The time when the service was last modified.

  • ServiceName: The name of the service.

  • ServiceDescription: The description of the service.

  • CreateTime: The creation time of the resource.

  • ServiceSpec: The specification of the service.

  • ServiceId: The ID of the service.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ServiceName:
    Type: String
    Description: The name of the service.
    Required: true
  DBInstanceId:
    Type: String
    Description: The ID of the instance.
    Required: true
  ServiceDescription:
    Type: String
    Description: The description of the service.
    Required: false
  ServiceSpec:
    Type: Number
    Description: The specification of the service.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::GPDB::ExternalDataService
    Properties:
      ServiceName:
        Ref: ServiceName
      DBInstanceId:
        Ref: DBInstanceId
      ServiceDescription:
        Ref: ServiceDescription
      ServiceSpec:
        Ref: ServiceSpec
Outputs:
  ModifyTime:
    Description: The time when the service was last modified.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ModifyTime
  ServiceName:
    Description: The name of the service.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ServiceName
  ServiceDescription:
    Description: The description of the service.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ServiceDescription
  CreateTime:
    Description: The creation time of the resource.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreateTime
  ServiceSpec:
    Description: The specification of the service.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ServiceSpec
  ServiceId:
    Description: The ID of the service.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ServiceId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ServiceName": {
      "Type": "String",
      "Description": "The name of the service.",
      "Required": true
    },
    "DBInstanceId": {
      "Type": "String",
      "Description": "The ID of the instance.",
      "Required": true
    },
    "ServiceDescription": {
      "Type": "String",
      "Description": "The description of the service.",
      "Required": false
    },
    "ServiceSpec": {
      "Type": "Number",
      "Description": "The specification of the service.",
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::GPDB::ExternalDataService",
      "Properties": {
        "ServiceName": {
          "Ref": "ServiceName"
        },
        "DBInstanceId": {
          "Ref": "DBInstanceId"
        },
        "ServiceDescription": {
          "Ref": "ServiceDescription"
        },
        "ServiceSpec": {
          "Ref": "ServiceSpec"
        }
      }
    }
  },
  "Outputs": {
    "ModifyTime": {
      "Description": "The time when the service was last modified.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ModifyTime"
        ]
      }
    },
    "ServiceName": {
      "Description": "The name of the service.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ServiceName"
        ]
      }
    },
    "ServiceDescription": {
      "Description": "The description of the service.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ServiceDescription"
        ]
      }
    },
    "CreateTime": {
      "Description": "The creation time of the resource.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      }
    },
    "ServiceSpec": {
      "Description": "The specification of the service.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ServiceSpec"
        ]
      }
    },
    "ServiceId": {
      "Description": "The ID of the service.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ServiceId"
        ]
      }
    }
  }
}