|
AssociationProperty Values
|
Description
|
Corresponding AssociationPropertyMetadata
|
|
ALIYUN::ECS::ZoneId
|
Queries ECS zone IDs.
|
-
RegionId: Region ID (defaults to the stack's region).
-
SystemDiskCategory: System disk type.
-
InstanceType: Instance type.
-
InstanceChargeType: Instance billing method.
-
WithAvailableResource: Filters zones that have available inventory for any instance type.
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ZoneId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::ZoneId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ZoneId:
Type: String
AssociationProperty: ALIYUN::ECS::ZoneId
AssociationPropertyMetadata:
RegionId: ${RegionId}
|
|
ALIYUN::ECS::Command::CommandId
|
Cloud Assistant command ID or Alibaba Cloud command ID.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"CommandId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Command::CommandId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
CommandId:
Type: String
AssociationProperty: ALIYUN::ECS::Command::CommandId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the CommandId parameter to ALIYUN::ECS::Command::CommandId and the AssociationPropertyMetadata to RegionId. This retrieves ECS Cloud Assistant commands or public commands provided by Alibaba Cloud in the current region.
|
|
ALIYUN::ECS::DeploymentSet::DeploymentSetId
|
Queries deployment set IDs.
|
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ECSDeploymentSetId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::DeploymentSet::DeploymentSetId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"Strategy": "Availability"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ECSDeploymentSetId:
Type: String
AssociationProperty: ALIYUN::ECS::DeploymentSet::DeploymentSetId
AssociationPropertyMetadata:
RegionId: ${RegionId}
Strategy: Availability
|
|
ALIYUN::ECS::Disk::DataDiskCategory
|
Data disk type.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "RegionId"
},
"ZoneId": {
"Type": "String",
"AssociationProperty": "ZoneId"
},
"InstanceType": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::InstanceType",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ZoneId": "${ZoneId}"
}
},
"DataDiskCategory": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Disk::DataDiskCategory",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ZoneId": "${ZoneId}",
"InstanceType": "${InstanceType}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: RegionId
ZoneId:
Type: String
AssociationProperty: ZoneId
InstanceType:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
RegionId: ${RegionId}
ZoneId: ${ZoneId}
DataDiskCategory:
Type: String
AssociationProperty: ALIYUN::ECS::Disk::DataDiskCategory
AssociationPropertyMetadata:
RegionId: ${RegionId}
ZoneId: ${ZoneId}
InstanceType: ${InstanceType}
-
Example description
In the example, set the AssociationProperty of the DataDiskCategory parameter to ALIYUN::ECS::Disk::DataDiskCategory and the AssociationPropertyMetadata to RegionId, ZoneId, and InstanceType. This retrieves the ECS data disk type.
|
|
ALIYUN::ECS::Disk::DiskId
|
Disk ID.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"DiskId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Disk::DiskId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
DiskId:
Type: String
AssociationProperty: ALIYUN::ECS::Disk::DiskId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the DiskId parameter to ALIYUN::ECS::Disk::DiskId and the AssociationPropertyMetadata to RegionId. This retrieves the ECS cloud disk ID in the current zone.
|
|
ALIYUN::ECS::Disk::SystemDiskCategory
|
System disk type.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "RegionId"
},
"ZoneId": {
"Type": "String",
"AssociationProperty": "ZoneId"
},
"InstanceType": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::InstanceType",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ZoneId": "${ZoneId}"
}
},
"SystemDiskCategory": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Disk::SystemDiskCategory",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ZoneId": "${ZoneId}",
"InstanceType": "${InstanceType}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: RegionId
ZoneId:
Type: String
AssociationProperty: ZoneId
InstanceType:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
RegionId: ${RegionId}
ZoneId: ${ZoneId}
SystemDiskCategory:
Type: String
AssociationProperty: ALIYUN::ECS::Disk::SystemDiskCategory
AssociationPropertyMetadata:
RegionId: ${RegionId}
ZoneId: ${ZoneId}
InstanceType: ${InstanceType}
-
Example description
In the example, set the AssociationProperty of the SystemDiskCategory parameter to ALIYUN::ECS::Disk::SystemDiskCategory and the AssociationPropertyMetadata to RegionId, ZoneId, and InstanceType. This retrieves the ECS system disk type.
|
|
ALIYUN::ECS::Image::ImageId
|
Image ID.
|
-
RegionId: Region ID (defaults to the stack's region).
-
SupportedImageOwnerAlias: Supported image types.
-
InstanceType: Instance specifications.
-
ImageFamily: Image family name.
-
IsSupportIoOptimized: Whether the image supports I/O optimized instances.
-
OSType: Operating system type.
-
Architecture: Image architecture.
-
Usage: Whether the image is running on an ECS instance.
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ImageId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Image::ImageId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"SupportedImageOwnerAlias": ["system", "self", "others"]
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ImageId:
Type: String
AssociationProperty: ALIYUN::ECS::Image::ImageId
AssociationPropertyMetadata:
RegionId: ${RegionId}
SupportedImageOwnerAlias:
- system
- self
- others
-
Example description
In the example, set the AssociationProperty of the ImageId parameter to ALIYUN::ECS::Image::ImageId and the AssociationPropertyMetadata to RegionId and SupportedImageOwnerAlias. This retrieves the ECS image ID in the current zone.
|
|
ALIYUN::ECS::Instance::AttributeSelector
|
ECS attribute selector.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"AttributeSelector": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::AttributeSelector"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AttributeSelector:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::AttributeSelector
-
Example description
In the example, set the AssociationProperty of the AttributeSelector parameter to ALIYUN::ECS::Instance::AttributeSelector. This retrieves the ECS attribute selector.
|
|
ALIYUN::ECS::Instance::InstanceId
|
ECS instance ID.
|
-
RegionId: Region ID (defaults to the stack's region).
-
InstanceType: Instance specifications.
-
InstanceTypeFamily: Instance family.
-
Platform: Operating system platform.
-
OSType: Operating system type.
-
Status: Instance status.
-
NetworkType: Instance network type.
-
DisabledNetworkType: Disabled network type.
-
ShowNetworkType: Display instance network type.
-
InternetChargeType: Public bandwidth billing method.
-
DisabledInternetChargeType: Disabled public bandwidth billing method.
-
ShowInternetChargeType: Display public bandwidth billing method.
-
ChargeType: Instance billing method.
-
DisabledChargeType: Disabled instance billing method.
-
ShowChargeType: Display instance billing method.
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"InstanceId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::InstanceId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
InstanceId:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::InstanceId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the InstanceId parameter to ALIYUN::ECS::Instance::InstanceId and the AssociationPropertyMetadata to RegionId. This retrieves existing ECS instances in the current available region.
|
|
ALIYUN::ECS::Instance::InstancePropertyEditor
|
ECS instance property editor.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstancePropertyEditor": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::InstancePropertyEditor"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstancePropertyEditor:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::InstancePropertyEditor
-
Example description
In the example, set the AssociationProperty of the InstancePropertyEditor parameter to ALIYUN::ECS::Instance::InstancePropertyEditor. This retrieves the ECS instance property editor.
|
|
ALIYUN::ECS::Instance::InstanceType
|
ECS instance type.
|
-
RegionId: Region ID (defaults to the stack's region).
-
ZoneId: Zone ID.
-
InstanceChargeType: Instance billing method.
-
SpotStrategy: Bidding strategy for pay-as-you-go instances.
-
CreateACKClusterParams: Filter ECS specifications supported by Container Service.
-
Constraints: Defines instance type filtering conditions. Allows multiple condition combinations.
-
InstanceType: Instance type. For example: ecs.c6.xlarge.
-
InstanceTypeFamily: Instance family to which the instance type belongs. For example: ecs.c6.
-
vCPU: Number of vCPU cores for the instance type.
-
Memory: Memory size of the instance type.
-
Architecture: CPU architecture.
-
CustomizeFamily: Custom instance family.
-
high-clockSpeed
-
general-purpose
-
compute-optimized
-
memory-optimized
-
big-data
-
local-ssd
-
arm-general-purpose
-
arm-compute-optimized
-
arm-memory-optimized
-
gpu-a10
-
gpu-v100
-
gpu-t4
-
gpu-p100
-
gpu-p4
-
gpu-grid
-
gpu-arm
-
gpu-fpga-asic
-
gpu-other
-
basic
-
elastic-bareMetal-compute
-
elastic-bareMetal-GPU-compute
-
super-computeCluster-compute
-
super-computeCluster-GPU-compute
-
enhancement
-
current-recommendation
-
elastic-bareMetal-compute-china-CPU
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceType": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::InstanceType",
"AssociationPropertyMetadata": {
"Constraints": {
"Architecture": [
"X86"
],
"vCPU": [
4
],
"Memory": [
8
]
}
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstanceType:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
Constraints:
Architecture:
- X86
vCPU:
- 4
Memory:
- 8
-
Example description
In the example, set the AssociationProperty of the InstanceType parameter to ALIYUN::ECS::Instance::InstanceType and the AssociationPropertyMetadata to Constraints (Architecture, vCPU, Memory). This retrieves ECS instance types in the current region with x86 computing architecture, 4 vCPUs, and 8 GB of memory.
|
|
ALIYUN::ECS::Instance::MaxBandwidthIn
|
Maximum inbound public bandwidth for ECS.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"MaxBandwidthIn": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::MaxBandwidthIn"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
MaxBandwidthIn:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::MaxBandwidthIn
-
Example description
In the example, set the AssociationProperty of the MaxBandwidthIn parameter to ALIYUN::ECS::Instance::MaxBandwidthIn. This retrieves the maximum inbound public bandwidth for ECS.
|
|
ALIYUN::ECS::Instance::OSType
|
Queries the operating system type of an ECS instance.
|
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ECSInstanceId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::InstanceId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"ECSOSType": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::OSType",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"InstanceId": "${ECSInstanceId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ECSInstanceId:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::InstanceId
AssociationPropertyMetadata:
RegionId: ${RegionId}
ECSOSType:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::OSType
AssociationPropertyMetadata:
RegionId: ${RegionId}
InstanceId: ${ECSInstanceId}
|
|
ALIYUN::ECS::Instance::Password
|
ECS instance password component.
Note
The password must contain 8 to 30 characters and include at least three of the following: uppercase letters, lowercase letters, numbers, and special characters.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"password": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::Password"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
password:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::Password
-
Example description
In the example, set the AssociationProperty of the password parameter to ALIYUN::ECS::Instance::Password to enforce password constraints for ECS instances.
Constraints: The password must contain 8 to 30 characters and include at least three of the following: uppercase letters, lowercase letters, numbers, and special characters.
|
|
ALIYUN::ECS::Instance::RenewPeriod
|
ECS renewal period.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RenewPeriod": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::RenewPeriod"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RenewPeriod:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::RenewPeriod
-
Example description
In the example, set the AssociationProperty of the RenewPeriod parameter to ALIYUN::ECS::Instance::RenewPeriod. This retrieves the ECS renewal period.
|
|
ALIYUN::ECS::Instance::StopMode
|
ECS stop mode.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"StopMode": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Instance::StopMode"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
StopMode:
Type: String
AssociationProperty: ALIYUN::ECS::Instance::StopMode
-
Example description
In the example, set the AssociationProperty of the StopMode parameter to ALIYUN::ECS::Instance::StopMode. This retrieves the ECS stop mode.
|
|
ALIYUN::ECS::InstanceType::AvailableInstanceType
|
Available ECS instance types.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"AvailableInstanceType": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::InstanceType::AvailableInstanceType"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AvailableInstanceType:
Type: String
AssociationProperty: ALIYUN::ECS::InstanceType::AvailableInstanceType
-
Example description
In the example, set the AssociationProperty of the AvailableInstanceType parameter to ALIYUN::ECS::InstanceType::AvailableInstanceType. This retrieves available ECS instance types.
|
|
ALIYUN::ECS::KeyPair::KeyPairName
|
ECS key pair name.
|
RegionId: Region ID (defaults to the stack's region).
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"KeyPairName": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::KeyPair::KeyPairName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
KeyPairName:
Type: String
AssociationProperty: ALIYUN::ECS::KeyPair::KeyPairName
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the KeyPairName parameter to ALIYUN::ECS::KeyPair::KeyPairName and the AssociationPropertyMetadata to RegionId. This retrieves ECS key pairs in the current region.
|
|
ALIYUN::ECS::LaunchTemplate::LaunchTemplateId
|
ECS launch template ID.
|
RegionId: Region ID (defaults to the stack's region).
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"LaunchTemplateId":{
"AssociationProperty":"ALIYUN::ECS::LaunchTemplate::LaunchTemplateId",
"Type":"String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
LaunchTemplateId:
AssociationProperty: ALIYUN::ECS::LaunchTemplate::LaunchTemplateId
Type: String
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the LaunchTemplateId parameter to ALIYUN::ECS::LaunchTemplate::LaunchTemplateId and the AssociationPropertyMetadata to RegionId. This retrieves ECS launch templates in the current zone.
|
|
ALIYUN::ECS::LaunchTemplate::LaunchTemplateVersion
|
ECS launch template version.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"LaunchTemplateId": {
"AssociationProperty": "ALIYUN::ECS::LaunchTemplate::LaunchTemplateId",
"Type": "String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"LaunchTemplateVersion": {
"AssociationProperty": "ALIYUN::ECS::LaunchTemplate::LaunchTemplateVersion",
"Type": "String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"LaunchTemplateId": "${LaunchTemplateId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
LaunchTemplateId:
Type: String
AssociationProperty: ALIYUN::ECS::LaunchTemplate::LaunchTemplateId
AssociationPropertyMetadata:
RegionId: ${RegionId}
LaunchTemplateVersion:
Type: String
AssociationProperty: ALIYUN::ECS::LaunchTemplate::LaunchTemplateVersion
AssociationPropertyMetadata:
RegionId: ${RegionId}
LaunchTemplateId: ${LaunchTemplateId}
-
Example description
In the example, set the AssociationProperty of the LaunchTemplateVersion parameter to ALIYUN::ECS::LaunchTemplate::LaunchTemplateVersion and the AssociationPropertyMetadata to RegionId and LaunchTemplateId. This retrieves the version information of the selected ECS launch template.
|
|
ALIYUN::ECS::ManagedInstance::InstanceId
|
ECS managed instance ID.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"InstanceId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::ManagedInstance::InstanceId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
InstanceId:
Type: String
AssociationProperty: ALIYUN::ECS::ManagedInstance::InstanceId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the InstanceId parameter to ALIYUN::ECS::ManagedInstance::InstanceId and the AssociationPropertyMetadata to RegionId. This retrieves ECS managed instance IDs in the current available region.
|
|
ALIYUN::ECS::RAM::Role
|
Instance RAM role assigned to an ECS instance.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Role": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RAM::Role"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Role:
Type: String
AssociationProperty: ALIYUN::ECS::RAM::Role
-
Example description
In the example, set the AssociationProperty of the Role parameter to ALIYUN::ECS::RAM::Role. This retrieves the instance RAM role assigned to an ECS instance.
|
|
ALIYUN::ECS::RegionId
|
Region ID (defaults to the stack's region).
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
-
Example description
In the example, set the AssociationProperty of the RegionId parameter to ALIYUN::ECS::RegionId. This lists available regions.
|
|
ALIYUN::ECS::RegionId::RegionDeploy
|
ECS deployment region.
|
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ECSRegionDeploy": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId::RegionDeploy"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ECSRegionDeploy:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId::RegionDeploy
|
|
ALIYUN::ECS::RegionId::TargetRegionIds
|
Destination region ID for ECS instances.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"TargetRegionIds": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId::TargetRegionIds"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
TargetRegionIds:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId::TargetRegionIds
-
Example description
In the example, set the AssociationProperty of the TargetRegionIds parameter to ALIYUN::ECS::RegionId::TargetRegionIds. This retrieves ECS instance destination region IDs.
|
|
ALIYUN::ECS::ResourceGroup::ResourceGroupId
|
Resource group ID.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ResourceGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId"
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ResourceGroupId:
Type: String
AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
-
Example description
In the example, set the AssociationProperty of the ResourceGroupId parameter to ALIYUN::ECS::ResourceGroup::ResourceGroupId.
|
|
ALIYUN::ECS::SecurityGroup::PortRange
|
Port range for an ECS security group, based on the IP protocol.
|
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ECSSecurityGroupPortRange": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::SecurityGroup::PortRange",
"AssociationPropertyMetadata": {
"IpProtocol": "ALL"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ECSSecurityGroupPortRange:
Type: String
AssociationProperty: ALIYUN::ECS::SecurityGroup::PortRange
AssociationPropertyMetadata:
IpProtocol: ALL
|
|
ALIYUN::ECS::SecurityGroup::SecurityGroupId
|
Security group ID.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"VpcId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"SecurityGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::SecurityGroup::SecurityGroupId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"VpcId": "${VpcId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
VpcId:
Type: String
AssociationProperty: ALIYUN::ECS::VPC::VPCId
AssociationPropertyMetadata:
RegionId: ${RegionId}
SecurityGroupId:
Type: String
AssociationProperty: ALIYUN::ECS::SecurityGroup::SecurityGroupId
AssociationPropertyMetadata:
RegionId: ${RegionId}
VpcId: ${VpcId}
-
Example description
In the example, set the AssociationProperty of the SecurityGroupId parameter to ALIYUN::ECS::SecurityGroup::SecurityGroupId and the AssociationPropertyMetadata to RegionId and VpcId. This retrieves the security group ID under the selected virtual private cloud (VPC) in the current region.
|
|
ALIYUN::ECS::Snapshot::AutoSnapshotPolicyId
|
Automatic snapshot policy ID.
|
RegionId: Region ID (defaults to the stack's region).
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"AutoSnapshotPolicyId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Snapshot::AutoSnapshotPolicyId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
AutoSnapshotPolicyId:
Type: String
AssociationProperty: ALIYUN::ECS::Snapshot::AutoSnapshotPolicyId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the AutoSnapshotPolicyId parameter to ALIYUN::ECS::Snapshot::AutoSnapshotPolicyId and the AssociationPropertyMetadata to RegionId. This retrieves the ECS automatic snapshot policy in the current region.
|
|
ALIYUN::ECS::Snapshot::SnapshotId
|
ECS instance disk snapshot ID.
|
-
RegionId: Region ID (defaults to the stack's region).
-
InstanceId: ECS instance ID.
-
DiskId: Cloud disk ID.
-
Status: Snapshot status.
-
SnapshotType: Snapshot creation type.
-
Category: Snapshot type.
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"DiskId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Disk::DiskId"
},
"SnapshotId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::Snapshot::SnapshotId",
"AssociationPropertyMetadata": {
"DiskId": "${DiskId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
DiskId:
Type: String
AssociationProperty: ALIYUN::ECS::Disk::DiskId
SnapshotId:
Type: String
AssociationProperty: ALIYUN::ECS::Snapshot::SnapshotId
AssociationPropertyMetadata:
DiskId: ${DiskId}
-
Example description
In the example, set the AssociationProperty of the SnapshotId parameter to ALIYUN::ECS::Snapshot::SnapshotId. This retrieves the ECS instance disk snapshot ID.
|
|
ALIYUN::ECS::TAG
|
Tags attached to an ECS instance.
|
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"Tag": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::TAG",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
Tag:
Type: String
AssociationProperty: ALIYUN::ECS::TAG
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the Tag parameter to ALIYUN::ECS::TAG. This retrieves ECS instance tag information.
|
|
ALIYUN::ECS::VPC::VPCId
|
Virtual private cloud (VPC) ID.
|
RegionId: Region ID (defaults to the stack's region).
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"VpcId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
VpcId:
Type: String
AssociationProperty: ALIYUN::ECS::VPC::VPCId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
In the example, set the AssociationProperty of the VpcId parameter to ALIYUN::ECS::VPC::VPCId and the AssociationPropertyMetadata to RegionId. This retrieves the virtual private cloud (VPC) ID in the current region.
|
|
ALIYUN::ECS::vSwitch
|
vSwitch.
|
-
RegionId: Region ID (defaults to the stack's region).
-
ZoneId: Zone ID.
-
VpcId: Virtual private cloud (VPC) ID.
-
InstanceType: Instance type.
Example:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ZoneId": {
"Type": "String",
"AssociationProperty": "ZoneId"
},
"VSwitchId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::VSwitch",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ZoneId": "${ZoneId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ZoneId:
Type: String
AssociationProperty: ZoneId
VSwitchId:
Type: String
AssociationProperty: ALIYUN::ECS::VSwitch
AssociationPropertyMetadata:
RegionId: ${RegionId}
ZoneId: ${ZoneId}
-
Example description
In the example, set the AssociationProperty of the VSwitchId parameter to ALIYUN::ECS::vSwitch and the AssociationPropertyMetadata to RegionId and ZoneId. This retrieves the selected available vSwitch object in the current region.
|