public static final class FunctionAttributes.Builder extends Object
FunctionAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionAttributes |
build()
Builds the configured instance.
|
FunctionAttributes.Builder |
withFunctionArn(String value)
Sets the value of FunctionArn
|
FunctionAttributes.Builder |
withRole(software.amazon.awscdk.services.iam.IRole value)
Sets the value of Role
|
FunctionAttributes.Builder |
withSecurityGroupId(String value)
Sets the value of SecurityGroupId
|
public FunctionAttributes.Builder withFunctionArn(String value)
value - The ARN of the Lambda function.thispublic FunctionAttributes.Builder withRole(@Nullable software.amazon.awscdk.services.iam.IRole value)
value - The IAM execution role associated with this function.thispublic FunctionAttributes.Builder withSecurityGroupId(@Nullable String value)
value - Id of the securityGroup for this Lambda, if in a VPC.thispublic FunctionAttributes build()
FunctionAttributesNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.