The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ECS::Resource

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ECS::Resource object:

  $service_obj->Method(Att1 => { DoubleValue => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Resource object:

  $result = $service_obj->Method(...);
  $result->Att1->DoubleValue

DESCRIPTION

Describes the resources available for a container instance.

ATTRIBUTES

DoubleValue => Num

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

IntegerValue => Int

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

LongValue => Int

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

Name => Str

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

StringSetValue => ArrayRef[Str|Undef]

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

Type => Str

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ECS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues