Class HttpParameter
An additional HTTP parameter to send along with the OAuth request.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class HttpParameter : DeputyBase
Syntax (vb)
Public MustInherit Class HttpParameter Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Events;
SecretValue secretValue;
var httpParameter = HttpParameter.FromSecret(secretValue);
Synopsis
Constructors
| HttpParameter() | An additional HTTP parameter to send along with the OAuth request. |
Methods
| FromSecret(SecretValue) | Make an OAuthParameter from a secret. |
| FromString(string) | Make an OAuthParameter from a string value. |
Constructors
HttpParameter()
An additional HTTP parameter to send along with the OAuth request.
protected HttpParameter()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Events;
SecretValue secretValue;
var httpParameter = HttpParameter.FromSecret(secretValue);
Methods
FromSecret(SecretValue)
Make an OAuthParameter from a secret.
public static HttpParameter FromSecret(SecretValue value)
Parameters
- value SecretValue
Returns
Remarks
ExampleMetadata: fixture=_generated
FromString(string)
Make an OAuthParameter from a string value.
public static HttpParameter FromString(string value)
Parameters
- value string
Returns
Remarks
The value is not treated as a secret.