Class Type
(experimental) Enum containing the Types that can be used to define ObjectTypes.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public sealed class Type : Enum
Syntax (vb)
Public NotInheritable Class Type
Inherits
Enum
Remarks
Stability: Experimental
Synopsis
Fields
AWS_DATE | (experimental) |
AWS_DATE_TIME | (experimental) |
AWS_EMAIL | (experimental) |
AWS_IP_ADDRESS | (experimental) |
AWS_JSON | (experimental) |
AWS_PHONE | (experimental) |
AWS_TIME | (experimental) |
AWS_TIMESTAMP | (experimental) |
AWS_URL | (experimental) |
BOOLEAN | (experimental) |
FLOAT | (experimental) |
ID | (experimental) |
INT | (experimental) |
INTERMEDIATE | (experimental) Type used for Intermediate Types (i.e. an interface or an object type). |
STRING | (experimental) |
value__ |
Fields
AWS_DATE
(experimental) AWSDate
scalar type represents a valid extended ISO 8601 Date
string.
public const Type AWS_DATE
Field Value
Type | Description |
---|---|
Type |
Remarks
In other words, accepts date strings in the form of YYYY-MM-DD
. It accepts time zone offsets.
Stability: Experimental
AWS_DATE_TIME
(experimental) AWSDateTime
scalar type represents a valid extended ISO 8601 DateTime
string.
public const Type AWS_DATE_TIME
Field Value
Type | Description |
---|---|
Type |
Remarks
In other words, accepts date strings in the form of YYYY-MM-DDThh:mm:ss.sssZ
. It accepts time zone offsets.
Stability: Experimental
See: https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations
AWS_EMAIL
(experimental) AWSEmail
scalar type represents an email address string (i.e.username@example.com
).
public const Type AWS_EMAIL
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
AWS_IP_ADDRESS
(experimental) AWSIPAddress
scalar type respresents a valid IPv4
of IPv6
address string.
public const Type AWS_IP_ADDRESS
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
AWS_JSON
(experimental) AWSJson
scalar type represents a JSON string.
public const Type AWS_JSON
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
AWS_PHONE
(experimental) AWSPhone
scalar type represents a valid phone number. Phone numbers maybe be whitespace delimited or hyphenated.
public const Type AWS_PHONE
Field Value
Type | Description |
---|---|
Type |
Remarks
The number can specify a country code at the beginning, but is not required for US phone numbers.
Stability: Experimental
AWS_TIME
(experimental) AWSTime
scalar type represents a valid extended ISO 8601 Time
string.
public const Type AWS_TIME
Field Value
Type | Description |
---|---|
Type |
Remarks
In other words, accepts date strings in the form of hh:mm:ss.sss
. It accepts time zone offsets.
Stability: Experimental
AWS_TIMESTAMP
(experimental) AWSTimestamp
scalar type represents the number of seconds since 1970-01-01T00:00Z
.
public const Type AWS_TIMESTAMP
Field Value
Type | Description |
---|---|
Type |
Remarks
Timestamps are serialized and deserialized as numbers.
Stability: Experimental
AWS_URL
(experimental) AWSURL
scalar type represetns a valid URL string.
public const Type AWS_URL
Field Value
Type | Description |
---|---|
Type |
Remarks
URLs wihtout schemes or contain double slashes are considered invalid.
Stability: Experimental
BOOLEAN
(experimental) Boolean
scalar type is a boolean value: true or false.
public const Type BOOLEAN
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
FLOAT
(experimental) Float
scalar type is a signed double-precision fractional value.
public const Type FLOAT
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
ID
(experimental) ID
scalar type is a unique identifier. ID
type is serialized similar to String
.
public const Type ID
Field Value
Type | Description |
---|---|
Type |
Remarks
Often used as a key for a cache and not intended to be human-readable.
Stability: Experimental
INT
(experimental) Int
scalar type is a signed non-fractional numerical value.
public const Type INT
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
INTERMEDIATE
(experimental) Type used for Intermediate Types (i.e. an interface or an object type).
public const Type INTERMEDIATE
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
STRING
(experimental) String
scalar type is a free-form human-readable text.
public const Type STRING
Field Value
Type | Description |
---|---|
Type |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |