@Generated(value="software.amazon.awssdk:codegen") public final class PermissionsBoundary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PermissionsBoundary.Builder,PermissionsBoundary>
Specifies the configuration of the Amazon Web Services managed or customer managed policy that you want to set as a
permissions boundary. Specify either CustomerManagedPolicyReference to use the name and path of a
customer managed policy, or ManagedPolicyArn to use the ARN of an Amazon Web Services managed IAM
policy. A permissions boundary represents the maximum permissions that any policy can grant your role. For more
information, see Permissions boundaries for
IAM entities in the Identity and Access Management User Guide.
Policies used as permissions boundaries do not provide permissions. You must also attach an IAM policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the Identity and Access Management User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PermissionsBoundary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PermissionsBoundary.Builder |
builder() |
CustomerManagedPolicyReference |
customerManagedPolicyReference()
Specifies the name and path of the IAM customer managed policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
managedPolicyArn()
The Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PermissionsBoundary.Builder> |
serializableBuilderClass() |
PermissionsBoundary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CustomerManagedPolicyReference customerManagedPolicyReference()
Specifies the name and path of the IAM customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
public final String managedPolicyArn()
The Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.
public PermissionsBoundary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PermissionsBoundary.Builder,PermissionsBoundary>public static PermissionsBoundary.Builder builder()
public static Class<? extends PermissionsBoundary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.