Class IntegrationCredentials

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.IntegrationCredentials
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.308Z") @Stability(Experimental) public abstract class IntegrationCredentials extends software.amazon.jsii.JsiiObject
(experimental) Credentials used for AWS Service integrations.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigatewayv2.*;
 import software.amazon.awscdk.services.iam.*;
 Role role;
 IntegrationCredentials integrationCredentials = IntegrationCredentials.fromRole(role);
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    IntegrationCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    IntegrationCredentials(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Use the specified role for integration requests.
    abstract String
    (experimental) The ARN of the credentials.
    (experimental) Use the calling user's identity to call the integration.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • IntegrationCredentials

      protected IntegrationCredentials(software.amazon.jsii.JsiiObjectRef objRef)
    • IntegrationCredentials

      protected IntegrationCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • IntegrationCredentials

      @Stability(Experimental) protected IntegrationCredentials()
  • Method Details

    • fromRole

      @Stability(Experimental) @NotNull public static IntegrationCredentials fromRole(@NotNull IRole role)
      (experimental) Use the specified role for integration requests.

      Parameters:
      role - This parameter is required.
    • useCallerIdentity

      @Stability(Experimental) @NotNull public static IntegrationCredentials useCallerIdentity()
      (experimental) Use the calling user's identity to call the integration.
    • getCredentialsArn

      @Stability(Experimental) @NotNull public abstract String getCredentialsArn()
      (experimental) The ARN of the credentials.