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

Resource Orchestration Service:ALIYUN::CEN::CenInstanceAttachment

最終更新日:Jan 16, 2025

ALIYUN::CEN::CenInstanceAttachment は、ネットワークインスタンスをクラウドエンタープライズネットワーク(CEN)インスタンスに接続するために使用されます。

構文

{
  "Type": "ALIYUN::CEN::CenInstanceAttachment",
  "Properties": {
    "ChildInstanceRegionId": String,
    "ChildInstanceType": String,
    "ChildInstanceId": String,
    "CenId": String,
    "ChildInstanceOwnerId": Integer
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

CenId

String

はい

いいえ

CEN インスタンスの ID。

なし。

ChildInstanceId

String

はい

いいえ

CEN インスタンスに接続するネットワークインスタンスの ID。

なし。

ChildInstanceRegionId

String

はい

いいえ

ネットワークインスタンスのリージョン。

なし。

ChildInstanceType

String

はい

いいえ

ネットワークインスタンスのタイプ。

有効な値:VPC、VBR、および CCN。

ChildInstanceOwnerId

Integer

いいえ

いいえ

クロスアカウントシナリオで、ネットワークインスタンスが属するアカウントの一意識別子(UID)。

なし。

戻り値

Fn::GetAtt

なし。

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  VpcId:
    Type: String
    AssociationProperty: ALIYUN::ECS::VPC::VPCId
  CenId:
    Type: String
    Description: CEN インスタンスの ID。
  ChildInstanceOwnerId:
    Type: Number
    Description: ネットワークが属するアカウント ID。
Resources:
  CenInstanceAttachment:
    Type: ALIYUN::CEN::CenInstanceAttachment
    Properties:
      ChildInstanceRegionId: cn-beijing
      ChildInstanceType: VPC
      ChildInstanceId:
        Ref: VpcId
      CenId:
        Ref: CenId
      ChildInstanceOwnerId:
        Ref: ChildInstanceOwnerId
Outputs: {}

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "VpcId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::VPC::VPCId"
    },
    "CenId": {
      "Type": "String",
      "Description": "CEN インスタンスの ID。"
    },
    "ChildInstanceOwnerId": {
      "Type": "Number",
      "Description": "ネットワークが属するアカウント ID。"
    }
  },
  "Resources": {
    "CenInstanceAttachment": {
      "Type": "ALIYUN::CEN::CenInstanceAttachment",
      "Properties": {
        "ChildInstanceRegionId": "cn-beijing",
        "ChildInstanceType": "VPC",
        "ChildInstanceId": {
          "Ref": "VpcId"
        },
        "CenId": {
          "Ref": "CenId"
        },
        "ChildInstanceOwnerId": {
          "Ref": "ChildInstanceOwnerId"
        }
      }
    }
  },
  "Outputs": {}
}