すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::ROCKETMQ::Instance

最終更新日:Apr 24, 2025

ALIYUN::ROCKETMQ::Instance は、Standard Edition インスタンスを作成するために使用されます。

構文

{
  "Type": "ALIYUN::ROCKETMQ::Instance",
  "Properties": {
    "Remark": String, // 説明
    "InstanceName": String, // インスタンス名
    "Tags": List, // タグ
    "DeletionForce": Boolean // インスタンスを強制的に削除するかどうか
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Remark

String

いいえ

はい

説明。

説明は最大 128 文字です。

InstanceName

String

はい

はい

インスタンス名。

名前は 3 ~ 64 文字で、文字、数字、ハイフン(-)、およびアンダースコア(_)を含めることができます。

Tags

List

いいえ

はい

タグ。

最大 20 個のタグを追加できます。

詳細については、「タグのプロパティ」をご参照ください。

DeletionForce

Boolean

いいえ

はい

インスタンスを強制的に削除するかどうかを指定します。

なし。

タグの構文

"Tags": [
  {
    "Key": String, // タグキー
    "Value": String // タグ値
  }
]  

タグのプロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Key

String

はい

いいえ

タグキー。

タグキーは 1 ~ 128 文字で、http:// または https:// を含めることはできません。aliyun または acs: で始めることはできません。

Value

String

いいえ

いいえ

タグ値。

タグ値は最大 128 文字で、http:// または https:// を含めることはできません。aliyun または acs: で始めることはできません。

戻り値

Fn::GetAtt

  • InstanceId: インスタンス ID。

  • InstanceType: インスタンスのエディション。値 1 は Standard Edition を示します。

  • HttpInternetEndpoint: パブリック HTTP エンドポイント。

  • HttpInternetSecureEndpoint: パブリック HTTPS エンドポイント。

  • TcpEndpoint: TCP エンドポイント。

  • HttpInternalEndpoint: プライベート HTTP エンドポイント。

  • InstanceName: インスタンス名。

  • Arn: Alibaba Cloud リソースネーム (ARN)。

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  Instance:
    Type: ALIYUN::ROCKETMQ::Instance
    Properties:
      InstanceName: TestRocketMQ
Outputs:
  InstanceName:
    Description: インスタンス名
    Value:
      Fn::GetAtt:
        - Instance
        - InstanceName
  HttpInternalEndpoint:
    Description: Message Queue for Apache RocketMQ インスタンスの内部 HTTP エンドポイント。
    Value:
      Fn::GetAtt:
        - Instance
        - HttpInternalEndpoint
  InstanceId:
    Description: 作成されたインスタンス ID
    Value:
      Fn::GetAtt:
        - Instance
        - InstanceId
  TcpEndpoint:
    Description: Message Queue for Apache RocketMQ インスタンスの TCP エンドポイント。
    Value:
      Fn::GetAtt:
        - Instance
        - TcpEndpoint
  HttpInternetEndpoint:
    Description: Message Queue for Apache RocketMQ インスタンスのインターネット HTTP エンドポイント。
    Value:
      Fn::GetAtt:
        - Instance
        - HttpInternetEndpoint
  InstanceType:
    Description: インスタンスタイプ
    Value:
      Fn::GetAtt:
        - Instance
        - InstanceType
  HttpInternetSecureEndpoint:
    Description: Message Queue for Apache RocketMQ インスタンスのインターネット HTTPS エンドポイント。
    Value:
      Fn::GetAtt:
        - Instance
        - HttpInternetSecureEndpoint

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "Instance": {
      "Type": "ALIYUN::ROCKETMQ::Instance",
      "Properties": {
        "InstanceName": "TestRocketMQ"
      }
    }
  },
  "Outputs": {
    "InstanceName": {
      "Description": "インスタンス名",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "InstanceName"
        ]
      }
    },
    "HttpInternalEndpoint": {
      "Description": "Message Queue for Apache RocketMQ インスタンスの内部 HTTP エンドポイント。",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "HttpInternalEndpoint"
        ]
      }
    },
    "InstanceId": {
      "Description": "作成されたインスタンス ID",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "InstanceId"
        ]
      }
    },
    "TcpEndpoint": {
      "Description": "Message Queue for Apache RocketMQ インスタンスの TCP エンドポイント。",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "TcpEndpoint"
        ]
      }
    },
    "HttpInternetEndpoint": {
      "Description": "Message Queue for Apache RocketMQ インスタンスのインターネット HTTP エンドポイント。",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "HttpInternetEndpoint"
        ]
      }
    },
    "InstanceType": {
      "Description": "インスタンスタイプ",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "InstanceType"
        ]
      }
    },
    "HttpInternetSecureEndpoint": {
      "Description": "Message Queue for Apache RocketMQ インスタンスのインターネット HTTPS エンドポイント。",
      "Value": {
        "Fn::GetAtt": [
          "Instance",
          "HttpInternetSecureEndpoint"
        ]
      }
    }
  }
}