Interface CfnTaskDefinition.IRuntimePlatformProperty
Information about the platform for the Amazon ECS service or task.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IRuntimePlatformProperty
Syntax (vb)
Public Interface 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
Properties
CpuArchitecture | The CPU architecture. |
OperatingSystemFamily | The operating system. |
Properties
CpuArchitecture
The CPU architecture.
virtual string CpuArchitecture { get; }
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.
virtual string OperatingSystemFamily { get; }
Property Value
System.String