Class LaunchTemplatePlacement


  • public final class LaunchTemplatePlacement
    extends java.lang.Object
    • Method Detail

      • affinity

        public java.util.Optional<java.lang.String> affinity()
        Returns:
        The affinity setting for an instance on a Dedicated Host.
      • availabilityZone

        public java.util.Optional<java.lang.String> availabilityZone()
        Returns:
        The Availability Zone for the instance.
      • groupName

        public java.util.Optional<java.lang.String> groupName()
        Returns:
        The name of the placement group for the instance.
      • hostId

        public java.util.Optional<java.lang.String> hostId()
        Returns:
        The ID of the Dedicated Host for the instance.
      • hostResourceGroupArn

        public java.util.Optional<java.lang.String> hostResourceGroupArn()
        Returns:
        The ARN of the Host Resource Group in which to launch instances.
      • partitionNumber

        public java.util.Optional<java.lang.Integer> partitionNumber()
        Returns:
        The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
      • spreadDomain

        public java.util.Optional<java.lang.String> spreadDomain()
        Returns:
        Reserved for future use.
      • tenancy

        public java.util.Optional<java.lang.String> tenancy()
        Returns:
        The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.