1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. Host

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.ec2.Host

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::EC2::Host

    Create Host Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Host(name: string, args: HostArgs, opts?: CustomResourceOptions);
    @overload
    def Host(resource_name: str,
             args: HostArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Host(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             availability_zone: Optional[str] = None,
             asset_id: Optional[str] = None,
             auto_placement: Optional[str] = None,
             host_maintenance: Optional[str] = None,
             host_recovery: Optional[str] = None,
             instance_family: Optional[str] = None,
             instance_type: Optional[str] = None,
             outpost_arn: Optional[str] = None)
    func NewHost(ctx *Context, name string, args HostArgs, opts ...ResourceOption) (*Host, error)
    public Host(string name, HostArgs args, CustomResourceOptions? opts = null)
    public Host(String name, HostArgs args)
    public Host(String name, HostArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:Host
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const hostResource = new aws_native.ec2.Host("hostResource", {
        availabilityZone: "string",
        assetId: "string",
        autoPlacement: "string",
        hostMaintenance: "string",
        hostRecovery: "string",
        instanceFamily: "string",
        instanceType: "string",
        outpostArn: "string",
    });
    
    Coming soon!
    

    Host Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Host resource accepts the following input properties:

    AvailabilityZone string
    The Availability Zone in which to allocate the Dedicated Host.
    AssetId string
    The ID of the Outpost hardware asset.
    AutoPlacement string
    Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
    HostMaintenance string
    Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
    HostRecovery string
    Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
    InstanceFamily string
    Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
    InstanceType string
    Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
    OutpostArn string
    The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.
    AvailabilityZone string
    The Availability Zone in which to allocate the Dedicated Host.
    AssetId string
    The ID of the Outpost hardware asset.
    AutoPlacement string
    Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
    HostMaintenance string
    Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
    HostRecovery string
    Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
    InstanceFamily string
    Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
    InstanceType string
    Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
    OutpostArn string
    The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.
    availabilityZone String
    The Availability Zone in which to allocate the Dedicated Host.
    assetId String
    The ID of the Outpost hardware asset.
    autoPlacement String
    Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
    hostMaintenance String
    Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
    hostRecovery String
    Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
    instanceFamily String
    Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
    instanceType String
    Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
    outpostArn String
    The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.
    availabilityZone string
    The Availability Zone in which to allocate the Dedicated Host.
    assetId string
    The ID of the Outpost hardware asset.
    autoPlacement string
    Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
    hostMaintenance string
    Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
    hostRecovery string
    Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
    instanceFamily string
    Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
    instanceType string
    Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
    outpostArn string
    The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.
    availability_zone str
    The Availability Zone in which to allocate the Dedicated Host.
    asset_id str
    The ID of the Outpost hardware asset.
    auto_placement str
    Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
    host_maintenance str
    Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
    host_recovery str
    Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
    instance_family str
    Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
    instance_type str
    Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
    outpost_arn str
    The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.
    availabilityZone String
    The Availability Zone in which to allocate the Dedicated Host.
    assetId String
    The ID of the Outpost hardware asset.
    autoPlacement String
    Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
    hostMaintenance String
    Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
    hostRecovery String
    Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
    instanceFamily String
    Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
    instanceType String
    Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
    outpostArn String
    The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Host resource produces the following output properties:

    HostId string
    ID of the host created.
    Id string
    The provider-assigned unique ID for this managed resource.
    HostId string
    ID of the host created.
    Id string
    The provider-assigned unique ID for this managed resource.
    hostId String
    ID of the host created.
    id String
    The provider-assigned unique ID for this managed resource.
    hostId string
    ID of the host created.
    id string
    The provider-assigned unique ID for this managed resource.
    host_id str
    ID of the host created.
    id str
    The provider-assigned unique ID for this managed resource.
    hostId String
    ID of the host created.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi