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 IFieldfield_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
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_appsync as appsync # field: appsync.Field add_field_options = appsync.AddFieldOptions( field=field, field_name="fieldName" )
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
]