# CfnTypeProps

Properties for defining a `CfnType`.

Extends: CfnTypeProps
Used as props by: CfnType

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const cfnTypeProps: appsync.CfnTypeProps = {
  apiId: 'apiId',
  definition: 'definition',
  format: 'format',
};
```

## Properties

- `apiId`: string (required) — The API ID.

- `definition`: string (required) — The type definition, in GraphQL Schema Definition Language (SDL) format.

- `format`: string (required) — The type format: SDL or JSON.
