| Package | Description |
|---|---|
| software.amazon.awssdk.services.iam |
|
| software.amazon.awssdk.services.iam.model |
| Modifier and Type | Method and Description |
|---|---|
default AttachUserPolicyResponse |
IamClient.attachUserPolicy(Consumer<AttachUserPolicyRequest.Builder> attachUserPolicyRequest)
Attaches the specified managed policy to the specified user.
|
default CompletableFuture<AttachUserPolicyResponse> |
IamAsyncClient.attachUserPolicy(Consumer<AttachUserPolicyRequest.Builder> attachUserPolicyRequest)
Attaches the specified managed policy to the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachUserPolicyRequest.Builder |
AttachUserPolicyRequest.builder() |
AttachUserPolicyRequest.Builder |
AttachUserPolicyRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AttachUserPolicyRequest.Builder |
AttachUserPolicyRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AttachUserPolicyRequest.Builder |
AttachUserPolicyRequest.Builder.policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to attach.
|
AttachUserPolicyRequest.Builder |
AttachUserPolicyRequest.toBuilder() |
AttachUserPolicyRequest.Builder |
AttachUserPolicyRequest.Builder.userName(String userName)
The name (friendly name, not ARN) of the IAM user to attach the policy to.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends AttachUserPolicyRequest.Builder> |
AttachUserPolicyRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.