ALIYUN::ECS::AutoProvisioningGroup類型用于創建彈性供應組。
語法
{
"Type": "ALIYUN::ECS::AutoProvisioningGroup",
"Properties": {
"SpotInstancePoolsToUseCount": Integer,
"AutoProvisioningGroupName": String,
"ValidUntil": String,
"Description": String,
"PayAsYouGoAllocationStrategy": String,
"MaxSpotPrice": Number,
"LaunchTemplateId": String,
"DefaultTargetCapacityType": String,
"SpotInstanceInterruptionBehavior": String,
"SpotTargetCapacity": String,
"SpotAllocationStrategy": String,
"PayAsYouGoTargetCapacity": String,
"TotalTargetCapacity": String,
"AutoProvisioningGroupType": String,
"LaunchTemplateVersion": String,
"ValidFrom": String,
"ExcessCapacityTerminationPolicy": String,
"TerminateInstances": Boolean,
"TerminateInstancesWithExpiration": Boolean,
"CheckExecutionStatus": Boolean,
"LaunchConfiguration": Map
"LaunchTemplateConfig": List
}
}
屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
SpotInstancePoolsToUseCount | Integer | 否 | 否 | 彈性供應組選擇價格最低的實例規格創建實例的數量。 | 取值:小于啟動模板的擴展設置數量。 當SpotAllocationStrategy取值為lowest-price時該參數生效。 |
AutoProvisioningGroupName | String | 否 | 否 | 彈性供應組的名稱。 | 長度為2~128個字符,必須以英文字母或漢字開頭,不能以 |
ValidUntil | String | 否 | 否 | 彈性供應組的到期時間,和ValidFrom共同確定有效時段。 | 按照ISO8601標準表示,并使用UTC時間,格式為 |
Description | String | 否 | 否 | 彈性供應組的描述信息。 | 無 |
PayAsYouGoAllocationStrategy | String | 否 | 否 | 創建按量付費實例的策略。 | 取值:
|
MaxSpotPrice | Number | 否 | 是 | 彈性供應組內搶占式實例的最高價格。 | 同時設置MaxSpotPrice和MaxPrice時,以最低值為準。關于MaxPrice參數的更多信息,請參見LaunchTemplateConfig 屬性。 |
LaunchTemplateId | String | 否 | 否 | 彈性供應組關聯的實例啟動模板的ID。 | 您可以調用DescribeLaunchTemplates查詢可用的實例啟動模板。 同時指定LaunchTemplateId和LaunchConfiguration時,優先使用啟動模板。 |
DefaultTargetCapacityType | String | 否 | 是 | PayAsYouGoTargetCapacity和SpotTargetCapacity之和小于TotalTargetCapacity時,指定差額容量的計費方式。 | 取值:
|
SpotInstanceInterruptionBehavior | String | 否 | 否 | 停止了超額搶占式實例后的下一步動作。 | 取值:
|
SpotTargetCapacity | String | 否 | 是 | 彈性供應組內,搶占式實例的目標容量。 | 取值:小于TotalTargetCapacity參數取值。 |
SpotAllocationStrategy | String | 否 | 否 | 創建搶占式實例的策略。 | 取值:
|
PayAsYouGoTargetCapacity | String | 否 | 是 | 彈性供應組內,按量付費實例的目標容量。 | 取值:小于TotalTargetCapacity參數取值。 |
TotalTargetCapacity | String | 是 | 是 | 彈性供應組的目標總容量。 | 取值(正整數):總容量必須大于等于PayAsYouGoTargetCapacity(指定的按量付費實例目標容量)和SpotTargetCapacity(指定的搶占式實例目標容量)取值之和。 |
AutoProvisioningGroupType | String | 否 | 否 | 彈性供應組的交付類型。 | 取值:
|
LaunchTemplateVersion | String | 否 | 否 | 彈性供應組關聯實例啟動模板的版本。 | 您可以調用DescribeLaunchTemplateVersions查詢可用的實例啟動模板版本。 |
ValidFrom | String | 否 | 否 | 彈性供應組的啟動時間,和ValidUntil共同確定有效時段。 | 按照ISO8601標準表示,并使用UTC時間,格式為 |
ExcessCapacityTerminationPolicy | String | 否 | 是 | 彈性供應組超過目標總容量時,是否停止超額的搶占式實例。 | 取值:
|
TerminateInstances | Boolean | 否 | 否 | 刪除彈性供應組時,是否釋放組內實例。 | 取值:
|
TerminateInstancesWithExpiration | Boolean | 否 | 是 | 彈性供應組到期時,是否停止搶占式實例。 | 取值:
|
CheckExecutionStatus | Boolean | 否 | 否 | 是否檢查執行狀態。 | 取值:
|
LaunchConfiguration | Map | 否 | 否 | 啟動配置信息。 | 同時指定LaunchTemplateId和LaunchConfiguration時,優先使用啟動模板。 更多信息,請參見LaunchConfiguration屬性。 |
LaunchTemplateConfig | List | 否 | 否 | 啟動模板的擴展設置。 | 最多支持20個擴展設置。 更多信息,請參見LaunchTemplateConfig 屬性。 |
LaunchTemplateConfig 語法
"LaunchTemplateConfig": [
{
"Priority": Integer,
"WeightedCapacity": Integer,
"VSwitchId": String,
"InstanceType": String,
"MaxPrice": Integer
}
]
LaunchTemplateConfig 屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
Priority | Integer | 否 | 否 | 擴展啟動模板中實例規格的優先級。 | 取值:大于等于0。 取值為0時優先級最高。 |
WeightedCapacity | Integer | 否 | 否 | 擴展啟動模板中,實例規格的權重。 | 取值:大于0的整數。 取值越高,單臺實例滿足計算力需求的能力越大,所需的實例數量越小。 您可以根據指定實例規格的計算力和集群單節點最低計算力得出權重值。 例如:單節點最低計算力為8vCPU、60GiB,則8vCPU、60GiB的實例規格權重可以設置為1;16vCPU、120GiB的實例規格權重可以設置為2。 |
VSwitchId | String | 是 | 否 | 擴展啟動模板中,ECS實例加入的交換機的ID。 | 擴展模板中啟動的ECS實例可用區由交換機決定。 |
InstanceType | String | 否 | 否 | 擴展啟動模板對應的實例規格。 | 無 |
MaxPrice | Integer | 否 | 否 | 擴展啟動模板中,搶占式實例的價格上限。 | 無 |
LaunchConfiguration語法
"LaunchConfiguration": {
"InstanceDescription": String,
"SystemDiskName": String,
"RamRoleName": String,
"SystemDiskCategory": String,
"SecurityGroupId": String,
"CreditSpecification": String,
"HostName": String,
"SystemDiskDescription": String,
"SystemDiskPerformanceLevel": String,
"DataDisk": List,
"InternetMaxBandwidthOut": Integer,
"IoOptimized": String,
"Tag": List,
"ImageId": String,
"ResourceGroupId": String,
"KeyPairName": String,
"PasswordInherit": Boolean,
"UserData": String,
"InstanceName": String,
"SystemDiskSize": Integer,
"InternetChargeType": String,
"SecurityEnhancementStrategy": String
}
LaunchConfiguration屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
InstanceDescription | String | 否 | 否 | 實例描述。 | 長度為2~256個字符,不能以 |
SystemDiskName | String | 否 | 否 | 系統盤名稱。 | 長度為2~128個字符。必須以英文字母或漢字開頭,不能以 |
RamRoleName | String | 否 | 否 | 實例RAM角色名稱。 | 無 |
SystemDiskCategory | String | 否 | 否 | 系統盤類型。 | 取值:
已停售的實例規格且非I/O優化實例默認值為cloud,否則默認值為cloud_efficiency。 |
SecurityGroupId | String | 是 | 否 | 實例所屬的安全組ID。 | 無 |
CreditSpecification | String | 否 | 否 | 修改突發性能實例的運行模式。 | 取值:
|
HostName | String | 否 | 否 | 實例主機名稱。 | 半角句號(.)和短劃線(-)不能作為首尾字符,更不能連續使用。取值要求如下:
|
SystemDiskDescription | String | 否 | 否 | 系統盤的描述。 | 長度為2~256個字符,不能以 |
SystemDiskPerformanceLevel | String | 否 | 否 | 創建ESSD云盤作為系統盤使用時,設置云盤的性能等級。 | 取值:
|
DataDisk | List | 否 | 否 | 數據盤。 | 最多支持16塊數據盤。 更多信息,請參見DataDisk屬性。 |
InternetMaxBandwidthOut | Integer | 否 | 否 | 公網出帶寬最大值。 | 取值范圍:0~100。 默認值:0。 單位為Mbps。 |
IoOptimized | String | 否 | 否 | 是否為I/O優化實例。 | 取值:
|
Tag | List | 否 | 否 | 實例的標簽。 | 最多20個標簽。 更多信息,請參見Tag屬性。 |
ImageId | String | 是 | 否 | 鏡像ID。 | 無 |
ResourceGroupId | String | 否 | 否 | 實例所在的企業資源組ID。 | 無 |
KeyPairName | String | 否 | 否 | 密鑰對名稱。 | Windows實例,忽略該參數。默認為空。 Linux實例的密碼登錄方式會被初始化成禁止。 |
PasswordInherit | Boolean | 否 | 否 | 是否使用鏡像預設的密碼。 | 取值:
|
UserData | String | 否 | 否 | 實例自定義數據。 | 需要以Base64方式編碼,原始數據最多為16 KB。 |
InstanceName | String | 否 | 否 | 實例名稱。 | 默認值為實例的InstanceId。 長度為2~128個字符,必須以英文字母或漢字開頭,不能以 |
SystemDiskSize | Integer | 否 | 否 | 系統盤大小。 | 取值范圍:20~500。必須大于等于鏡像大小。 默認值:40或鏡像大小。 單位:GiB。 |
InternetChargeType | String | 否 | 否 | 網絡計費類型。 | 取值:
說明 按使用流量計費模式下的出入帶寬峰值都是帶寬上限,不作為業務承諾指標。當出現資源爭搶時,帶寬峰值可能會受到限制。如果您的業務需要有帶寬的保障,請使用按固定帶寬計費模式。 |
SecurityEnhancementStrategy | String | 否 | 否 | 是否開啟安全加固。 | 取值:
|
DataDisk語法
"DataDisk": [
{
"DiskName": String,
"Size": Integer,
"Category": String,
"Description": String,
"DeleteWithInstance": Boolean,
"SnapshotId": String,
"Encrypted": Boolean,
"KmsKeyId": String,
"InternetChargeType": String,
"PerformanceLevel": String
}
]
DataDisk屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
DiskName | String | 否 | 否 | 數據盤名稱。 | 長度為2~128個字符。必須以英文字母或漢字開頭,不能以 |
Size | Integer | 否 | 否 | 數據盤的容量大小。 | 取值范圍:
單位:GiB。 |
Category | String | 否 | 否 | 數據盤類型。 | 取值:
對于I/O優化實例,默認值為cloud_efficiency。對于非I/O優化實例,默認值為cloud。 |
Description | String | 否 | 否 | 數據盤的描述。 | 長度為2~256個字符,不能以 |
DeleteWithInstance | Boolean | 否 | 否 | 數據盤是否隨實例釋放。 | 取值:
|
SnapshotId | String | 否 | 否 | 創建數據盤使用的快照。 | 指定該參數后,參數Size會被忽略,實際創建的云盤大小為指定的快照的大小。 說明 不能使用2013年07月15日之前創建的快照,請求會報錯被拒絕。 |
Encrypted | Boolean | 否 | 否 | 數據盤是否加密。 | 取值:
|
KmsKeyId | String | 否 | 否 | 數據盤對應的KMS密鑰ID。 | 無 |
InternetChargeType | String | 否 | 否 | 網絡計費類型。 | 取值:
說明 按使用流量計費模式下的出入帶寬峰值都是帶寬上限,不作為業務承諾指標。當出現資源爭搶時,帶寬峰值可能會受到限制。如果您的業務需要有帶寬的保障,請使用按固定帶寬計費模式。 |
PerformanceLevel | String | 否 | 否 | 創建ESSD云盤作為數據盤使用時,設置云盤的性能等級。 | 取值:
|
Tag語法
"Tag": [
{
"Key": String,
"Value": String
}
]
Tag屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
Key | String | 是 | 否 | 標簽鍵。 | 長度為1~128個字符,不能以 |
Value | String | 否 | 否 | 標簽值。 | 長度為0~128個字符,不能以 |
返回值
Fn::GetAtt
AutoProvisioningGroupId:彈性供應組的ID。
AutoProvisioningGroupName:彈性供應組的名稱。
示例
ROSTemplateFormatVersion: '2015-09-01'
Description: Test ECS AutoProvisioningGroup
Parameters:
LaunchTemplateId:
Type: String
Description: |-
The ID of the instance launch template associated with the auto provisioning group.
You can call the DescribeLaunchTemplates operation to query available instance launch templates.
An auto provisioning group can be associated with only one instance launch template.
But you can configure multiple extended configurations for the launch template through
the LaunchTemplateConfig parameter.
PayAsYouGoTargetCapacity:
Type: String
Description: The target capacity of pay-as-you-go instances in the auto provisioning group.
Default: '1'
TotalTargetCapacity:
Type: String
Description: |-
The total target capacity of the auto provisioning group. The target capacity consists
of the following three parts:
The target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter
The target capacity of preemptible instances specified by the SpotTargetCapacity parameter
The supplemental capacity besides PayAsYouGoTargetCapacity and SpotTargetCapacity
Default: '2'
SpotTargetCapacity:
Type: String
Description: The target capacity of preemptible instances in the auto provisioning group.
Default: '1'
AutoProvisioningGroupName:
Type: String
Description: |-
The name of the auto provisioning group to be created. It must be 2 to 128 characters
in length. It must start with a letter but cannot start with http:// or https://.
It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
Default: mytest
SpotAllocationStrategy:
Type: String
Description: |-
The scale-out policy for preemptible instances. Valid values:
lowest-price: The cost optimization policy the auto provisioning group follows to select instance
types of the lowest cost to create instances.
diversified: The distribution balancing policy the auto provisioning group follows to evenly create
instances across zones specified in multiple extended template configurations.
Default value: lowest-price
AllowedValues:
- diversified
- lowest-price
Default: lowest-price
PayAsYouGoAllocationStrategy:
Type: String
Description: |-
The scale-out policy for pay-as-you-go instances. Valid values:
lowest-price: The cost optimization policy the auto provisioning group follows to select instance
types of the lowest cost to create instances.
prioritized: The priority-based policy the auto provisioning group follows to create instances.
The priority of an instance type is specified by the LaunchTemplateConfig.N.Priority parameter.
Default value: lowest-price
AllowedValues:
- lowest-price
- prioritized
Default: lowest-price
MaxSpotPrice:
Type: Number
Description: |-
The global maximum price for preemptible instances in the auto provisioning group.
If both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the maximum price is the lower value of the two.
Default: 5
DefaultTargetCapacityType:
Type: String
Description: |-
The type of supplemental instances. When the total value of PayAsYouGoTargetCapacity and SpotTargetCapacity is smaller than the value of TotalTargetCapacity, the auto provisioning group will create instances of the specified type to meet
the capacity requirements. Valid values:
PayAsYouGo: Pay-as-you-go instances.
Spot: Preemptible instances.
Default value: Spot
AllowedValues:
- PayAsYouGo
- Spot
Default: PayAsYouGo
AutoProvisioningGroupType:
Type: String
Description: |-
The type of the auto provisioning group. Valid values:
request: One-time delivery. After the auto provisioning group is started, it only attempts
to create an instance cluster once. If the cluster fails to be created, the group
does not try again.
maintain: The continuous delivery and maintain capacity type. After the auto provisioning group
is started, it continuously attempts to create and maintain the instance cluster.
The auto provisioning group compares the real-time and target capacity of the cluster.
If the cluster does not meet the target capacity, the group will create instances
until the cluster meets the target capacity.
Default value: maintain
AllowedValues:
- maintain
- request
Default: maintain
ExcessCapacityTerminationPolicy:
Type: String
Description: |-
The shutdown policy for excess preemptible instances followed when the capacity of
the auto provisioning group exceeds the target capacity. Valid values:
no-termination: Excess preemptible instances are not shut down.
termination: Excess preemptible instances are to be shut down. The action to be performed on these
shutdown instances is specified by the SpotInstanceInterruptionBehavior parameter.
Default value: no-termination
AllowedValues:
- no-termination
- termination
Default: termination
TerminateInstances:
Type: Boolean
Description: |-
Specifies whether to release instances of the auto provisioning group. Valid values:
true
false
Default: false
AllowedValues:
- true
- false
Default: true
TerminateInstancesWithExpiration:
Type: Boolean
Description: |-
The shutdown policy for preemptible instances when the auto provisioning group expires.
Valid values:
true: shuts down preemptible instances. The action to be performed on these shutdown instances
is specified by the SpotInstanceInterruptionBehavior parameter.
false: does not shut down preemptible instances.
Default: false
AllowedValues:
- true
- false
Default: true
Resources:
AutoProvisioningGroup:
Type: ALIYUN::ECS::AutoProvisioningGroup
Properties:
LaunchTemplateId:
Ref: LaunchTemplateId
LaunchTemplateVersion: '1'
TotalTargetCapacity:
Ref: TotalTargetCapacity
PayAsYouGoTargetCapacity:
Ref: PayAsYouGoTargetCapacity
SpotTargetCapacity:
Ref: SpotTargetCapacity
AutoProvisioningGroupName:
Ref: AutoProvisioningGroupName
SpotAllocationStrategy:
Ref: SpotAllocationStrategy
Description: Test AutoProvisioningGroup
PayAsYouGoAllocationStrategy:
Ref: PayAsYouGoAllocationStrategy
MaxSpotPrice:
Ref: MaxSpotPrice
DefaultTargetCapacityType:
Ref: DefaultTargetCapacityType
AutoProvisioningGroupType:
Ref: AutoProvisioningGroupType
ExcessCapacityTerminationPolicy:
Ref: ExcessCapacityTerminationPolicy
TerminateInstances:
Ref: TerminateInstances
TerminateInstancesWithExpiration:
Ref: TerminateInstancesWithExpiration
Outputs:
AutoProvisioningGroupId:
Description: The ID of the auto provisioning group.
Value:
Fn::GetAtt:
- AutoProvisioningGroup
- AutoProvisioningGroupId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Description": "Test ECS AutoProvisioningGroup",
"Parameters": {
"LaunchTemplateId": {
"Type": "String",
"Description": "The ID of the instance launch template associated with the auto provisioning group.\nYou can call the DescribeLaunchTemplates operation to query available instance launch templates.\nAn auto provisioning group can be associated with only one instance launch template.\nBut you can configure multiple extended configurations for the launch template through\nthe LaunchTemplateConfig parameter."
},
"PayAsYouGoTargetCapacity": {
"Type": "String",
"Description": "The target capacity of pay-as-you-go instances in the auto provisioning group.",
"Default": "1"
},
"TotalTargetCapacity": {
"Type": "String",
"Description": "The total target capacity of the auto provisioning group. The target capacity consists\nof the following three parts:\nThe target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter\nThe target capacity of preemptible instances specified by the SpotTargetCapacity parameter\nThe supplemental capacity besides PayAsYouGoTargetCapacity and SpotTargetCapacity",
"Default": "2"
},
"SpotTargetCapacity": {
"Type": "String",
"Description": "The target capacity of preemptible instances in the auto provisioning group.",
"Default": "1"
},
"AutoProvisioningGroupName": {
"Type": "String",
"Description": "The name of the auto provisioning group to be created. It must be 2 to 128 characters\nin length. It must start with a letter but cannot start with http:// or https://.\nIt can contain letters, digits, colons (:), underscores (_), and hyphens (-).",
"Default": "mytest"
},
"SpotAllocationStrategy": {
"Type": "String",
"Description": "The scale-out policy for preemptible instances. Valid values:\nlowest-price: The cost optimization policy the auto provisioning group follows to select instance\ntypes of the lowest cost to create instances.\ndiversified: The distribution balancing policy the auto provisioning group follows to evenly create\ninstances across zones specified in multiple extended template configurations.\nDefault value: lowest-price",
"AllowedValues": [
"diversified",
"lowest-price"
],
"Default": "lowest-price"
},
"PayAsYouGoAllocationStrategy": {
"Type": "String",
"Description": "The scale-out policy for pay-as-you-go instances. Valid values:\nlowest-price: The cost optimization policy the auto provisioning group follows to select instance\ntypes of the lowest cost to create instances.\nprioritized: The priority-based policy the auto provisioning group follows to create instances.\nThe priority of an instance type is specified by the LaunchTemplateConfig.N.Priority parameter.\nDefault value: lowest-price",
"AllowedValues": [
"lowest-price",
"prioritized"
],
"Default": "lowest-price"
},
"MaxSpotPrice": {
"Type": "Number",
"Description": "The global maximum price for preemptible instances in the auto provisioning group.\nIf both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the maximum price is the lower value of the two.",
"Default": 5
},
"DefaultTargetCapacityType": {
"Type": "String",
"Description": "The type of supplemental instances. When the total value of PayAsYouGoTargetCapacity and SpotTargetCapacity is smaller than the value of TotalTargetCapacity, the auto provisioning group will create instances of the specified type to meet\nthe capacity requirements. Valid values:\nPayAsYouGo: Pay-as-you-go instances.\nSpot: Preemptible instances.\nDefault value: Spot",
"AllowedValues": [
"PayAsYouGo",
"Spot"
],
"Default": "PayAsYouGo"
},
"AutoProvisioningGroupType": {
"Type": "String",
"Description": "The type of the auto provisioning group. Valid values:\nrequest: One-time delivery. After the auto provisioning group is started, it only attempts\nto create an instance cluster once. If the cluster fails to be created, the group\ndoes not try again.\nmaintain: The continuous delivery and maintain capacity type. After the auto provisioning group\nis started, it continuously attempts to create and maintain the instance cluster.\nThe auto provisioning group compares the real-time and target capacity of the cluster.\nIf the cluster does not meet the target capacity, the group will create instances\nuntil the cluster meets the target capacity.\nDefault value: maintain",
"AllowedValues": [
"maintain",
"request"
],
"Default": "maintain"
},
"ExcessCapacityTerminationPolicy": {
"Type": "String",
"Description": "The shutdown policy for excess preemptible instances followed when the capacity of\nthe auto provisioning group exceeds the target capacity. Valid values:\nno-termination: Excess preemptible instances are not shut down.\ntermination: Excess preemptible instances are to be shut down. The action to be performed on these\nshutdown instances is specified by the SpotInstanceInterruptionBehavior parameter.\nDefault value: no-termination",
"AllowedValues": [
"no-termination",
"termination"
],
"Default": "termination"
},
"TerminateInstances": {
"Type": "Boolean",
"Description": "Specifies whether to release instances of the auto provisioning group. Valid values:\ntrue\nfalse\nDefault: false",
"AllowedValues": [
true,
false
],
"Default": true
},
"TerminateInstancesWithExpiration": {
"Type": "Boolean",
"Description": "The shutdown policy for preemptible instances when the auto provisioning group expires.\nValid values:\ntrue: shuts down preemptible instances. The action to be performed on these shutdown instances\nis specified by the SpotInstanceInterruptionBehavior parameter.\nfalse: does not shut down preemptible instances.\nDefault: false",
"AllowedValues": [
true,
false
],
"Default": true
}
},
"Resources": {
"AutoProvisioningGroup": {
"Type": "ALIYUN::ECS::AutoProvisioningGroup",
"Properties": {
"LaunchTemplateId": {
"Ref": "LaunchTemplateId"
},
"LaunchTemplateVersion": "1",
"TotalTargetCapacity": {
"Ref": "TotalTargetCapacity"
},
"PayAsYouGoTargetCapacity": {
"Ref": "PayAsYouGoTargetCapacity"
},
"SpotTargetCapacity": {
"Ref": "SpotTargetCapacity"
},
"AutoProvisioningGroupName": {
"Ref": "AutoProvisioningGroupName"
},
"SpotAllocationStrategy": {
"Ref": "SpotAllocationStrategy"
},
"Description": "Test AutoProvisioningGroup",
"PayAsYouGoAllocationStrategy": {
"Ref": "PayAsYouGoAllocationStrategy"
},
"MaxSpotPrice": {
"Ref": "MaxSpotPrice"
},
"DefaultTargetCapacityType": {
"Ref": "DefaultTargetCapacityType"
},
"AutoProvisioningGroupType": {
"Ref": "AutoProvisioningGroupType"
},
"ExcessCapacityTerminationPolicy": {
"Ref": "ExcessCapacityTerminationPolicy"
},
"TerminateInstances": {
"Ref": "TerminateInstances"
},
"TerminateInstancesWithExpiration": {
"Ref": "TerminateInstancesWithExpiration"
}
}
}
},
"Outputs": {
"AutoProvisioningGroupId": {
"Description": "The ID of the auto provisioning group.",
"Value": {
"Fn::GetAtt": [
"AutoProvisioningGroup",
"AutoProvisioningGroupId"
]
}
}
}
}