public static final class FunctionRefProps.Builder extends Object
FunctionRefProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionRefProps |
build()
Builds the configured instance.
|
FunctionRefProps.Builder |
withFunctionArn(String value)
Sets the value of FunctionArn
|
FunctionRefProps.Builder |
withRole(software.amazon.awscdk.services.iam.Role value)
Sets the value of Role
|
FunctionRefProps.Builder |
withSecurityGroupId(String value)
Sets the value of SecurityGroupId
|
public FunctionRefProps.Builder withFunctionArn(String value)
value - The ARN of the Lambda function.
Format: arn:thispublic FunctionRefProps.Builder withRole(@Nullable software.amazon.awscdk.services.iam.Role value)
value - The IAM execution role associated with this function.
If the role is not specified, any role-related operations will no-op.thispublic FunctionRefProps.Builder withSecurityGroupId(@Nullable String value)
value - Id of the securityGroup for this Lambda, if in a VPC.
This needs to be given in order to support allowing connections
to this Lambda.thispublic FunctionRefProps build()
FunctionRefPropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.