@Generated(value="software.amazon.awssdk:codegen") public final class Permission extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Permission.Builder,Permission>
Describes stack or user permissions.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Permission.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowSsh()
Whether the user can use SSH.
|
Boolean |
allowSudo()
Whether the user can use sudo.
|
static Permission.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamUserArn()
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.
|
String |
level()
The user's permission level, which must be the following:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Permission.Builder> |
serializableBuilderClass() |
String |
stackId()
A stack ID.
|
Permission.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stackId()
A stack ID.
public final String iamUserArn()
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
public final Boolean allowSsh()
Whether the user can use SSH.
public final Boolean allowSudo()
Whether the user can use sudo.
public final String level()
The user's permission level, which must be the following:
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
public Permission.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Permission.Builder,Permission>public static Permission.Builder builder()
public static Class<? extends Permission.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.