LaunchParameters¶
Structure Class¶
LaunchParameters
dataclass
¶
The parameters for launching Amazon EC2 instances in a capacity provider.
Attributes¶
capacity_reservation_specification
class-attribute
instance-attribute
¶
capacity_reservation_specification: CapacityReservationSpecification | None = None
The Capacity Reservation targeting option for the instances.
ephemeral_volumes
class-attribute
instance-attribute
¶
ephemeral_volumes: list[EphemeralBlockDeviceMapping] | None = None
The block device mappings for instance store (ephemeral) volumes. You can specify up to five mappings.
instance_profile_arn
class-attribute
instance-attribute
¶
instance_profile_arn: str | None = None
The Amazon Resource Name (ARN) of the IAM instance profile to associate with launched instances. If provided, this overrides the default instance profile.
instance_requirements
instance-attribute
¶
instance_requirements: InstanceRequirements
The requirements that determine which instance types can be launched.
license_specifications
class-attribute
instance-attribute
¶
license_specifications: list[LicenseSpecification] | None = None
The license configurations to associate with the instances. You can specify up to five configurations.
monitoring
class-attribute
instance-attribute
¶
monitoring: Monitoring | None = None
The monitoring level for the instances.
operating_system
instance-attribute
¶
operating_system: OperatingSystem
The operating system and CPU architecture for the instances.
propagated_tags
class-attribute
instance-attribute
¶
The tags to propagate to all Amazon EC2 resources (instances, volumes, and network interfaces) that the capacity provider creates.