Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Resource = Resource' {}
- newResource :: Resource
- resource_stringSetValue :: Lens' Resource (Maybe [Text])
- resource_integerValue :: Lens' Resource (Maybe Int)
- resource_doubleValue :: Lens' Resource (Maybe Double)
- resource_longValue :: Lens' Resource (Maybe Integer)
- resource_name :: Lens' Resource (Maybe Text)
- resource_type :: Lens' Resource (Maybe Text)
Documentation
Describes the resources available for a container instance.
See: newResource
smart constructor.
Resource' | |
|
Instances
newResource :: Resource Source #
Create a value of Resource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stringSetValue:Resource'
, resource_stringSetValue
- When the stringSetValue
type is set, the value of the resource must be
a string type.
$sel:integerValue:Resource'
, resource_integerValue
- When the integerValue
type is set, the value of the resource must be
an integer.
$sel:doubleValue:Resource'
, resource_doubleValue
- When the doubleValue
type is set, the value of the resource must be a
double precision floating-point type.
$sel:longValue:Resource'
, resource_longValue
- When the longValue
type is set, the value of the resource must be an
extended precision floating-point type.
$sel:name:Resource'
, resource_name
- The name of the resource, such as CPU
, MEMORY
, PORTS
, PORTS_UDP
,
or a user-defined resource.
$sel:type':Resource'
, resource_type
- The type of the resource, such as INTEGER
, DOUBLE
, LONG
, or
STRINGSET
.
resource_stringSetValue :: Lens' Resource (Maybe [Text]) Source #
When the stringSetValue
type is set, the value of the resource must be
a string type.
resource_integerValue :: Lens' Resource (Maybe Int) Source #
When the integerValue
type is set, the value of the resource must be
an integer.
resource_doubleValue :: Lens' Resource (Maybe Double) Source #
When the doubleValue
type is set, the value of the resource must be a
double precision floating-point type.
resource_longValue :: Lens' Resource (Maybe Integer) Source #
When the longValue
type is set, the value of the resource must be an
extended precision floating-point type.