Package com.pulumi.aws.ecs.inputs
Class CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ecs.inputs.CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder
-
- Enclosing class:
- CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs
public static final class CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs defaults)
-
-
Method Detail
-
capacityOptionType
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder capacityOptionType(@Nullable com.pulumi.core.Output<java.lang.String> capacityOptionType)
- Parameters:
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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html) in the Amazon EC2 User Guide.- Returns:
- builder
-
capacityOptionType
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder capacityOptionType(java.lang.String capacityOptionType)
- Parameters:
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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html) in the Amazon EC2 User Guide.- Returns:
- builder
-
capacityReservations
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder capacityReservations(@Nullable com.pulumi.core.Output<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservationsArgs> capacityReservations)
- Parameters:
capacityReservations- Capacity Reservation configuration used to launch instances. Required when `capacityOptionType` is `RESERVED`. Detailed below.- Returns:
- builder
-
capacityReservations
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder capacityReservations(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservationsArgs capacityReservations)
- Parameters:
capacityReservations- Capacity Reservation configuration used to launch instances. Required when `capacityOptionType` is `RESERVED`. Detailed below.- Returns:
- builder
-
ec2InstanceProfileArn
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder ec2InstanceProfileArn(com.pulumi.core.Output<java.lang.String> ec2InstanceProfileArn)
- Parameters:
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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance_IAM_role.html) in the Amazon ECS Developer Guide.- Returns:
- builder
-
ec2InstanceProfileArn
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder ec2InstanceProfileArn(java.lang.String ec2InstanceProfileArn)
- Parameters:
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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance_IAM_role.html) in the Amazon ECS Developer Guide.- Returns:
- builder
-
instanceRequirements
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder instanceRequirements(@Nullable com.pulumi.core.Output<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsArgs> instanceRequirements)
- Parameters:
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.- Returns:
- builder
-
instanceRequirements
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder instanceRequirements(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsArgs instanceRequirements)
- Parameters:
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.- Returns:
- builder
-
localStorageConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder localStorageConfiguration(@Nullable com.pulumi.core.Output<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateLocalStorageConfigurationArgs> localStorageConfiguration)
- Parameters:
localStorageConfiguration- Configuration block for the local storage settings applied to Amazon ECS Managed Instances. Detailed below.- Returns:
- builder
-
localStorageConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder localStorageConfiguration(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateLocalStorageConfigurationArgs localStorageConfiguration)
- Parameters:
localStorageConfiguration- Configuration block for the local storage settings applied to Amazon ECS Managed Instances. Detailed below.- Returns:
- builder
-
monitoring
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder monitoring(@Nullable com.pulumi.core.Output<java.lang.String> monitoring)
- Parameters:
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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html) in the Amazon ECS Developer Guide. Valid values are `BASIC` and `DETAILED`.- Returns:
- builder
-
monitoring
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder monitoring(java.lang.String monitoring)
- Parameters:
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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html) in the Amazon ECS Developer Guide. Valid values are `BASIC` and `DETAILED`.- Returns:
- builder
-
networkConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder networkConfiguration(com.pulumi.core.Output<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateNetworkConfigurationArgs> networkConfiguration)
- Parameters:
networkConfiguration- Network configuration for Amazon ECS Managed Instances. This specifies the subnets and security groups that instances use for network connectivity. Detailed below.- Returns:
- builder
-
networkConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder networkConfiguration(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateNetworkConfigurationArgs networkConfiguration)
- Parameters:
networkConfiguration- Network configuration for Amazon ECS Managed Instances. This specifies the subnets and security groups that instances use for network connectivity. Detailed below.- Returns:
- builder
-
storageConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder storageConfiguration(@Nullable com.pulumi.core.Output<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateStorageConfigurationArgs> storageConfiguration)
- Parameters:
storageConfiguration- Storage configuration for Amazon ECS Managed Instances. This defines the root volume size and type for the instances. Detailed below.- Returns:
- builder
-
storageConfiguration
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs.Builder storageConfiguration(CapacityProviderManagedInstancesProviderInstanceLaunchTemplateStorageConfigurationArgs storageConfiguration)
- Parameters:
storageConfiguration- Storage configuration for Amazon ECS Managed Instances. This defines the root volume size and type for the instances. Detailed below.- Returns:
- builder
-
build
public CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs build()
-
-