AddFieldOptions

class aws_cdk.aws_appsync.AddFieldOptions(*, field=None, field_name=None)

Bases: object

(experimental) The options to add a field to an Intermediate Type.

Parameters
  • field (Optional[IField]) – (experimental) The resolvable field to add. This option must be configured for Object, Interface, Input and Union Types. Default: - no IField

  • field_name (Optional[str]) – (experimental) The name of the field. This option must be configured for Object, Interface, Input and Enum Types. Default: - no fieldName

Stability

experimental

Attributes

field

(experimental) The resolvable field to add.

This option must be configured for Object, Interface, Input and Union Types.

Default
  • no IField

Stability

experimental

Return type

Optional[IField]

field_name

(experimental) The name of the field.

This option must be configured for Object, Interface, Input and Enum Types.

Default
  • no fieldName

Stability

experimental

Return type

Optional[str]