# AWS OpsWorks CM Construct Library

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

TypeScript:

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

Python:

```python
import aws_cdk.aws_opsworkscm as opsworkscm
```

Java:

```java
import software.amazon.awscdk.services.opsworkscm.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.OpsWorksCM;
```

Golang:

```go
import opsworkscm "github.com/aws/aws-cdk-go/awscdk"
```

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 OpsWorksCM construct libraries](https://constructs.dev/search?q=opsworkscm)
- 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::OpsWorksCM resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_OpsWorksCM.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::OpsWorksCM](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_OpsWorksCM.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

### Constructs (L1)

- [`CfnServer`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opsworkscm.CfnServer.html) Construct (L1) The `AWS::OpsWorksCM::Server` resource creates an AWS OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise configuration management server.

### Structs

- [`CfnServer.EngineAttributeProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opsworkscm.CfnServer.EngineAttributeProperty.html) Struct The `EngineAttribute` property type specifies administrator credentials for an AWS OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise server.
- [`CfnServerProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opsworkscm.CfnServerProps.html) Struct Properties for defining a `CfnServer`.
