aws-cdk-lib.aws_ecs.BuiltInAttributes

class BuiltInAttributes

LanguageType name
.NETAmazon.CDK.AWS.ECS.BuiltInAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#BuiltInAttributes
Javasoftware.amazon.awscdk.services.ecs.BuiltInAttributes
Pythonaws_cdk.aws_ecs.BuiltInAttributes
TypeScript (source)aws-cdk-lib » aws_ecs » BuiltInAttributes

The built-in container instance attributes.

Example

// 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

new BuiltInAttributes()

Properties

NameTypeDescription
static AMI_IDstringThe AMI id the instance is using.
static AVAILABILITY_ZONEstringThe AvailabilityZone where the instance is running in.
static INSTANCE_IDstringThe id of the instance.
static INSTANCE_TYPEstringThe EC2 instance type.
static OS_TYPEstringThe operating system of the instance.

static AMI_ID

Type: string

The AMI id the instance is using.


static AVAILABILITY_ZONE

Type: string

The AvailabilityZone where the instance is running in.


static INSTANCE_ID

Type: string

The id of the instance.


static INSTANCE_TYPE

Type: string

The EC2 instance type.


static OS_TYPE

Type: string

The operating system of the instance.

Either 'linux' or 'windows'.