interface StateMachineGrantsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.StepFunctions.StateMachineGrantsProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#StateMachineGrantsProps |
Java | software.amazon.awscdk.services.stepfunctions.StateMachineGrantsProps |
Python | aws_cdk.aws_stepfunctions.StateMachineGrantsProps |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions » StateMachineGrantsProps |
Properties for StateMachineGrants.
Example
// 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_aws_stepfunctions } from 'aws-cdk-lib/interfaces';
declare const stateMachineRef: interfaces_aws_stepfunctions.IStateMachineRef;
const stateMachineGrantsProps: stepfunctions.StateMachineGrantsProps = {
resource: stateMachineRef,
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | IState | The resource on which actions will be allowed. |
resource
Type:
IState
The resource on which actions will be allowed.

.NET
Go
Java
Python
TypeScript (