Class ScheduleLambdaFunctionDecisionAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
Required. The SWFid
of the AWS Lambda task.getInput()
The input provided to the AWS Lambda function.getName()
Required. The name of the AWS Lambda function to invoke.If set, specifies the maximum duration the function may take to execute.int
hashCode()
void
Required. The SWFid
of the AWS Lambda task.void
The input provided to the AWS Lambda function.void
Required. The name of the AWS Lambda function to invoke.void
setStartToCloseTimeout
(String startToCloseTimeout) If set, specifies the maximum duration the function may take to execute.toString()
Returns a string representation of this object; useful for testing and debugging.Required. The SWFid
of the AWS Lambda task.The input provided to the AWS Lambda function.Required. The name of the AWS Lambda function to invoke.withStartToCloseTimeout
(String startToCloseTimeout) If set, specifies the maximum duration the function may take to execute.
-
Constructor Details
-
ScheduleLambdaFunctionDecisionAttributes
public ScheduleLambdaFunctionDecisionAttributes()
-
-
Method Details
-
setId
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 ( - | - ). Also, it must not contain the literal string quotarnquot.- Parameters:
id
- Required. The SWFid
of the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:
(colon),/
(slash),|
-
getId
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 ( - | - ). Also, it must not contain the literal string quotarnquot.- Returns:
- 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),|
-
withId
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 ( - | - ). Also, it must not contain the literal string quotarnquot.- Parameters:
id
- Required. The SWFid
of the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:
(colon),/
(slash),|
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
Required. The name of the AWS Lambda function to invoke.
- Parameters:
name
- Required.
-
getName
Required. The name of the AWS Lambda function to invoke.
- Returns:
- Required.
-
withName
Required. The name of the AWS Lambda function to invoke.
- Parameters:
name
- Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
The input provided to the AWS Lambda function.
- Parameters:
input
- The input provided to the AWS Lambda function.
-
getInput
The input provided to the AWS Lambda function.
- Returns:
- The input provided to the AWS Lambda function.
-
withInput
The input provided to the AWS Lambda function.
- Parameters:
input
- The input provided to the AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartToCloseTimeout
If set, specifies the maximum duration the function may take to execute.
- Parameters:
startToCloseTimeout
- If set, specifies the maximum duration the function may take to execute.
-
getStartToCloseTimeout
If set, specifies the maximum duration the function may take to execute.
- Returns:
- If set, specifies the maximum duration the function may take to execute.
-
withStartToCloseTimeout
If set, specifies the maximum duration the function may take to execute.
- Parameters:
startToCloseTimeout
- If set, specifies the maximum duration the function may take to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-