# AWS::ComputeOptimizer Construct Library

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as computeoptimizer from 'aws-cdk-lib/aws-computeoptimizer';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for ComputeOptimizer construct libraries](https://constructs.dev/search?q=computeoptimizer)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::ComputeOptimizer resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ComputeOptimizer.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::ComputeOptimizer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ComputeOptimizer.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnAutomationRule`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule) | Construct (L1) | Creates an AWS Compute Optimizer automation rule that automatically implements recommended actions based on your defined criteria and schedule. |
| [`CfnAutomationRule.CriteriaProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.CriteriaProperty) | Struct |  |
| [`CfnAutomationRule.DoubleCriteriaConditionProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.DoubleCriteriaConditionProperty) | Struct |  |
| [`CfnAutomationRule.IntegerCriteriaConditionProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.IntegerCriteriaConditionProperty) | Struct |  |
| [`CfnAutomationRule.OrganizationConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.OrganizationConfigurationProperty) | Struct |  |
| [`CfnAutomationRule.ResourceTagsCriteriaConditionProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.ResourceTagsCriteriaConditionProperty) | Struct |  |
| [`CfnAutomationRule.ScheduleProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.ScheduleProperty) | Struct |  |
| [`CfnAutomationRule.StringCriteriaConditionProperty`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRule.StringCriteriaConditionProperty) | Struct |  |
| [`CfnAutomationRuleProps`](/v2/docs/aws-cdk-lib.aws_computeoptimizer.CfnAutomationRuleProps) | Struct | Properties for defining a `CfnAutomationRule`. |
