Cria uma configuração de credenciais de usuário para conectores do AppFlow.
Sintaxe
{
"Type": "ALIYUN::AppFlow::UserAuthConfig",
"Properties": {
"AuthConfig": Map,
"AuthConfigName": String,
"ConnectorId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
AuthConfig |
Map |
Sim |
Sim |
A configuração de credenciais. |
Nenhuma. |
|
AuthConfigName |
String |
Sim |
Sim |
O nome da configuração de credenciais. |
Nenhuma. |
|
ConnectorId |
String |
Sim |
Não |
O ID do conector. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
AuthConfig: a configuração de credenciais.
AuthConfigId: o ID da configuração de credenciais.
Exemplos
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"
]
}
}
}
}