# EnvironmentEC2Reference

A reference to a EnvironmentEC2 resource.

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloud9 as interfaces_cloud9 } from 'aws-cdk-lib/interfaces';
const environmentEC2Reference: interfaces_cloud9.EnvironmentEC2Reference = {
  environmentEc2Arn: 'environmentEc2Arn',
  environmentId: 'environmentId',
};
```

## Properties

- `environmentEc2Arn`: string (required) — The ARN of the EnvironmentEC2 resource.

- `environmentId`: string (required) — The EnvironmentId of the EnvironmentEC2 resource.
