Class CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs


  • public final class CapacityProviderManagedInstancesProviderInstanceLaunchTemplateArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • capacityOptionType

        public java.util.Optional<com.pulumi.core.Output<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.
      • ec2InstanceProfileArn

        public com.pulumi.core.Output<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<com.pulumi.core.Output<CapacityProviderManagedInstancesProviderInstanceLaunchTemplateInstanceRequirementsArgs>> 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.
      • monitoring

        public java.util.Optional<com.pulumi.core.Output<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`.