BaseTypeOptions

class aws_cdk.aws_appsync.BaseTypeOptions(*, is_list=None, is_required=None, is_required_list=None)

Bases: object

(experimental) Base options for GraphQL Types.

Parameters
  • is_list (Optional[bool]) – (experimental) property determining if this attribute is a list i.e. if true, attribute would be [Type]. Default: - false

  • is_required (Optional[bool]) – (experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be Type! Default: - false

  • is_required_list (Optional[bool]) – (experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be [ Type ]! or if isRequired true, attribe would be [ Type! ]! Default: - false

Stability

experimental

Option

isRequiredList - is this attribute a non-nullable list

Attributes

is_list

(experimental) property determining if this attribute is a list i.e. if true, attribute would be [Type].

Default
  • false

Stability

experimental

Return type

Optional[bool]

is_required

(experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be Type!

Default
  • false

Stability

experimental

Return type

Optional[bool]

is_required_list

(experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be [ Type ]! or if isRequired true, attribe would be [ Type! ]!

Default
  • false

Stability

experimental

Return type

Optional[bool]