Skip to content
v2.278.0

Experimental

@aws-cdk/aws-iot-actions-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

HttpActionHeader Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot_actions_alpha from '@aws-cdk/aws-iot-actions-alpha';
const httpActionHeader: iot_actions_alpha.HttpActionHeader = {
  key: 'key',
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot_actions_alpha as iot_actions_alpha

http_action_header = iot_actions_alpha.HttpActionHeader(
    key="key",
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.actions.alpha.*;

HttpActionHeader httpActionHeader = HttpActionHeader.builder()
        .key("key")
        .value("value")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.IoT.Actions.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT.Actions.Alpha;

var httpActionHeader = new HttpActionHeader {
    Key = "key",
    Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkiotactionsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import iot_actions_alpha "github.com/aws/aws-cdk-go/awscdkiotactionsalpha"

httpActionHeader := &HttpActionHeader{
	Key: jsii.String("key"),
	Value: jsii.String("value"),
}

Properties ​

keystringkeystrkeyStringKeystringKey*string required #
The HTTP header key.
valuestringvaluestrvalueStringValuestringValue*string required #
The HTTP header value.

Substitution templates are supported.