Class CfnTaskDefinition.RuntimePlatformProperty
Information about the platform for the Amazon ECS service or task.
Inheritance
System.Object
CfnTaskDefinition.RuntimePlatformProperty
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class RuntimePlatformProperty : Object, CfnTaskDefinition.IRuntimePlatformProperty
Syntax (vb)
Public Class RuntimePlatformProperty
Inherits Object
Implements CfnTaskDefinition.IRuntimePlatformProperty
Remarks
For more information about RuntimePlatform
, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var runtimePlatformProperty = new RuntimePlatformProperty {
CpuArchitecture = "cpuArchitecture",
OperatingSystemFamily = "operatingSystemFamily"
};
Synopsis
Constructors
RuntimePlatformProperty() |
Properties
CpuArchitecture | The CPU architecture. |
OperatingSystemFamily | The operating system. |
Constructors
RuntimePlatformProperty()
public RuntimePlatformProperty()
Properties
CpuArchitecture
The CPU architecture.
public string CpuArchitecture { get; set; }
Property Value
System.String
Remarks
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.
OperatingSystemFamily
The operating system.
public string OperatingSystemFamily { get; set; }
Property Value
System.String