interface RuntimePlatform
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.RuntimePlatform |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#RuntimePlatform |
![]() | software.amazon.awscdk.services.ecs.RuntimePlatform |
![]() | aws_cdk.aws_ecs.RuntimePlatform |
![]() | aws-cdk-lib » aws_ecs » RuntimePlatform |
The interface for Runtime Platform.
Example
declare const cluster: ecs.Cluster;
const applicationLoadBalancedFargateService = new ecsPatterns.ApplicationLoadBalancedFargateService(this, 'Service', {
cluster,
memoryLimitMiB: 512,
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample'),
},
minHealthyPercent: 100,
runtimePlatform: {
cpuArchitecture: ecs.CpuArchitecture.ARM64,
operatingSystemFamily: ecs.OperatingSystemFamily.LINUX,
},
});
Properties
Name | Type | Description |
---|---|---|
cpu | Cpu | The CpuArchitecture for Fargate Runtime Platform. |
operating | Operating | The operating system for Fargate Runtime Platform. |
cpuArchitecture?
Type:
Cpu
(optional, default: Undefined.)
The CpuArchitecture for Fargate Runtime Platform.
operatingSystemFamily?
Type:
Operating
(optional, default: Undefined.)
The operating system for Fargate Runtime Platform.