Skip to content
v2.278.0

ServerCertificateScopeProperty Struct ​

Settings that define the Secure Sockets Layer/Transport Layer Security (SSL/TLS) traffic that Network Firewall should decrypt for inspection by the stateful rule engine.

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 serverCertificateScopeProperty: networkfirewall.CfnTLSInspectionConfiguration.ServerCertificateScopeProperty = {
  destinationPorts: [{
    fromPort: 123,
    toPort: 123,
  }],
  destinations: [{
    addressDefinition: 'addressDefinition',
  }],
  protocols: [123],
  sourcePorts: [{
    fromPort: 123,
    toPort: 123,
  }],
  sources: [{
    addressDefinition: 'addressDefinition',
  }],
};
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

server_certificate_scope_property = networkfirewall.CfnTLSInspectionConfiguration.ServerCertificateScopeProperty(
    destination_ports=[networkfirewall.CfnTLSInspectionConfiguration.PortRangeProperty(
        from_port=123,
        to_port=123
    )],
    destinations=[networkfirewall.CfnTLSInspectionConfiguration.AddressProperty(
        address_definition="addressDefinition"
    )],
    protocols=[123],
    source_ports=[networkfirewall.CfnTLSInspectionConfiguration.PortRangeProperty(
        from_port=123,
        to_port=123
    )],
    sources=[networkfirewall.CfnTLSInspectionConfiguration.AddressProperty(
        address_definition="addressDefinition"
    )]
)
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.*;

ServerCertificateScopeProperty serverCertificateScopeProperty = ServerCertificateScopeProperty.builder()
        .destinationPorts(List.of(PortRangeProperty.builder()
                .fromPort(123)
                .toPort(123)
                .build()))
        .destinations(List.of(AddressProperty.builder()
                .addressDefinition("addressDefinition")
                .build()))
        .protocols(List.of(123))
        .sourcePorts(List.of(PortRangeProperty.builder()
                .fromPort(123)
                .toPort(123)
                .build()))
        .sources(List.of(AddressProperty.builder()
                .addressDefinition("addressDefinition")
                .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 serverCertificateScopeProperty = new ServerCertificateScopeProperty {
    DestinationPorts = new [] { new PortRangeProperty {
        FromPort = 123,
        ToPort = 123
    } },
    Destinations = new [] { new AddressProperty {
        AddressDefinition = "addressDefinition"
    } },
    Protocols = new [] { 123 },
    SourcePorts = new [] { new PortRangeProperty {
        FromPort = 123,
        ToPort = 123
    } },
    Sources = new [] { new AddressProperty {
        AddressDefinition = "addressDefinition"
    } }
};
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"

serverCertificateScopeProperty := &ServerCertificateScopeProperty{
	DestinationPorts: []interface{}{
		&PortRangeProperty{
			FromPort: jsii.Number(123),
			ToPort: jsii.Number(123),
		},
	},
	Destinations: []interface{}{
		&AddressProperty{
			AddressDefinition: jsii.String("addressDefinition"),
		},
	},
	Protocols: []interface{}{
		jsii.Number(123),
	},
	SourcePorts: []interface{}{
		&PortRangeProperty{
			FromPort: jsii.Number(123),
			ToPort: jsii.Number(123),
		},
	},
	Sources: []interface{}{
		&AddressProperty{
			AddressDefinition: jsii.String("addressDefinition"),
		},
	},
}

Properties ​

destinationPortsoptionalIResolvable | IResolvable | CfnTLSInspectionConfiguration.PortRangeProperty[]destination_portsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PortRangeProperty]]]destinationPortsoptionalIResolvableDestinationPortsoptionalIResolvableDestinationPortsoptionalinterface{} #
The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.

If not specified, this matches with any destination port.

You can specify individual ports, for example 1994 , and you can specify port ranges, such as 1990:1994 .

destinationsoptionalIResolvable | IResolvable | CfnTLSInspectionConfiguration.AddressProperty[]destinationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AddressProperty]]]destinationsoptionalIResolvableDestinationsoptionalIResolvableDestinationsoptionalinterface{} #
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation.

If not specified, this matches with any destination address.

protocolsoptionalnumber[] | IResolvableprotocolsoptionaltyping.Union[typing.List[int | float], IResolvable]protocolsoptionalList<Number>Protocolsoptionaldouble[]Protocolsoptionalinterface{} #
The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.

If not specified, this matches with any protocol.

Network Firewall currently supports only TCP.

sourcePortsoptionalIResolvable | IResolvable | CfnTLSInspectionConfiguration.PortRangeProperty[]source_portsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PortRangeProperty]]]sourcePortsoptionalIResolvableSourcePortsoptionalIResolvableSourcePortsoptionalinterface{} #
The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.

If not specified, this matches with any source port.

You can specify individual ports, for example 1994 , and you can specify port ranges, such as 1990:1994 .

sourcesoptionalIResolvable | IResolvable | CfnTLSInspectionConfiguration.AddressProperty[]sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AddressProperty]]]sourcesoptionalIResolvableSourcesoptionalIResolvableSourcesoptionalinterface{} #
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation.

If not specified, this matches with any source address.