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