ALIYUN::AppFlow::UserAuthConfig

ALIYUN::AppFlow::UserAuthConfig类型用于创建用户凭据管理。

语法

{
  "Type": "ALIYUN::AppFlow::UserAuthConfig",
  "Properties": {
    "AuthConfig": Map,
    "AuthConfigName": String,
    "ConnectorId": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

AuthConfig

Map

凭证配置。

AuthConfigName

String

凭证名称。

ConnectorId

String

连接器ID。

返回值

Fn::GetAtt

  • AuthConfig:凭证配置。

  • AuthConfigId:凭证ID。

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  AuthConfig:
    Type: Json
    Description:
      en: AuthConfig
    Required: true
  AuthConfigName:
    Type: String
    Description:
      en: The name of the config.
    Required: true
  ConnectorId:
    Type: String
    Description:
      en: The id of connector.
    Required: true
Resources:
  UserAuthConfig:
    Type: ALIYUN::AppFlow::UserAuthConfig
    Properties:
      AuthConfig:
        Ref: AuthConfig
      AuthConfigName:
        Ref: AuthConfigName
      ConnectorId:
        Ref: ConnectorId
Outputs:
  AuthConfig:
    Description: AuthConfig
    Value:
      Fn::GetAtt:
        - UserAuthConfig
        - AuthConfig
  AuthConfigId:
    Description: The id of the config.
    Value:
      Fn::GetAtt:
        - UserAuthConfig
        - AuthConfigId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "AuthConfig": {
      "Type": "Json",
      "Description": {
        "en": "AuthConfig"
      },
      "Required": true
    },
    "AuthConfigName": {
      "Type": "String",
      "Description": {
        "en": "The name of the config."
      },
      "Required": true
    },
    "ConnectorId": {
      "Type": "String",
      "Description": {
        "en": "The id of connector."
      },
      "Required": true
    }
  },
  "Resources": {
    "UserAuthConfig": {
      "Type": "ALIYUN::AppFlow::UserAuthConfig",
      "Properties": {
        "AuthConfig": {
          "Ref": "AuthConfig"
        },
        "AuthConfigName": {
          "Ref": "AuthConfigName"
        },
        "ConnectorId": {
          "Ref": "ConnectorId"
        }
      }
    }
  },
  "Outputs": {
    "AuthConfig": {
      "Description": "AuthConfig",
      "Value": {
        "Fn::GetAtt": [
          "UserAuthConfig",
          "AuthConfig"
        ]
      }
    },
    "AuthConfigId": {
      "Description": "The id of the config.",
      "Value": {
        "Fn::GetAtt": [
          "UserAuthConfig",
          "AuthConfigId"
        ]
      }
    }
  }
}