HttpParameter

class aws_cdk.aws_events.HttpParameter

Bases: object

An additional HTTP parameter to send along with the OAuth request.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_events as events
import aws_cdk.core as cdk

# secret_value: cdk.SecretValue

http_parameter = events.HttpParameter.from_secret(secret_value)

Static Methods

classmethod from_secret(value)

Make an OAuthParameter from a secret.

Parameters

value (SecretValue) –

Return type

HttpParameter

classmethod from_string(value)

Make an OAuthParameter from a string value.

The value is not treated as a secret.

Parameters

value (str) –

Return type

HttpParameter