Interface CfnTaskDefinition.RuntimePlatformProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.RuntimePlatformProperty.Jsii$Proxy
- Enclosing class:
CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.RuntimePlatformProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecs.*; RuntimePlatformProperty runtimePlatformProperty = RuntimePlatformProperty.builder() .cpuArchitecture("cpuArchitecture") .operatingSystemFamily("operatingSystemFamily") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskDefinition.RuntimePlatformProperty
static final class
An implementation forCfnTaskDefinition.RuntimePlatformProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpuArchitecture
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 or Linux containers on Fargate.- See Also:
-
getOperatingSystemFamily
The operating system.- See Also:
-
builder
-