AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the resources available for a container instance.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Resource

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z

Syntax

C#
public class Resource

The Resource type exposes the following members

Constructors

NameDescription
Public Method Resource()

Properties

NameTypeDescription
Public Property DoubleValue System.Double

Gets and sets the property DoubleValue.

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Public Property IntegerValue System.Int32

Gets and sets the property IntegerValue.

When the integerValue type is set, the value of the resource must be an integer.

Public Property LongValue System.Int64

Gets and sets the property LongValue.

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Public Property Name System.String

Gets and sets the property Name.

The name of the resource, such as cpu, memory, ports, or a user-defined resource.

Public Property StringSetValue System.Collections.Generic.List<System.String>

Gets and sets the property StringSetValue.

When the stringSetValue type is set, the value of the resource must be a string type.

Public Property Type System.String

Gets and sets the property Type.

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms