import * as core from "@terrascript/core"; export interface DsStateMachineArgs { /** * (Required) The friendly name of the state machine to match. */ name: string | core.StringOut; } export class DsStateMachine extends core.Data { /** * Set to the arn of the state function. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The date the state machine was created. */ @core.attr(String, { computed: true }) public creationDate!: string | core.StringOut; /** * Set to the state machine definition. */ @core.attr(String, { computed: true }) public definition!: string | core.StringOut; /** * Set to the ARN of the found state machine, suitable for referencing in other resources that support * State Machines. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The friendly name of the state machine to match. */ @core.attr(String) public name!: string | core.StringOut; /** * Set to the role_arn used by the state function. */ @core.attr(String, { computed: true }) public roleArn!: string | core.StringOut; /** * Set to the current status of the state machine. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; constructor(name: string, args?: DsStateMachineArgs) { super(name, "aws_sfn_state_machine", args); } public override getNamespace(): string { return "aws_sfn"; } }