Consulta as informações de um nome de domínio.
Sintaxe
{
"Type": "DATASOURCE::APIG::Domain",
"Properties": {
"DomainId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Atualização permitida |
Descrição |
Restrição |
|
DomainId |
String |
Sim |
Sim |
ID do nome de domínio. |
Nenhuma |
|
RefreshOptions |
String |
Não |
Sim |
Modo de atualização dos recursos da fonte de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
DomainId: ID do nome de domínio.
TlsCipherSuitesConfig: configuração do conjunto de cifras TLS.
ResourceGroupId: ID do grupo de recursos.
DomainName: nome de domínio.
ForceHttps: indica se o redirecionamento forçado para HTTPS está ativado.
TlsMax: versão máxima do TLS. Suporta até TLS 1.3.
CertIdentifier: ID do certificado.
TlsMin: versão mínima do TLS. Requer TLS 1.0 ou superior.
Http2Option: configurações de HTTP/2.
Protocol: protocolos compatíveis com o domínio.
Exemplo
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
DomainId:
Type: String
Description:
en: The ID of the domain.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::APIG::Domain
Properties:
DomainId:
Ref: DomainId
Outputs:
DomainId:
Description: The ID of the domain.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DomainId
TlsCipherSuitesConfig:
Description: The TLS cipher suite configurations.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TlsCipherSuitesConfig
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
DomainName:
Description: The domain name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DomainName
ForceHttps:
Description: Set the HTTPS protocol type and whether to enable forced HTTPS redirection.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ForceHttps
TlsMax:
Description: The maximum version of the TLS protocol. The maximum version of the TLS protocol is 1.3.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TlsMax
CertIdentifier:
Description: The certificate ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CertIdentifier
TlsMin:
Description: The minimum version of the TLS protocol. The minimum version of the TLS protocol is 1.0.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TlsMin
Http2Option:
Description: The HTTP/2 configuration.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Http2Option
Protocol:
Description: The supported protocol.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Protocol
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"DomainId": {
"Type": "String",
"Description": {
"en": "The ID of the domain."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::APIG::Domain",
"Properties": {
"DomainId": {
"Ref": "DomainId"
}
}
}
},
"Outputs": {
"DomainId": {
"Description": "The ID of the domain.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DomainId"
]
}
},
"TlsCipherSuitesConfig": {
"Description": "The TLS cipher suite configurations.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TlsCipherSuitesConfig"
]
}
},
"ResourceGroupId": {
"Description": "The ID of the resource group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"DomainName": {
"Description": "The domain name.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DomainName"
]
}
},
"ForceHttps": {
"Description": "Set the HTTPS protocol type and whether to enable forced HTTPS redirection.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ForceHttps"
]
}
},
"TlsMax": {
"Description": "The maximum version of the TLS protocol. The maximum version of the TLS protocol is 1.3.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TlsMax"
]
}
},
"CertIdentifier": {
"Description": "The certificate ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CertIdentifier"
]
}
},
"TlsMin": {
"Description": "The minimum version of the TLS protocol. The minimum version of the TLS protocol is 1.0.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TlsMin"
]
}
},
"Http2Option": {
"Description": "The HTTP/2 configuration.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Http2Option"
]
}
},
"Protocol": {
"Description": "The supported protocol.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Protocol"
]
}
}
}
}