You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`capacity_reservation_preference` (string) - Set the preference for using a capacity reservation if one exists.
575
+
-`capacity_reservation_preference` (ec2types.CapacityReservationPreference) - Set the preference for using a capacity reservation if one exists.
571
576
Either will be `open` or `none`. Defaults to `none`
572
577
573
578
-`capacity_reservation_id` (string) - Provide the specific EC2 Capacity Reservation ID that will be used
@@ -814,7 +819,7 @@ JSON example:
814
819
criteria provided in `source_ami_filter`; this pins the AMI returned by the
815
820
filter, but will cause Packer to fail if the `source_ami` does not exist.
816
821
817
-
-`spot_allocation_strategy` (string) - One of `price-capacity-optimized`, `capacity-optimized`, `diversified` or `lowest-price`.
822
+
-`spot_allocation_strategy` (ec2types.SpotAllocationStrategy) - One of `price-capacity-optimized`, `capacity-optimized`, `diversified` or `lowest-price`.
818
823
The strategy that determines how to allocate the target Spot Instance capacity
819
824
across the Spot Instance pools specified by the EC2 Fleet launch configuration.
820
825
If this option is not set, Packer will use default option provided by the SDK (currently `lowest-price`).
@@ -971,7 +976,7 @@ JSON example:
971
976
972
977
Refer to the [Placement docs](#placement-configuration) for more information on the supported attributes for placement configuration.
973
978
974
-
-`tenancy` (string) - Deprecated: Use Placement Tenancy instead.
979
+
-`tenancy` (ec2types.Tenancy) - Deprecated: Use Placement Tenancy instead.
975
980
976
981
-`temporary_security_group_source_cidrs` ([]string) - A list of IPv4/IPv6 CIDR blocks to be authorized access to the instance, when
977
982
packer is creating a temporary security group.
@@ -1098,7 +1103,7 @@ JSON example:
1098
1103
1099
1104
-`host_id` (string) - The ID of the host used when Packer launches an EC2 instance.
1100
1105
1101
-
-`tenancy` (string) - [Tenancy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html) used
1106
+
-`tenancy` (ec2types.Tenancy) - [Tenancy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html) used
1102
1107
when Packer launches the EC2 instance, allowing it to be launched on dedicated hardware.
1103
1108
1104
1109
The default is "default", meaning shared tenancy. Allowed values are "default",
-`capacity_reservation_preference` (string) - Set the preference for using a capacity reservation if one exists.
588
+
-`capacity_reservation_preference` (ec2types.CapacityReservationPreference) - Set the preference for using a capacity reservation if one exists.
584
589
Either will be `open` or `none`. Defaults to `none`
585
590
586
591
-`capacity_reservation_id` (string) - Provide the specific EC2 Capacity Reservation ID that will be used
@@ -827,7 +832,7 @@ JSON example:
827
832
criteria provided in `source_ami_filter`; this pins the AMI returned by the
828
833
filter, but will cause Packer to fail if the `source_ami` does not exist.
829
834
830
-
-`spot_allocation_strategy` (string) - One of `price-capacity-optimized`, `capacity-optimized`, `diversified` or `lowest-price`.
835
+
-`spot_allocation_strategy` (ec2types.SpotAllocationStrategy) - One of `price-capacity-optimized`, `capacity-optimized`, `diversified` or `lowest-price`.
831
836
The strategy that determines how to allocate the target Spot Instance capacity
832
837
across the Spot Instance pools specified by the EC2 Fleet launch configuration.
833
838
If this option is not set, Packer will use default option provided by the SDK (currently `lowest-price`).
@@ -984,7 +989,7 @@ JSON example:
984
989
985
990
Refer to the [Placement docs](#placement-configuration) for more information on the supported attributes for placement configuration.
986
991
987
-
-`tenancy` (string) - Deprecated: Use Placement Tenancy instead.
992
+
-`tenancy` (ec2types.Tenancy) - Deprecated: Use Placement Tenancy instead.
988
993
989
994
-`temporary_security_group_source_cidrs` ([]string) - A list of IPv4/IPv6 CIDR blocks to be authorized access to the instance, when
990
995
packer is creating a temporary security group.
@@ -1111,7 +1116,7 @@ JSON example:
1111
1116
1112
1117
-`host_id` (string) - The ID of the host used when Packer launches an EC2 instance.
1113
1118
1114
-
-`tenancy` (string) - [Tenancy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html) used
1119
+
-`tenancy` (ec2types.Tenancy) - [Tenancy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html) used
1115
1120
when Packer launches the EC2 instance, allowing it to be launched on dedicated hardware.
1116
1121
1117
1122
The default is "default", meaning shared tenancy. Allowed values are "default",
0 commit comments