@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String stackId()
A stack ID.
public 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 Boolean allowSsh()
Whether the user can use SSH.
public Boolean allowSudo()
Whether the user can use sudo.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Permission.Builder,Permission>
public static Permission.Builder builder()
public static Class<? extends Permission.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.