@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.451Z") @Stability(value=Stable) public interface InitUserOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
InitUserOptions initUserOptions = InitUserOptions.builder()
.groups(List.of("groups"))
.homeDir("homeDir")
.userId(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
InitUserOptions.Builder
A builder for
InitUserOptions |
static class |
InitUserOptions.Jsii$Proxy
An implementation for
InitUserOptions |
| Modifier and Type | Method and Description |
|---|---|
static InitUserOptions.Builder |
builder() |
default List<String> |
getGroups()
A list of group names.
|
default String |
getHomeDir()
The user's home directory.
|
default Number |
getUserId()
A user ID.
|
@Stability(value=Stable) @Nullable default List<String> getGroups()
The user will be added to each group in the list.
Default: the user is not associated with any groups.
@Stability(value=Stable) @Nullable default String getHomeDir()
Default: assigned by the OS
@Stability(value=Stable) @Nullable default Number getUserId()
The creation process fails if the user name exists with a different user ID. If the user ID is already assigned to an existing user the operating system may reject the creation request.
Default: assigned by the OS
@Stability(value=Stable) static InitUserOptions.Builder builder()
InitUserOptions.Builder of InitUserOptionsCopyright © 2022. All rights reserved.