Skip to content
v2.274.0

StateMachineGrantsProps Struct ​

Properties for StateMachineGrants.

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 ​

The resource on which actions will be allowed.