All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::FC3::FunctionVersion

Last Updated:Jul 05, 2026

The ALIYUN::FC3::FunctionVersion resource type publishes a function version.

Syntax

{
  "Type": "ALIYUN::FC3::FunctionVersion",
  "Properties": {
    "FunctionName": String,
    "Description": String
  }
}

Properties

Parameter

Type

Required

Editable

Description

Constraints

FunctionName

String

Yes

No

The function name.

None

Description

String

No

No

The description of the function version.

None

Return values

Fn::GetAtt

  • FunctionName: The function name.

  • Description: The description of the function version.

  • CreateTime: The creation time of the resource.

  • LastModifiedTime: The last modified time.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  FunctionName:
    Type: String
    Description:
      en: Function Name.
    Required: true
  Description:
    Type: String
    AssociationProperty: TextArea
    Description:
      en: Description of the function version.
    Required: false
Resources:
  ExtensionResource:
    Type: ALIYUN::FC3::FunctionVersion
    Properties:
      FunctionName:
        Ref: FunctionName
      Description:
        Ref: Description
Outputs:
  FunctionName:
    Description: Function Name.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - FunctionName
  Description:
    Description: Description of the function version.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  CreateTime:
    Description: The creation time of the resource.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreateTime
  LastModifiedTime:
    Description: The last modified time.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - LastModifiedTime
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "FunctionName": {
      "Type": "String",
      "Description": {
        "en": "Function Name."
      },
      "Required": true
    },
    "Description": {
      "Type": "String",
      "AssociationProperty": "TextArea",
      "Description": {
        "en": "Description of the function version."
      },
      "Required": false
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::FC3::FunctionVersion",
      "Properties": {
        "FunctionName": {
          "Ref": "FunctionName"
        },
        "Description": {
          "Ref": "Description"
        }
      }
    }
  },
  "Outputs": {
    "FunctionName": {
      "Description": "Function Name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "FunctionName"
        ]
      }
    },
    "Description": {
      "Description": "Description of the function version.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "CreateTime": {
      "Description": "The creation time of the resource.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      }
    },
    "LastModifiedTime": {
      "Description": "The last modified time.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "LastModifiedTime"
        ]
      }
    }
  }
}