Example usage for com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider subclass-usage

List of usage examples for com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider subclass-usage

Introduction

In this page you can find the example usage for com.amazonaws.auth STSAssumeRoleSessionCredentialsProvider subclass-usage.

Usage

From source file com.netflix.spinnaker.clouddriver.aws.security.NetflixSTSAssumeRoleSessionCredentialsProvider.java

public class NetflixSTSAssumeRoleSessionCredentialsProvider extends STSAssumeRoleSessionCredentialsProvider {
    private final String accountId;

    public NetflixSTSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider,
            String roleArn, String roleSessionName, String accountId) {
        super(longLivedCredentialsProvider, roleArn, roleSessionName);