interface RuntimePlatformProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnTaskDefinitionPropsMixin.RuntimePlatformProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnTaskDefinitionPropsMixin_RuntimePlatformProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnTaskDefinitionPropsMixin.RuntimePlatformProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnTaskDefinitionPropsMixin.RuntimePlatformProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnTaskDefinitionPropsMixin » RuntimePlatformProperty |
Information about the platform for the Amazon ECS service or task.
For more information about RuntimePlatform , see RuntimePlatform in the Amazon Elastic Container Service Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const runtimePlatformProperty: ecs_mixins.CfnTaskDefinitionPropsMixin.RuntimePlatformProperty = {
cpuArchitecture: 'cpuArchitecture',
operatingSystemFamily: 'operatingSystemFamily',
};
Properties
| Name | Type | Description |
|---|---|---|
| cpu | string | The CPU architecture. |
| operating | string | The operating system. |
cpuArchitecture?
Type:
string
(optional)
The CPU architecture.
You can run your Linux tasks on an ARM-based platform by setting the value to ARM64 . This option is available for tasks that run on Linux Amazon EC2 instance, Amazon ECS Managed Instances, or Linux containers on Fargate.
operatingSystemFamily?
Type:
string
(optional)
The operating system.

.NET
Go
Java
Python
TypeScript