AddHeaderActionConfig Struct
AddHeaderAction configuration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const addHeaderActionConfig: ses.AddHeaderActionConfig = {
headerName: 'headerName',
headerValue: 'headerValue',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
add_header_action_config = ses.AddHeaderActionConfig(
header_name="headerName",
header_value="headerValue"
)
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.ses.*;
AddHeaderActionConfig addHeaderActionConfig = AddHeaderActionConfig.builder()
.headerName("headerName")
.headerValue("headerValue")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var addHeaderActionConfig = new AddHeaderActionConfig {
HeaderName = "headerName",
HeaderValue = "headerValue"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
addHeaderActionConfig := &AddHeaderActionConfig{
HeaderName: jsii.String("headerName"),
HeaderValue: jsii.String("headerValue"),
}
Properties
The name of the header that you want to add to the incoming message.
The content that you want to include in the header.