ALIYUN::BastionHost::Instance is used to create a bastion host.
Syntax
{
"Type": "ALIYUN::BastionHost::Instance",
"Properties": {
"ExtraBandwidth": Integer,
"ResourceGroupId": String,
"Version": String,
"ExtendedStoragePlans": Integer,
"AutoRenew": Boolean,
"Period": Integer,
"AutoPay": Boolean,
"Plan": Integer,
"StartInstanceParam": Map,
"PeriodUnit": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
ExtraBandwidth | Integer | Yes | Yes | The bandwidth plan that provides additional bandwidth for the bastion host. | By default, a bastion host is configured with a specific amount of bandwidth. If the default bandwidth cannot meet your O&M requirements, you can use the bandwidth plan to obtain additional bandwidth. Valid values: 0 to 200. Unit: Mbit/s. |
ResourceGroupId | String | No | No | The resource group to which the bastion host belongs. | None. |
Version | String | Yes | No | The edition of the bastion host. | Valid values:
|
ExtendedStoragePlans | Integer | Yes | Yes | The storage plan that provides additional storage capacity for the bastion host. | By default, a bastion host is configured with specific storage capacity for videos. If the default storage capacity cannot meet your requirements for video storage, you can use the storage plan to obtain additional storage capacity. Valid values: 0 to 500. Unit: TB. |
AutoRenew | Boolean | No | No | Specifies whether to enable auto-renewal when the bastion host expires. | The auto-renewal cycle is one month. After you enable auto-renewal, the system deducts fees for renewal nine days before the bastion host expires. The system continues to deduct fees for renewal until the payment is successful or the previous day before the bastion host expires. |
Period | Integer | No | No | The subscription period of the bastion host. | Valid values when PeriodUnit is set to Month: 1, 3, and 6. Valid values when PeriodUnit is set to Year: 1 to 3. |
AutoPay | Boolean | No | No | Specifies whether to enable automatic payment. | Valid values:
|
Plan | Integer | Yes | Yes | The number of assets. | Valid values: 50, 100, 200, 500, 1000, 2000, 5000, and 10000. |
StartInstanceParam | Map | Yes | No | The properties that are required to start the bastion host. | For more information, see StartInstanceParam properties. |
PeriodUnit | String | No | No | The unit of the subscription duration. | Valid values:
|
StartInstanceParam syntax
"StartInstanceParam": {
"VswitchId": String,
"SecurityGroupIds": List
}
StartInstanceParam properties
Property | Type | Required | Editable | Description | Constraint |
VswitchId | String | Yes | No | The vSwitch ID. | None. |
SecurityGroupIds | List | Yes | No | The IDs of the security groups. | You can specify up to 20 security group IDs. |
Return values
Fn::GetAtt
InstanceId: the ID of the bastion host.