AWS SDK Version 2 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.

.NET Framework 3.5
 
Describes the resources available for a container instance.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Resource

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class Resource : Object

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8