enum Type
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.Type |
Java | software.amazon.awscdk.services.appsync.Type |
Python | aws_cdk.aws_appsync.Type |
TypeScript (source) | @aws-cdk/aws-appsync ยป Type |
Enum containing the Types that can be used to define ObjectTypes.
Members
| Name | Description |
|---|---|
| ID | ID scalar type is a unique identifier. ID type is serialized similar to String. |
| STRING | String scalar type is a free-form human-readable text. |
| INT | Int scalar type is a signed non-fractional numerical value. |
| FLOAT | Float scalar type is a signed double-precision fractional value. |
| BOOLEAN | Boolean scalar type is a boolean value: true or false. |
| AWS_DATE | AWSDate scalar type represents a valid extended ISO 8601 Date string. |
| AWS_TIME | AWSTime scalar type represents a valid extended ISO 8601 Time string. |
| AWS_DATE_TIME | AWSDateTime scalar type represents a valid extended ISO 8601 DateTime string. |
| AWS_TIMESTAMP | AWSTimestamp scalar type represents the number of seconds since 1970-01-01T00:00Z. |
| AWS_EMAIL | AWSEmail scalar type represents an email address string (i.e.username@example.com). |
| AWS_JSON | AWSJson scalar type represents a JSON string. |
| AWS_URL | AWSURL scalar type represetns a valid URL string. |
| AWS_PHONE | AWSPhone scalar type represents a valid phone number. Phone numbers maybe be whitespace delimited or hyphenated. |
| AWS_IP_ADDRESS | AWSIPAddress scalar type respresents a valid IPv4 of IPv6 address string. |
| INTERMEDIATE | Type used for Intermediate Types (i.e. an interface or an object type). |
ID
ID scalar type is a unique identifier. ID type is serialized similar to String.
Often used as a key for a cache and not intended to be human-readable.
STRING
String scalar type is a free-form human-readable text.
INT
Int scalar type is a signed non-fractional numerical value.
FLOAT
Float scalar type is a signed double-precision fractional value.
BOOLEAN
Boolean scalar type is a boolean value: true or false.
AWS_DATE
AWSDate scalar type represents a valid extended ISO 8601 Date string.
In other words, accepts date strings in the form of YYYY-MM-DD. It accepts time zone offsets.
See also: https://en.wikipedia.org/wiki/ISO_8601#Calendar_dates
AWS_TIME
AWSTime scalar type represents a valid extended ISO 8601 Time string.
In other words, accepts date strings in the form of hh:mm:ss.sss. It accepts time zone offsets.
See also: https://en.wikipedia.org/wiki/ISO_8601#Times
AWS_DATE_TIME
AWSDateTime scalar type represents a valid extended ISO 8601 DateTime string.
In other words, accepts date strings in the form of YYYY-MM-DDThh:mm:ss.sssZ. It accepts time zone offsets.
See also: https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations
AWS_TIMESTAMP
AWSTimestamp scalar type represents the number of seconds since 1970-01-01T00:00Z.
Timestamps are serialized and deserialized as numbers.
AWS_EMAIL
AWSEmail scalar type represents an email address string (i.e.username@example.com).
AWS_JSON
AWSJson scalar type represents a JSON string.
AWS_URL
AWSURL scalar type represetns a valid URL string.
URLs wihtout schemes or contain double slashes are considered invalid.
AWS_PHONE
AWSPhone scalar type represents a valid phone number. Phone numbers maybe be whitespace delimited or hyphenated.
The number can specify a country code at the beginning, but is not required for US phone numbers.
AWS_IP_ADDRESS
AWSIPAddress scalar type respresents a valid IPv4 of IPv6 address string.
INTERMEDIATE
Type used for Intermediate Types (i.e. an interface or an object type).

.NET
Java
Python
TypeScript (