public static final class CfnFunctionDefinitionVersion.RunAsProperty.Builder
extends java.lang.Object
CfnFunctionDefinitionVersion.RunAsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFunctionDefinitionVersion.RunAsProperty |
build()
Builds the configured instance.
|
CfnFunctionDefinitionVersion.RunAsProperty.Builder |
gid(java.lang.Number gid)
Sets the value of
CfnFunctionDefinitionVersion.RunAsProperty.getGid() |
CfnFunctionDefinitionVersion.RunAsProperty.Builder |
uid(java.lang.Number uid)
Sets the value of
CfnFunctionDefinitionVersion.RunAsProperty.getUid() |
public CfnFunctionDefinitionVersion.RunAsProperty.Builder gid(java.lang.Number gid)
CfnFunctionDefinitionVersion.RunAsProperty.getGid()
gid
- The group ID whose permissions are used to run the Lambda function.
You can use the getent group
command on your core device to look up the group ID.this
public CfnFunctionDefinitionVersion.RunAsProperty.Builder uid(java.lang.Number uid)
CfnFunctionDefinitionVersion.RunAsProperty.getUid()
uid
- The user ID whose permissions are used to run the Lambda function.
You can use the getent passwd
command on your core device to look up the user ID.this
public CfnFunctionDefinitionVersion.RunAsProperty build()
CfnFunctionDefinitionVersion.RunAsProperty
java.lang.NullPointerException
- if any required attribute was not provided