ObjectTypeOptions

class aws_cdk.aws_appsync.ObjectTypeOptions(*, definition, directives=None, interface_types=None)

Bases: aws_cdk.aws_appsync.IntermediateTypeOptions

(experimental) Properties for configuring an Object Type.

Parameters
  • definition (Mapping[str, IField]) – (experimental) the attributes of this type.

  • directives (Optional[List[Directive]]) – (experimental) the directives for this object type. Default: - no directives

  • interface_types (Optional[List[InterfaceType]]) – (experimental) The Interface Types this Object Type implements. Default: - no interface types

Stability

experimental

Attributes

definition

(experimental) the attributes of this type.

Stability

experimental

Return type

Mapping[str, IField]

directives

(experimental) the directives for this object type.

Default
  • no directives

Stability

experimental

Return type

Optional[List[Directive]]

interface_types

(experimental) The Interface Types this Object Type implements.

Default
  • no interface types

Stability

experimental

Return type

Optional[List[InterfaceType]]