日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ACS-CDN-SetDomainServerCertificate

模板名稱(chēng)

ACS-CDN-SetDomainServerCertificate 啟用指定域名下證書(shū)功能

立即執(zhí)行

模板描述

啟用指定域名下證書(shū)功能

模板類(lèi)型

自動(dòng)化

所有者

Alibaba Cloud

輸入?yún)?shù)

參數(shù)名稱(chēng)

描述

類(lèi)型

是否必填

默認(rèn)值

約束

domainName

域名

String

certType

證書(shū)類(lèi)型

String

certName

證書(shū)名稱(chēng)

String

regionId

地域ID

String

{{ ACS::RegionId }}

serverCertificateStatus

HTTPS證書(shū)是否啟用

String

on

serverCertificate

安全證書(shū)內(nèi)容

String

""

privateKey

私鑰內(nèi)容

String

""

forceSet

是否覆蓋原有同名證書(shū)信息

String

1

OOSAssumeRole

OOS扮演的RAM角色

String

""

輸出參數(shù)

無(wú)

執(zhí)行此模板需要的權(quán)限策略

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "cdn:DescribeCdnDomainDetail",
                "cdn:SetDomainServerCertificate"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

詳情

ACS-CDN-SetDomainServerCertificate詳情

模板內(nèi)容

FormatVersion: OOS-2019-06-01
Description:
  en: Set domain server certificate
  zh-cn: 啟用指定域名下證書(shū)功能
  name-en: ACS-CDN-SetDomainServerCertificate
  name-zh-cn: 啟用指定域名下證書(shū)功能
  categories:
    - security
Parameters:
  regionId:
    Label:
      en: RegionId
      zh-cn: 地域ID
    AssociationProperty: RegionId
    Type: String
    Default: '{{ ACS::RegionId }}'
  domainName:
    Label:
      en: DomainName
      zh-cn: 域名
    Type: String
  serverCertificateStatus:
    Label:
      en: ServerCertificateStatus
      zh-cn: HTTPS證書(shū)是否啟用
    Type: String
    AllowedValues:
      - 'on'
      - 'off'
    Default: 'on'
  certType:
    Description:
      en: When the certificate type is cas, PrivateKey does not need to pass parameters
      zh-cn: 當(dāng)證書(shū)類(lèi)型為cas時(shí),PrivateKey無(wú)需傳參
    Label:
      en: CertType
      zh-cn: 證書(shū)類(lèi)型
    Type: String
    AllowedValues:
      - cas
      - free
      - upload
  certName:
    Label:
      en: CertName
      zh-cn: 證書(shū)名稱(chēng)
    Type: String
  serverCertificate:
    Description:
      en: Specify the content of the certificate only if you enable the SSL certificate
      zh-cn: 不啟用證書(shū)則無(wú)需輸入,配置證書(shū)請(qǐng)輸入證書(shū)內(nèi)容
    Label:
      en: ServerCertificate
      zh-cn: 安全證書(shū)內(nèi)容
    Type: String
    Default: ''
  privateKey:
    Description:
      en: Specify the private key only if you enable the SSL certificate
      zh-cn: 不啟用證書(shū)則無(wú)需輸入,配置證書(shū)請(qǐng)輸入私鑰內(nèi)容
    Label:
      en: PrivateKey
      zh-cn: 私鑰內(nèi)容
    Type: String
    Default: ''
  forceSet:
    Description:
      en: If you set the value to 1, the system does not check the certificate name for duplicates and overwrites the information of the existing certificate with the same name
      zh-cn: 設(shè)置為1時(shí),忽略證書(shū)名稱(chēng)重復(fù)的校驗(yàn),覆蓋原有同名證書(shū)信息
    Label:
      en: ForceSet
      zh-cn: 是否覆蓋原有同名證書(shū)信息
    Type: String
    Default: 1
  OOSAssumeRole:
    Label:
      en: OOSAssumeRole
      zh-cn: OOS扮演的RAM角色
    Type: String
    Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
- Name: getDomainDetail
  Action: ACS::ExecuteApi
  Description:
    en: get domain detail.
    zh-cn: 獲取域名詳情。
  Properties:
    Service: CDN
    API: DescribeCdnDomainDetail
    Parameters:
      RegionId: '{{ regionId }}'
      DomainName: '{{ domainName }}'
  Outputs:
    serverCertificateStatus:
      Type: String
      ValueSelector: GetDomainDetailModel.ServerCertificateStatus
- Name: whetherDomainIsReady
  Action: 'ACS::Choice'
  Description:
    en: Choose next task by server eertificate status
    zh-cn: 根據(jù)證書(shū)的狀態(tài)選擇下一個(gè)任務(wù)
  Properties:
    DefaultTask: SetDomainServerCertificate
    Choices:
      - When:
          'Fn::Equals':
            - 'on'
            - '{{ getDomainDetail.serverCertificateStatus }}'
        NextTask: ACS::END
- Name: SetDomainServerCertificate
  Action: ACS::ExecuteApi
  Description:
    en: Set domain server certificate
    zh-cn: 設(shè)置指定域名下證書(shū)功能。
  Properties:
    Service: CDN
    API: SetDomainServerCertificate
    Parameters:
      RegionId: '{{ regionId }}'
      DomainName: '{{ domainName }}'
      ServerCertificateStatus: '{{ serverCertificateStatus }}'
      CertType: '{{ certType }}'
      ServerCertificate: '{{ serverCertificate }}'
      PrivateKey: '{{ privateKey }}'
      ForceSet: '{{ forceSet }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - regionId
          - domainName
          - serverCertificateStatus
          - certType
          - certName
          - serverCertificate
          - privateKey
          - forceSet
        Label:
          default:
            zh-cn: 配置參數(shù)
            en: Configure Parameters
      - Parameters:
          - OOSAssumeRole
        Label:
          default:
            zh-cn: 高級(jí)選項(xiàng)
            en: Control Options