# BuiltInAttributes

The built-in container instance attributes.

- Source: [`aws-ecs/lib/ec2/ec2-service.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-ecs/lib/ec2/ec2-service.ts#L393)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const builtInAttributes = new ecs.BuiltInAttributes();
```

## Initializer

```ts
new BuiltInAttributes()
```

## Properties

- `AMI_ID`: string (required) (static) — The AMI id the instance is using.

- `AVAILABILITY_ZONE`: string (required) (static) — The AvailabilityZone where the instance is running in.

- `INSTANCE_ID`: string (required) (static) — The id of the instance.

- `INSTANCE_TYPE`: string (required) (static) — The EC2 instance type.

- `OS_TYPE`: string (required) (static) — The operating system of the instance.

  Either 'linux' or 'windows'.
