using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Lambda.CloudWatchEvents.ECSEvents
{
using System.Collections.Generic;
///
/// Describes the resources available for a container instance.
/// https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Resource.html
///
public class Resource
{
///
/// When the DoubleValue type is set, the value of the resource must be a
/// double precision floating-point type.
///
public double DoubleValue { get; set; }
///
/// When the IntegerValue type is set, the value of the resource must be
/// an integer.
///
public int IntegerValue { get; set; }
///
/// When the LongValue type is set, the value of the resource must be an
/// extended precision floating-point type.
///
public long LongValue { get; set; }
///
/// The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.
///
public string Name { get; set; }
///
/// The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.
///
public string Type { get; set; }
///
/// When the stringSetValue type is set, the value of the resource must be a string type.
///
public List StringSetValue { get; set; }
}
}