# StateMachineGrantsProps

Properties for StateMachineGrants.

- Source: [`aws-stepfunctions/lib/state-machine-grants.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-stepfunctions/lib/state-machine-grants.ts#L8)
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
import { aws_stepfunctions as interfaces_stepfunctions } from 'aws-cdk-lib/interfaces';

declare const stateMachineRef: interfaces_stepfunctions.IStateMachineRef;
const stateMachineGrantsProps: stepfunctions.StateMachineGrantsProps = {
  resource: stateMachineRef,
};
```

## Properties

- `resource`: [IStateMachineRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_stepfunctions.IStateMachineRef.html) (required) — The resource on which actions will be allowed.
