Skip to content
v2.277.0

ConnectionHttpParametersProperty Struct ​

Any additional parameters for the connection.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const connectionHttpParametersProperty: events.CfnConnection.ConnectionHttpParametersProperty = {
  bodyParameters: [{
    key: 'key',
    value: 'value',

    // the properties below are optional
    isValueSecret: false,
  }],
  headerParameters: [{
    key: 'key',
    value: 'value',

    // the properties below are optional
    isValueSecret: false,
  }],
  queryStringParameters: [{
    key: 'key',
    value: 'value',

    // the properties below are optional
    isValueSecret: false,
  }],
};
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_events as events

connection_http_parameters_property = events.CfnConnection.ConnectionHttpParametersProperty(
    body_parameters=[events.CfnConnection.ParameterProperty(
        key="key",
        value="value",

        # the properties below are optional
        is_value_secret=False
    )],
    header_parameters=[events.CfnConnection.ParameterProperty(
        key="key",
        value="value",

        # the properties below are optional
        is_value_secret=False
    )],
    query_string_parameters=[events.CfnConnection.ParameterProperty(
        key="key",
        value="value",

        # the properties below are optional
        is_value_secret=False
    )]
)
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.events.*;

ConnectionHttpParametersProperty connectionHttpParametersProperty = ConnectionHttpParametersProperty.builder()
        .bodyParameters(List.of(ParameterProperty.builder()
                .key("key")
                .value("value")

                // the properties below are optional
                .isValueSecret(false)
                .build()))
        .headerParameters(List.of(ParameterProperty.builder()
                .key("key")
                .value("value")

                // the properties below are optional
                .isValueSecret(false)
                .build()))
        .queryStringParameters(List.of(ParameterProperty.builder()
                .key("key")
                .value("value")

                // the properties below are optional
                .isValueSecret(false)
                .build()))
        .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.Events;

var connectionHttpParametersProperty = new ConnectionHttpParametersProperty {
    BodyParameters = new [] { new ParameterProperty {
        Key = "key",
        Value = "value",

        // the properties below are optional
        IsValueSecret = false
    } },
    HeaderParameters = new [] { new ParameterProperty {
        Key = "key",
        Value = "value",

        // the properties below are optional
        IsValueSecret = false
    } },
    QueryStringParameters = new [] { new ParameterProperty {
        Key = "key",
        Value = "value",

        // the properties below are optional
        IsValueSecret = false
    } }
};
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"

connectionHttpParametersProperty := &ConnectionHttpParametersProperty{
	BodyParameters: []interface{}{
		&ParameterProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),

			// the properties below are optional
			IsValueSecret: jsii.Boolean(false),
		},
	},
	HeaderParameters: []interface{}{
		&ParameterProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),

			// the properties below are optional
			IsValueSecret: jsii.Boolean(false),
		},
	},
	QueryStringParameters: []interface{}{
		&ParameterProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),

			// the properties below are optional
			IsValueSecret: jsii.Boolean(false),
		},
	},
}

Properties ​

bodyParametersoptionalIResolvable | IResolvable | CfnConnection.ParameterProperty[]body_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ParameterProperty]]]bodyParametersoptionalIResolvableBodyParametersoptionalIResolvableBodyParametersoptionalinterface{}#
Any additional body string parameters for the connection.
headerParametersoptionalIResolvable | IResolvable | CfnConnection.ParameterProperty[]header_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ParameterProperty]]]headerParametersoptionalIResolvableHeaderParametersoptionalIResolvableHeaderParametersoptionalinterface{}#
Any additional header parameters for the connection.
queryStringParametersoptionalIResolvable | IResolvable | CfnConnection.ParameterProperty[]query_string_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ParameterProperty]]]queryStringParametersoptionalIResolvableQueryStringParametersoptionalIResolvableQueryStringParametersoptionalinterface{}#
Any additional query string parameters for the connection.