O recurso ALIYUN::MSE::GatewayDomain adiciona um domínio associado a um gateway.
Sintaxe
{
"Type": "ALIYUN::MSE::GatewayDomain",
"Properties": {
"GatewayUniqueId": String,
"Name": String,
"Protocol": String,
"CertIdentifier": String,
"Http2": String,
"MustHttps": Boolean,
"TlsMax": String,
"TlsMin": String,
"TlsCipherSuitesConfigJSON": Map
}
}
Propriedades
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
GatewayUniqueId |
String |
Sim |
Não |
ID exclusivo do gateway. |
Nenhuma |
|
Name |
String |
Sim |
Não |
Nome de domínio. |
Nenhuma |
|
Protocol |
String |
Sim |
Não |
Tipo de protocolo. |
Valores válidos:
|
|
CertIdentifier |
String |
Não |
Não |
ID do certificado. |
Nenhuma |
|
Http2 |
String |
Não |
Não |
Indica se o HTTP/2 está ativado. |
Valores válidos:
|
|
MustHttps |
Boolean |
Não |
Não |
Indica se o HTTPS está ativado. |
Nenhuma |
|
TlsMax |
String |
Não |
Não |
Versão máxima do Transport Layer Security (TLS). |
Nenhuma |
|
TlsMin |
String |
Não |
Não |
Versão mínima do TLS. |
Nenhuma |
|
TlsCipherSuitesConfigJSON |
Map |
Não |
Não |
Configuração do conjunto de cifras TLS. |
Para mais informações, consulte a propriedade TlsCipherSuitesConfigJSON. |
Sintaxe de TlsCipherSuitesConfigJSON
"TlsCipherSuitesConfigJSON": {
"TlsCipherSuites": List,
"ConfigType": String
}
Propriedades de TlsCipherSuitesConfigJSON
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
ConfigType |
String |
Não |
Não |
Tipo de configuração do conjunto de cifras. |
Nenhuma |
|
TlsCipherSuites |
List |
Não |
Não |
Lista de nomes dos conjuntos de cifras. |
Nenhuma |
Valores de retorno
Fn::GetAtt
DomainId: ID do domínio.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GatewayUniqueId:
Type: String
Description:
en: The unique identifier of the gateway.
Required: true
Protocol:
Type: String
Description:
en: 'The protocol type: HTTP, HTTPS.'
AllowedValues:
- HTTP
- HTTPS
Required: true
Name:
Type: String
Description:
en: The domain name.
Required: true
Resources:
GatewayDomain:
Type: ALIYUN::MSE::GatewayDomain
Properties:
GatewayUniqueId:
Ref: GatewayUniqueId
Protocol:
Ref: Protocol
Name:
Ref: Name
Outputs:
DomainId:
Description: The ID of the domain.
Value:
Fn::GetAtt:
- GatewayDomain
- DomainId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GatewayUniqueId": {
"Type": "String",
"Description": {
"en": "The unique identifier of the gateway."
},
"Required": true
},
"Protocol": {
"Type": "String",
"Description": {
"en": "The protocol type: HTTP, HTTPS."
},
"AllowedValues": [
"HTTP",
"HTTPS"
],
"Required": true
},
"Name": {
"Type": "String",
"Description": {
"en": "The domain name."
},
"Required": true
}
},
"Resources": {
"GatewayDomain": {
"Type": "ALIYUN::MSE::GatewayDomain",
"Properties": {
"GatewayUniqueId": {
"Ref": "GatewayUniqueId"
},
"Protocol": {
"Ref": "Protocol"
},
"Name": {
"Ref": "Name"
}
}
}
},
"Outputs": {
"DomainId": {
"Description": "The ID of the domain.",
"Value": {
"Fn::GetAtt": [
"GatewayDomain",
"DomainId"
]
}
}
}
}