EnumTypeOptions

class aws_cdk.aws_appsync.EnumTypeOptions(*, definition)

Bases: object

(experimental) Properties for configuring an Enum Type.

Parameters:

definition (Sequence[str]) – (experimental) the attributes of this type.

Stability:

experimental

ExampleMetadata:

infused

Example:

# api: appsync.GraphqlApi

episode = appsync.EnumType("Episode",
    definition=["NEWHOPE", "EMPIRE", "JEDI"
    ]
)
api.add_type(episode)

Attributes

definition

(experimental) the attributes of this type.

Stability:

experimental