AWS::EC2::HostResource Type definition for AWS::EC2::Host
9 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AvailabilityZone | string | RequiredCreate-only |
AssetId | string | Create-only |
AutoPlacement | string | |
HostMaintenance | string | |
HostRecovery | string | |
InstanceFamily | string | Create-only |
InstanceType | string | Create-only |
OutpostArn | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
HostId | string | ID of the host created. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::Host
Resources:
MyResource:
Type: AWS::EC2::Host
Properties:
AvailabilityZone: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:AllocateHostsec2:DescribeHostsec2:CreateTagsec2:DescribeHostsec2:ModifyHostsec2:DescribeHostsec2:DeleteTagsec2:CreateTagsec2:ReleaseHostsec2:DescribeHostsec2:DescribeHostsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicHostIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AvailabilityZoneInstanceTypeInstanceFamilyOutpostArnAssetId