Class HttpParameter
An additional HTTP parameter to send along with the OAuth request.
Inheritance
System.Object
HttpParameter
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() | |
HttpParameter(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HttpParameter(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
FromSecret(SecretValue) | Make an OAuthParameter from a secret. |
FromString(String) | Make an OAuthParameter from a string value. |
Constructors
HttpParameter()
protected HttpParameter()
HttpParameter(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HttpParameter(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HttpParameter(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HttpParameter(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
FromSecret(SecretValue)
Make an OAuthParameter from a secret.
public static HttpParameter FromSecret(SecretValue value)
Parameters
- value SecretValue
Returns
FromString(String)
Make an OAuthParameter from a string value.
public static HttpParameter FromString(string value)
Parameters
- value System.String
Returns
Remarks
The value is not treated as a secret.