Java com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider.

The text is from its open source code.

Subclass

com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider has subclasses.
Click this link to see all its subclasses.

Constructor

STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLivedCredentials, String roleArn, String roleSessionName)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified long lived AWS credentials to make a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method.
STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider, String roleArn, String roleSessionName)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified credentials provider (which vends long lived AWS credentials) to make a request to the AWS Security Token Service (STS), usess the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method.
STSAssumeRoleSessionCredentialsProvider(String roleArn, String roleSessionName)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which makes a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method.
STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLivedCredentials, String roleArn, String roleSessionName, ClientConfiguration clientConfiguration)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified long lived AWS credentials to make a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method.
STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider, String roleArn, String roleSessionName, ClientConfiguration clientConfiguration)
Constructs a new STSAssumeRoleSessionCredentialsProvider, which will use the specified credentials provider (which vends long lived AWS credentials) to make a request to the AWS Security Token Service (STS), uses the provided #roleArn to assume a role and then request short lived session credentials, which will then be returned by this class's #getCredentials() method.

Method

AWSSessionCredentialsgetCredentials()