Skip to content
v2.278.0

Experimental

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

EnrichmentParametersConfig Struct ​

The parameters required to set up enrichment on your pipe.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pipes_alpha from '@aws-cdk/aws-pipes-alpha';
const enrichmentParametersConfig: pipes_alpha.EnrichmentParametersConfig = {
  enrichmentParameters: {
    httpParameters: {
      headerParameters: {
        headerParametersKey: 'headerParameters',
      },
      pathParameterValues: ['pathParameterValues'],
      queryStringParameters: {
        queryStringParametersKey: 'queryStringParameters',
      },
    },
    inputTemplate: 'inputTemplate',
  },
};
python
from aws_cdk.aws_pipes.PipeEnrichmentParametersProperty import PipeEnrichmentParametersProperty
from aws_cdk.aws_pipes.PipeEnrichmentHttpParametersProperty import PipeEnrichmentHttpParametersProperty
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_pipes_alpha as pipes_alpha

enrichment_parameters_config = pipes_alpha.EnrichmentParametersConfig(
    enrichment_parameters=PipeEnrichmentParametersProperty(
        http_parameters=PipeEnrichmentHttpParametersProperty(
            header_parameters={
                "header_parameters_key": "headerParameters"
            },
            path_parameter_values=["pathParameterValues"],
            query_string_parameters={
                "query_string_parameters_key": "queryStringParameters"
            }
        ),
        input_template="inputTemplate"
    )
)
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.pipes.alpha.*;

EnrichmentParametersConfig enrichmentParametersConfig = EnrichmentParametersConfig.builder()
        .enrichmentParameters(PipeEnrichmentParametersProperty.builder()
                .httpParameters(PipeEnrichmentHttpParametersProperty.builder()
                        .headerParameters(Map.of(
                                "headerParametersKey", "headerParameters"))
                        .pathParameterValues(List.of("pathParameterValues"))
                        .queryStringParameters(Map.of(
                                "queryStringParametersKey", "queryStringParameters"))
                        .build())
                .inputTemplate("inputTemplate")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Pipes.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes.Alpha;

var enrichmentParametersConfig = new EnrichmentParametersConfig {
    EnrichmentParameters = new PipeEnrichmentParametersProperty {
        HttpParameters = new PipeEnrichmentHttpParametersProperty {
            HeaderParameters = new Dictionary<string, string> {
                { "headerParametersKey", "headerParameters" }
            },
            PathParameterValues = new [] { "pathParameterValues" },
            QueryStringParameters = new Dictionary<string, string> {
                { "queryStringParametersKey", "queryStringParameters" }
            }
        },
        InputTemplate = "inputTemplate"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkpipesalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import pipes_alpha "github.com/aws/aws-cdk-go/awscdkpipesalpha"

enrichmentParametersConfig := &EnrichmentParametersConfig{
	EnrichmentParameters: &PipeEnrichmentParametersProperty{
		HttpParameters: &PipeEnrichmentHttpParametersProperty{
			HeaderParameters: map[string]*string{
				"headerParametersKey": jsii.String("headerParameters"),
			},
			PathParameterValues: []*string{
				jsii.String("pathParameterValues"),
			},
			QueryStringParameters: map[string]*string{
				"queryStringParametersKey": jsii.String("queryStringParameters"),
			},
		},
		InputTemplate: jsii.String("inputTemplate"),
	},
}

Properties ​

The parameters for the enrichment target.