Package com.pulumi.aws.ecs.outputs
Class CapacityProviderManagedInstancesProviderInstanceLaunchTemplate
- java.lang.Object
-
- com.pulumi.aws.ecs.outputs.CapacityProviderManagedInstancesProviderInstanceLaunchTemplate
-
public final class CapacityProviderManagedInstancesProviderInstanceLaunchTemplate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapacityProviderManagedInstancesProviderInstanceLaunchTemplate.Builder
-
Method Summary
-
-
-
Method Detail
-
capacityOptionType
public java.util.Optional<java.lang.String> capacityOptionType()
- Returns:
- 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html) in the Amazon EC2 User Guide.
-
capacityReservations
public java.util.Optional<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations> capacityReservations()
- Returns:
- Capacity Reservation configuration used to launch instances. Required when `capacityOptionType` is `RESERVED`. Detailed below.
-
ec2InstanceProfileArn
public java.lang.String ec2InstanceProfileArn()
- Returns:
- 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance_IAM_role.html) in the Amazon ECS Developer Guide.
-
instanceRequirements
public java.util.Optional<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirements> instanceRequirements()
- Returns:
- 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
public java.util.Optional<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateLocalStorageConfiguration> localStorageConfiguration()
- Returns:
- Configuration block for the local storage settings applied to Amazon ECS Managed Instances. Detailed below.
-
monitoring
public java.util.Optional<java.lang.String> monitoring()
- Returns:
- 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html) in the Amazon ECS Developer Guide. Valid values are `BASIC` and `DETAILED`.
-
networkConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateNetworkConfiguration networkConfiguration()
- Returns:
- Network configuration for Amazon ECS Managed Instances. This specifies the subnets and security groups that instances use for network connectivity. Detailed below.
-
storageConfiguration
public java.util.Optional<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateStorageConfiguration> storageConfiguration()
- Returns:
- Storage configuration for Amazon ECS Managed Instances. This defines the root volume size and type for the instances. Detailed below.
-
builder
public static CapacityProviderManagedInstancesProviderInstanceLaunchTemplate.Builder builder()
-
builder
public static CapacityProviderManagedInstancesProviderInstanceLaunchTemplate.Builder builder(CapacityProviderManagedInstancesProviderInstanceLaunchTemplate defaults)
-
-