Class AwsCredentialSource

    • Constructor Summary

      Constructors 
      Constructor Description
      AwsCredentialSource​(java.util.Map<java.lang.String,​java.lang.Object> credentialSourceMap)
      The source of the AWS credential.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • IMDSV2_SESSION_TOKEN_URL_FIELD_NAME

        static final java.lang.String IMDSV2_SESSION_TOKEN_URL_FIELD_NAME
        See Also:
        Constant Field Values
      • regionUrl

        final java.lang.String regionUrl
      • url

        final java.lang.String url
      • regionalCredentialVerificationUrl

        final java.lang.String regionalCredentialVerificationUrl
      • imdsv2SessionTokenUrl

        final java.lang.String imdsv2SessionTokenUrl
    • Constructor Detail

      • AwsCredentialSource

        public AwsCredentialSource​(java.util.Map<java.lang.String,​java.lang.Object> credentialSourceMap)
        The source of the AWS credential. The credential source map must contain the `regional_cred_verification_url` field.

        The `regional_cred_verification_url` is the regional GetCallerIdentity action URL, used to determine the account ID and its roles.

        The `environment_id` is the environment identifier, in the format “aws${version}”. This indicates whether breaking changes were introduced to the underlying AWS implementation.

        The `region_url` identifies the targeted region. Optional.

        The `url` locates the metadata server used to retrieve the AWS credentials. Optional.