class BuiltInAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.BuiltInAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#BuiltInAttributes |
Java | software.amazon.awscdk.services.ecs.BuiltInAttributes |
Python | aws_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
Name | Type | Description |
---|---|---|
static AMI_ID | string | The AMI id the instance is using. |
static AVAILABILITY_ZONE | string | The AvailabilityZone where the instance is running in. |
static INSTANCE_ID | string | The id of the instance. |
static INSTANCE_TYPE | string | The EC2 instance type. |
static OS_TYPE | string | The 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'.