Ec2Configuration
The configuration for Amazon EC2-based compute, including the launch template source, networking, storage volumes, and instance lifecycle settings.
Contents
- launchTemplateSource
-
The source of the launch template configuration that defines how instances are launched.
Type: LaunchTemplateSource object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- vpcConfiguration
-
The VPC configuration for launching instances, including subnets and security groups.
Type: VpcConfiguration object
Required: Yes
- lifecycleConfiguration
-
The lifecycle configuration for instances in the capacity provider.
Type: InstanceLifecycleConfiguration object
Required: No
- rootVolume
-
The configuration for the instance root volume. Specify the amount of free space to guarantee and, optionally, the Amazon EBS performance and encryption settings. The device name and delete-on-termination behavior are not configurable.
Type: RootVolumeConfiguration object
Required: No
- volumes
-
The named persistent Amazon EBS volumes for the capacity provider. A capacity provider can define up to five volumes.
Type: Array of VolumeConfiguration objects
Array Members: Minimum number of 0 items. Maximum number of 5 items.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: