@Stability(value=Stable)
public static interface CfnTaskDefinition.RuntimePlatformProperty
extends software.amazon.jsii.JsiiSerializable
For more informataion 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 software.amazon.awscdk.services.ecs.*;
RuntimePlatformProperty runtimePlatformProperty = RuntimePlatformProperty.builder()
.cpuArchitecture("cpuArchitecture")
.operatingSystemFamily("operatingSystemFamily")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskDefinition.RuntimePlatformProperty.Builder
A builder for
CfnTaskDefinition.RuntimePlatformProperty |
static class |
CfnTaskDefinition.RuntimePlatformProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.RuntimePlatformProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskDefinition.RuntimePlatformProperty.Builder |
builder() |
default String |
getCpuArchitecture()
The CPU architecture.
|
default String |
getOperatingSystemFamily()
The operating system.
|
@Stability(value=Stable) @Nullable default String getCpuArchitecture()
You can run your Linux tasks on an ARM-based platform by setting the value to ARM64 . This option is avaiable for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
@Stability(value=Stable) @Nullable default String getOperatingSystemFamily()
@Stability(value=Stable) static CfnTaskDefinition.RuntimePlatformProperty.Builder builder()
Copyright © 2022. All rights reserved.