HostReference

class aws_cdk.aws_ec2.HostReference(*, host_id)

Bases: object

A reference to a Host resource.

Parameters:

host_id (str) – The HostId of the Host resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

host_reference = ec2.HostReference(
    host_id="hostId"
)

Attributes

host_id

The HostId of the Host resource.