Skip to content
v2.278.0

ProxySettingsProperty Struct ​

The proxy listener configuration for a proxy-mode (no source preservation) firewall.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const proxySettingsProperty: networkfirewall.CfnFirewall.ProxySettingsProperty = {
  listenerProperties: [{
    port: 123,
    type: 'type',
  }],
};
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_networkfirewall as networkfirewall

proxy_settings_property = networkfirewall.CfnFirewall.ProxySettingsProperty(
    listener_properties=[networkfirewall.CfnFirewall.ListenerPropertyProperty(
        port=123,
        type="type"
    )]
)
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.networkfirewall.*;

ProxySettingsProperty proxySettingsProperty = ProxySettingsProperty.builder()
        .listenerProperties(List.of(ListenerPropertyProperty.builder()
                .port(123)
                .type("type")
                .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.NetworkFirewall;

var proxySettingsProperty = new ProxySettingsProperty {
    ListenerProperties = new [] { new ListenerPropertyProperty {
        Port = 123,
        Type = "type"
    } }
};
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"

proxySettingsProperty := &ProxySettingsProperty{
	ListenerProperties: []interface{}{
		&ListenerPropertyProperty{
			Port: jsii.Number(123),
			Type: jsii.String("type"),
		},
	},
}

Properties ​

listenerPropertiesoptionalIResolvable | IResolvable | CfnFirewall.ListenerPropertyProperty[]listener_propertiesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ListenerPropertyProperty]]]listenerPropertiesoptionalIResolvableListenerPropertiesoptionalIResolvableListenerPropertiesoptionalinterface{} #