CapacityProviderManagedInstancesProviderInstanceLaunchTemplate class
Constructors
-
CapacityProviderManagedInstancesProviderInstanceLaunchTemplate({Input<String?>? capacityOptionType, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations?>? capacityReservations, required Input<String> ec2InstanceProfileArn, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements?>? instanceRequirements, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateLocalStorageConfiguration?>? localStorageConfiguration, Input<String?>? monitoring, required Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateNetworkConfiguration> networkConfiguration, Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateStorageConfiguration?>? storageConfiguration})
-
Creates a new CapacityProviderManagedInstancesProviderInstanceLaunchTemplate.
capacityOptionType Purchasing option for the EC2 instances used in the capacity provider. Determines whether to use On-Demand, Spot, or Capacity Reservation instances. Valid values are ON_DEMAND, SPOT, and RESERVED. Defaults to ON_DEMAND when not specified. Changing this value will trigger replacement of the capacity provider. For more information, see Amazon EC2 billing and purchasing options in the Amazon EC2 User Guide.
capacityReservations Capacity Reservation configuration used to launch instances. Required when capacityOptionType is RESERVED. Detailed below.
ec2InstanceProfileArn ARN of the instance profile that Amazon ECS applies to Amazon ECS Managed Instances. This instance profile must include the necessary permissions for your tasks to access AWS services and resources. For more information, see Amazon ECS instance profile for Managed Instances in the Amazon ECS Developer Guide.
instanceRequirements Instance requirements. You can specify the instance types and instance requirements such as vCPU count, memory, network performance, and accelerator specifications. Amazon ECS automatically selects the instances that match the specified criteria. Detailed below.
localStorageConfiguration Configuration block for the local storage settings applied to Amazon ECS Managed Instances. Detailed below.
monitoring CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring. By default, your managed instance is configured for basic monitoring. You can optionally enable detailed monitoring to help you more quickly identify and act on operational issues. You can enable or turn off detailed monitoring at launch or when the managed instance is running or stopped. For more information, see Detailed monitoring for Amazon ECS Managed Instances in the Amazon ECS Developer Guide. Valid values are BASIC and DETAILED.
networkConfiguration Network configuration for Amazon ECS Managed Instances. This specifies the subnets and security groups that instances use for network connectivity. Detailed below.
storageConfiguration Storage configuration for Amazon ECS Managed Instances. This defines the root volume size and type for the instances. Detailed below.
const
-
CapacityProviderManagedInstancesProviderInstanceLaunchTemplate.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
capacityOptionType
→ Input<String?>?
-
Purchasing option for the EC2 instances used in the capacity provider. Determines whether to use On-Demand, Spot, or Capacity Reservation instances. Valid values are
ON_DEMAND, SPOT, and RESERVED. Defaults to ON_DEMAND when not specified. Changing this value will trigger replacement of the capacity provider. For more information, see Amazon EC2 billing and purchasing options in the Amazon EC2 User Guide.
final
-
capacityReservations
→ Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations?>?
-
Capacity Reservation configuration used to launch instances. Required when
capacityOptionType is RESERVED. Detailed below.
final
-
ec2InstanceProfileArn
→ Input<String>
-
ARN of the instance profile that Amazon ECS applies to Amazon ECS Managed Instances. This instance profile must include the necessary permissions for your tasks to access AWS services and resources. For more information, see Amazon ECS instance profile for Managed Instances in the Amazon ECS Developer Guide.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instanceRequirements
→ Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements?>?
-
Instance requirements. You can specify the instance types and instance requirements such as vCPU count, memory, network performance, and accelerator specifications. Amazon ECS automatically selects the instances that match the specified criteria. Detailed below.
final
-
localStorageConfiguration
→ Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateLocalStorageConfiguration?>?
-
Configuration block for the local storage settings applied to Amazon ECS Managed Instances. Detailed below.
final
-
monitoring
→ Input<String?>?
-
CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring. By default, your managed instance is configured for basic monitoring. You can optionally enable detailed monitoring to help you more quickly identify and act on operational issues. You can enable or turn off detailed monitoring at launch or when the managed instance is running or stopped. For more information, see Detailed monitoring for Amazon ECS Managed Instances in the Amazon ECS Developer Guide. Valid values are
BASIC and DETAILED.
final
-
networkConfiguration
→ Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateNetworkConfiguration>
-
Network configuration for Amazon ECS Managed Instances. This specifies the subnets and security groups that instances use for network connectivity. Detailed below.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageConfiguration
→ Input<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateStorageConfiguration?>?
-
Storage configuration for Amazon ECS Managed Instances. This defines the root volume size and type for the instances. Detailed below.
final