StateMachineGrantsProps

class aws_cdk.aws_stepfunctions.StateMachineGrantsProps(*, resource)

Bases: object

Properties for StateMachineGrants.

Parameters:

resource (IStateMachineRef) – The resource on which actions will be allowed.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions as stepfunctions
from aws_cdk.interfaces import aws_stepfunctions as interfaces_aws_stepfunctions

# state_machine_ref: interfaces_aws_stepfunctions.IStateMachineRef

state_machine_grants_props = stepfunctions.StateMachineGrantsProps(
    resource=state_machine_ref
)

Attributes

resource

The resource on which actions will be allowed.