ALIYUN::ECS::DeploymentSet is used to create a deployment set in a region.
Syntax
{
"Type": "ALIYUN::ECS::DeploymentSet",
"Properties": {
"DeploymentSetName": String,
"Description": String,
"OnUnableToRedeployFailedInstance": String,
"Strategy": String,
"GroupCount": Number
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
DeploymentSetName | String | No | Yes | The name of the deployment set. | The name must be 2 to 128 characters in length. It must start with a letter and cannot start with |
Description | String | No | Yes | The description of the deployment set. | The description must be 2 to 256 characters in length. It must start with a letter and cannot start with |
OnUnableToRedeployFailedInstance | String | No | No | The emergency solution to use in the following situation: Instances in the deployment set cannot be distributed to different zones due to resource insufficiency after the instances are failed over from faulty physical machines to normal physical machines. | Valid values:
|
Strategy | String | No | No | The deployment strategy. | Valid values:
|
GroupCount | Number | No | No | The number of deployment set groups in the deployment set. | Valid values: 1 to 7. Default value: 3. Note This property takes effect only when Important GroupCount is of the Long data type. The precision of the property value may be lost during the serialization or deserialization process. Make sure that the value is no greater than 9007199254740991. |
Return values
Fn::GetAtt
DeploymentSetId: the ID of the deployment set.