Class HttpParameter

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.HttpParameter
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:02.231Z") @Stability(Stable) public abstract class HttpParameter extends software.amazon.jsii.JsiiObject
An additional HTTP parameter to send along with the OAuth request.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.events.*;
 SecretValue secretValue;
 HttpParameter httpParameter = HttpParameter.fromSecret(secretValue);
 
  • 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
    HttpParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    HttpParameter(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Make an OAuthParameter from a secret.
    Make an OAuthParameter from a string value.

    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

    • HttpParameter

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

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

      @Stability(Stable) protected HttpParameter()
  • Method Details

    • fromSecret

      @Stability(Stable) @NotNull public static HttpParameter fromSecret(@NotNull SecretValue value)
      Make an OAuthParameter from a secret.

      Parameters:
      value - This parameter is required.
    • fromString

      @Stability(Stable) @NotNull public static HttpParameter fromString(@NotNull String value)
      Make an OAuthParameter from a string value.

      The value is not treated as a secret.

      Parameters:
      value - This parameter is required.