TLSInspectionConfigurationProperty Struct
The object that defines a TLS inspection configuration. This defines the TLS inspection configuration.
AWS Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the AWS Network Firewall Developer Guide .
| Source | |
|---|---|
| Type last changed |
Example
// 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 tLSInspectionConfigurationProperty: networkfirewall.CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty = {
serverCertificateConfigurations: [{
certificateAuthorityArn: 'certificateAuthorityArn',
checkCertificateRevocationStatus: {
revokedStatusAction: 'revokedStatusAction',
unknownStatusAction: 'unknownStatusAction',
},
scopes: [{
destinationPorts: [{
fromPort: 123,
toPort: 123,
}],
destinations: [{
addressDefinition: 'addressDefinition',
}],
protocols: [123],
sourcePorts: [{
fromPort: 123,
toPort: 123,
}],
sources: [{
addressDefinition: 'addressDefinition',
}],
}],
serverCertificates: [{
resourceArn: 'resourceArn',
}],
}],
};
# 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
t_ls_inspection_configuration_property = networkfirewall.CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty(
server_certificate_configurations=[networkfirewall.CfnTLSInspectionConfiguration.ServerCertificateConfigurationProperty(
certificate_authority_arn="certificateAuthorityArn",
check_certificate_revocation_status=networkfirewall.CfnTLSInspectionConfiguration.CheckCertificateRevocationStatusProperty(
revoked_status_action="revokedStatusAction",
unknown_status_action="unknownStatusAction"
),
scopes=[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"
)]
)],
server_certificates=[networkfirewall.CfnTLSInspectionConfiguration.ServerCertificateProperty(
resource_arn="resourceArn"
)]
)]
)
// 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.*;
TLSInspectionConfigurationProperty tLSInspectionConfigurationProperty = TLSInspectionConfigurationProperty.builder()
.serverCertificateConfigurations(List.of(ServerCertificateConfigurationProperty.builder()
.certificateAuthorityArn("certificateAuthorityArn")
.checkCertificateRevocationStatus(CheckCertificateRevocationStatusProperty.builder()
.revokedStatusAction("revokedStatusAction")
.unknownStatusAction("unknownStatusAction")
.build())
.scopes(List.of(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()))
.serverCertificates(List.of(ServerCertificateProperty.builder()
.resourceArn("resourceArn")
.build()))
.build()))
.build();
// 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 tLSInspectionConfigurationProperty = new TLSInspectionConfigurationProperty {
ServerCertificateConfigurations = new [] { new ServerCertificateConfigurationProperty {
CertificateAuthorityArn = "certificateAuthorityArn",
CheckCertificateRevocationStatus = new CheckCertificateRevocationStatusProperty {
RevokedStatusAction = "revokedStatusAction",
UnknownStatusAction = "unknownStatusAction"
},
Scopes = new [] { 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"
} }
} },
ServerCertificates = new [] { new ServerCertificateProperty {
ResourceArn = "resourceArn"
} }
} }
};
// 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"
tLSInspectionConfigurationProperty := &TLSInspectionConfigurationProperty{
ServerCertificateConfigurations: []interface{}{
&ServerCertificateConfigurationProperty{
CertificateAuthorityArn: jsii.String("certificateAuthorityArn"),
CheckCertificateRevocationStatus: &CheckCertificateRevocationStatusProperty{
RevokedStatusAction: jsii.String("revokedStatusAction"),
UnknownStatusAction: jsii.String("unknownStatusAction"),
},
Scopes: []interface{}{
&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"),
},
},
},
},
ServerCertificates: []interface{}{
&ServerCertificateProperty{
ResourceArn: jsii.String("resourceArn"),
},
},
},
},
}
Properties
serverCertificateConfigurationsoptionalIResolvable | IResolvable | CfnTLSInspectionConfiguration.server_certificate_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ServerCertificateConfigurationProperty]]]serverCertificateConfigurationsoptionalIResolvableServerCertificateConfigurationsoptionalIResolvableServerCertificateConfigurationsoptionalinterface{} #