class HttpParameter
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Events.HttpParameter |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#HttpParameter |
Java | software.amazon.awscdk.services.events.HttpParameter |
Python | aws_cdk.aws_events.HttpParameter |
TypeScript (source) | aws-cdk-lib » aws_events » HttpParameter |
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 * as cdk from 'aws-cdk-lib';
import { aws_events as events } from 'aws-cdk-lib';
declare const secretValue: cdk.SecretValue;
const httpParameter = events.HttpParameter.fromSecret(secretValue);
Initializer
new HttpParameter()
Methods
Name | Description |
---|---|
static from | Make an OAuthParameter from a secret. |
static from | Make an OAuthParameter from a string value. |
Secret(value)
static frompublic static fromSecret(value: SecretValue): HttpParameter
Parameters
- value
Secret
Value
Returns
Make an OAuthParameter from a secret.
String(value)
static frompublic static fromString(value: string): HttpParameter
Parameters
- value
string
Returns
Make an OAuthParameter from a string value.
The value is not treated as a secret.