Struct rusoto_swf::ScheduleLambdaFunctionDecisionAttributes [] [src]

pub struct ScheduleLambdaFunctionDecisionAttributes {
    pub id: String,
    pub input: Option<String>,
    pub name: String,
    pub start_to_close_timeout: Option<String>,
}

Provides details of the ScheduleLambdaFunction decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

  • Use a Resource element with the domain name to limit the action to only specified domains.
  • Use an Action element to allow or deny permission to call this action.
  • Constrain the following parameters by using a Condition element with the appropriate keys.
    • activityType.name: String constraint. The key is swf:activityType.name.
    • activityType.version: String constraint. The key is swf:activityType.version.
    • taskList: String constraint. The key is swf:taskList.name.

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

Fields

Required. The SWF id of the AWS Lambda task.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string quotarnquot.

The input provided to the AWS Lambda function.

Required. The name of the AWS Lambda function to invoke.

If set, specifies the maximum duration the function may take to execute.

Trait Implementations

impl Default for ScheduleLambdaFunctionDecisionAttributes
[src]

Returns the "default value" for a type. Read more

impl Debug for ScheduleLambdaFunctionDecisionAttributes
[src]

Formats the value using the given formatter.

impl Clone for ScheduleLambdaFunctionDecisionAttributes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more