CfnHostProps

class aws_cdk.aws_ec2.CfnHostProps(*, availability_zone, instance_type, auto_placement=None, host_recovery=None)

Bases: object

__init__(*, availability_zone, instance_type, auto_placement=None, host_recovery=None)

Properties for defining a AWS::EC2::Host.

Parameters
  • availability_zone (str) – AWS::EC2::Host.AvailabilityZone.

  • instance_type (str) – AWS::EC2::Host.InstanceType.

  • auto_placement (Optional[str]) – AWS::EC2::Host.AutoPlacement.

  • host_recovery (Optional[str]) – AWS::EC2::Host.HostRecovery.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html

Attributes

auto_placement

AWS::EC2::Host.AutoPlacement.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-autoplacement

Return type

Optional[str]

availability_zone

AWS::EC2::Host.AvailabilityZone.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-availabilityzone

Return type

str

host_recovery

AWS::EC2::Host.HostRecovery.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-hostrecovery

Return type

Optional[str]

instance_type

AWS::EC2::Host.InstanceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-instancetype

Return type

str