DATASOURCE::CDN::Domain は、高速化ドメイン名に関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::CDN::Domain",
"Properties": {
"DomainName": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
DomainName | String | はい | はい | 高速化ドメイン名。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックの更新時にデータソースリソースをリフレッシュするポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
ResourceGroupId: リソースグループの ID。
Scope: アクセラレーションリージョン。
DomainName: 高速化ドメイン名。
CertificateConfig: 証明書の構成。
CdnType: 高速化ドメイン名のワークロードタイプ。
Sources: オリジンサーバー。
Cname: CNAME ドメイン名 (CNAME)。
Tags: ドメイン名に追加されたタグ。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
DomainName:
Type: String
Description:
en: The accelerated domain name.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::CDN::Domain
Properties:
DomainName:
Ref: DomainName
Outputs:
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
Scope:
Description: The acceleration region.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Scope
DomainName:
Description: The accelerated domain name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DomainName
CertificateConfig:
Description: Certificate configuration.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CertificateConfig
CdnType:
Description: The workload type of the accelerated domain name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CdnType
Sources:
Description: The information about the origin server.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Sources
Cname:
Description: The CNAME that is assigned to the accelerated domain name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Cname
Tags:
Description: The tags of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"DomainName": {
"Type": "String",
"Description": {
"en": "The accelerated domain name."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CDN::Domain",
"Properties": {
"DomainName": {
"Ref": "DomainName"
}
}
}
},
"Outputs": {
"ResourceGroupId": {
"Description": "リソースグループの ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"Scope": {
"Description": "アクセラレーションリージョン。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Scope"
]
}
},
"DomainName": {
"Description": "高速化ドメイン名。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DomainName"
]
}
},
"CertificateConfig": {
"Description": "証明書の構成。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CertificateConfig"
]
}
},
"CdnType": {
"Description": "高速化ドメイン名のワークロードタイプ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CdnType"
]
}
},
"Sources": {
"Description": "オリジンサーバーの情報。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Sources"
]
}
},
"Cname": {
"Description": "高速化ドメイン名に割り当てられた CNAME。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Cname"
]
}
},
"Tags": {
"Description": "リソースのタグ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
}
}
}