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 isswf:activityType.name
.activityType.version
: String constraint. The key isswf:activityType.version
.taskList
: String constraint. The key isswf: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
id: String
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.
input: Option<String>
The input provided to the AWS Lambda function.
name: String
Required. The name of the AWS Lambda function to invoke.
start_to_close_timeout: Option<String>
If set, specifies the maximum duration the function may take to execute.
Trait Implementations
impl Default for ScheduleLambdaFunctionDecisionAttributes
[src]
fn default() -> ScheduleLambdaFunctionDecisionAttributes
Returns the "default value" for a type. Read more
impl Debug for ScheduleLambdaFunctionDecisionAttributes
[src]
impl Clone for ScheduleLambdaFunctionDecisionAttributes
[src]
fn clone(&self) -> ScheduleLambdaFunctionDecisionAttributes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more