You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppMesh::Types::Duration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::Duration
- Defined in:
- (unknown)
Overview
Note:
When passing Duration as input to an Aws::Client method, you can use a vanilla Hash:
{
unit: "s", # accepts s, ms
value: 1,
}
An object that represents a duration of time.
Returned by:
Instance Attribute Summary collapse
-
#unit ⇒ String
A unit of time.
-
#value ⇒ Integer
A number of time units.
Instance Attribute Details
#unit ⇒ String
A unit of time.
Possible values:
- s
- ms
#value ⇒ Integer
A number of time units.