|
AssociationProperty values
|
Description
|
Corresponding AssociationPropertyMetadata
|
|
ALIYUN::ESS::AutoScalingGroup::AutoScalingGroupId
|
The ID of the Auto Scaling group.
|
RegionId: The ID of the region. This parameter defaults to the region where the stack resides.
Examples:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"AutoScalingGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ESS::AutoScalingGroup::AutoScalingGroupId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
AutoScalingGroupId:
Type: String
AssociationProperty: ALIYUN::ESS::AutoScalingGroup::AutoScalingGroupId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example explanation
The AssociationProperty of AutoScalingGroupId is set to ALIYUN::ESS::AutoScalingGroup::AutoScalingGroupId, which retrieves Auto Scaling group IDs for selection.
|
|
ALIYUN::ESS::ECIScalingConfiguration::ContainerName
|
The name of a container in an ECI scaling configuration.
|
-
RegionId: The ID of the region. This parameter defaults to the region where the stack resides.
-
ScalingGroupId: The ID of the scaling group.
-
ScalingConfigurationId: The ID of the scaling configuration.
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ESSECIScalingConfigurationContainerName": {
"Type": "String",
"AssociationProperty": "ALIYUN::ESS::ECIScalingConfiguration::ContainerName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ESSECIScalingConfigurationContainerName:
Type: String
AssociationProperty: ALIYUN::ESS::ECIScalingConfiguration::ContainerName
AssociationPropertyMetadata:
RegionId: ${RegionId}
|
|
ALIYUN::ESS::ECIScalingConfiguration::ScalingConfigurationId
|
The ID of an ECI scaling configuration.
|
-
RegionId: The ID of the region. This parameter defaults to the region where the stack resides.
-
ScalingGroupId: The ID of the scaling group.
-
AutoSelectFirst: Specifies whether to select the first item.
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"AutoScalingGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ESS::AutoScalingGroup::AutoScalingGroupId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"ServiceConnectionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ESS::ECIScalingConfiguration::ScalingConfigurationId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ScalingGroupId": "${AutoScalingGroupId}",
"AutoSelectFirst": true
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
AutoScalingGroupId:
Type: String
AssociationProperty: ALIYUN::ESS::AutoScalingGroup::AutoScalingGroupId
AssociationPropertyMetadata:
RegionId: ${RegionId}
ServiceConnectionId:
Type: String
AssociationProperty: ALIYUN::ESS::ECIScalingConfiguration::ScalingConfigurationId
AssociationPropertyMetadata:
RegionId: ${RegionId}
ScalingGroupId: ${AutoScalingGroupId}
AutoSelectFirst: true
|
|
ALIYUN::ESS::ScalingConfiguration::ScalingConfigurationId
|
The ID of the scaling configuration.
|
RegionId: The ID of the region. This parameter defaults to the region where the stack resides.
Examples:
-
Example code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ScalingConfigurationId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ESS::ScalingConfiguration::ScalingConfigurationId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ScalingConfigurationId:
Type: String
AssociationProperty: ALIYUN::ESS::ScalingConfiguration::ScalingConfigurationId
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example explanation
The AssociationProperty of ScalingConfigurationId is set to ALIYUN::ESS::ScalingConfiguration::ScalingConfigurationId, which retrieves scaling configuration IDs for selection.
|