StructuredPojo
, ToCopyableBuilder<ScheduleLambdaFunctionDecisionAttributes.Builder,ScheduleLambdaFunctionDecisionAttributes>
@Generated("software.amazon.awssdk:codegen") public class ScheduleLambdaFunctionDecisionAttributes extends Object implements StructuredPojo, ToCopyableBuilder<ScheduleLambdaFunctionDecisionAttributes.Builder,ScheduleLambdaFunctionDecisionAttributes>
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:
Resource
element with the domain name to limit the action to only specified domains.Action
element to allow or deny permission to call this action.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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ScheduleLambdaFunctionDecisionAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ScheduleLambdaFunctionDecisionAttributes.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
Required. The SWF
id of the AWS Lambda task. |
String |
input() |
The input provided to the AWS Lambda function.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
Required. The name of the AWS Lambda function to invoke.
|
static Class<? extends ScheduleLambdaFunctionDecisionAttributes.Builder> |
serializableBuilderClass() |
|
String |
startToCloseTimeout() |
If set, specifies the maximum duration the function may take to execute.
|
ScheduleLambdaFunctionDecisionAttributes.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String id()
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.
id
of the AWS Lambda task.
The specified string must not start or end with whitespace. It must not contain a :
(colon),
/
(slash), |
public String name()
Required. The name of the AWS Lambda function to invoke.
public String input()
The input provided to the AWS Lambda function.
public String startToCloseTimeout()
If set, specifies the maximum duration the function may take to execute.
public ScheduleLambdaFunctionDecisionAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScheduleLambdaFunctionDecisionAttributes.Builder,ScheduleLambdaFunctionDecisionAttributes>
public static ScheduleLambdaFunctionDecisionAttributes.Builder builder()
public static Class<? extends ScheduleLambdaFunctionDecisionAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.