Package-level declarations
Types
Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria. Currently, Capacity Reservation Fleets support open
instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.
Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:
The replacement strategy to use. Only available for fleets of type maintain
. launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay
), terminates the instances that received a rebalance notification.
Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. If you specify use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price
or prioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price
or prioritized
). If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet. Supported only for fleets of type maintain
.
Indicates whether bare metal instance types must be included, excluded, or required.
Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet. If the allocation strategy is lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy. If the allocation strategy is diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify. If the allocation strategy is capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity. Allowed Values : lowestPrice
| diversified
| capacityOptimized
| capacityOptimizedPrioritized
The behavior when a Spot Instance is interrupted. Default: terminate
The type of resource to tag.
The default target capacity type.
The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection. Default: units
(the number of instances)
The fleet type. The default value is maintain
.
The format for the flow log. The default is plain-text
.
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
A metered account is an account that is charged for active IP addresses managed in IPAM
Limits which service in Amazon Web Services that the pool can be used in.
Determines whether this scope contains publicly routable space or space for a private network
The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is byoip
.
The state of this pool. This can be one of the following values: "create-in-progress", "create-complete", "modify-in-progress", "modify-complete", "delete-in-progress", or "delete-complete"
Determines whether this scope contains publicly routable space or space for a private network
The format of the key pair. Default: `pem`
The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the `PublicKeyMaterial`
property is specified, the `KeyType`
property is ignored, and the key type is inferred from the `PublicKeyMaterial`
value. Default: `rsa`
Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
Indicates whether there are findings (true | false | unknown).
The status of the analysis (running | succeeded | failed).
The status of the network insights analysis.
Ip Version of Prefix List.
BGP Liveness Detection
Whether to enable persistent routes
The state of EBS Snapshot Block Public Access.
The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
Indicates whether bare metal instance types must be included, excluded, or required.
Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet. Supported only for fleets of type maintain
.
The behavior when a Spot Instance is interrupted. The default is terminate
.
The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection. Default: units
(the number of instances)
The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value is maintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default: maintain
. instant
is listed but is not used by Spot Fleet.
The replacement strategy to use. Only available for fleets of type maintain
. launch
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. launch-before-terminate
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay
), terminates the instances that received a rebalance notification.
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated
runs on single-tenant hardware. The host
tenancy is not supported for Spot Instances.
The type of resource. Currently, the only resource type that is supported is instance
. To tag the Spot Fleet request on creation, use the TagSpecifications
parameter in [SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
.
The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
The desired Block Public Access mode for Internet Gateways in your account. We do not allow to create in a off mode as this is the default value
The DNS records created for the endpoint.
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
The supported IP address types.
The type of endpoint. Default: Gateway
Set log format. Default format is `json`
. Valid values: `json`
| `text`
The IKE version.
The value for the encryption algorithm.
The value for the integrity algorithm.
The encryption algorithm.
The integrity algorithm.
The action to take after DPD timeout occurs. Specify `restart`
to restart the IKE initiation. Specify `clear`
to end the IKE session. Valid Values: `clear`
| `none`
| `restart`
Default: `clear`
The action to take when the establishing the tunnel for the VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify `start`
for AWS to initiate the IKE negotiation. Valid Values: `add`
| `start`
Default: `add`