Interface IamRoleAccess.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IamRoleAccess.Builder,,IamRoleAccess> SdkBuilder<IamRoleAccess.Builder,,IamRoleAccess> SdkPojo
- Enclosing class:
IamRoleAccess
@Mutable
@NotThreadSafe
public static interface IamRoleAccess.Builder
extends SdkPojo, CopyableBuilder<IamRoleAccess.Builder,IamRoleAccess>
-
Method Summary
Modifier and TypeMethodDescriptionThe IAM role that AWS Context assumes to read this connection's data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
roleArn
The IAM role that AWS Context assumes to read this connection's data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as
ingestionConfig.roleArn. You must haveiam:PassRolepermission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail withAccessDeniedException.- Parameters:
roleArn- The IAM role that AWS Context assumes to read this connection's data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format asingestionConfig.roleArn. You must haveiam:PassRolepermission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail withAccessDeniedException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-