Resource
public struct Resource : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
When the doubleValue type is set, the value of the resource must be a double precision floating-point type.
Declaration
Swift
public let doubleValue: Double? -
When the integerValue type is set, the value of the resource must be an integer.
Declaration
Swift
public let integerValue: Int? -
When the longValue type is set, the value of the resource must be an extended precision floating-point type.
Declaration
Swift
public let longValue: Int64? -
The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.
Declaration
Swift
public let name: String? -
When the stringSetValue type is set, the value of the resource must be a string type.
Declaration
Swift
public let stringSetValue: [String]? -
The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.
Declaration
Swift
public let type: String? -
Undocumented
Declaration
Swift
public init(doubleValue: Double? = nil, integerValue: Int? = nil, longValue: Int64? = nil, name: String? = nil, stringSetValue: [String]? = nil, type: String? = nil)
View on GitHub
Resource Structure Reference