CfnTLSInspectionConfigurationProps Struct
Properties for defining a CfnTLSInspectionConfiguration.
| 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 cfnTLSInspectionConfigurationProps: networkfirewall.CfnTLSInspectionConfigurationProps = {
tlsInspectionConfiguration: {
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',
}],
}],
},
tlsInspectionConfigurationName: 'tlsInspectionConfigurationName',
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
from aws_cdk import CfnTag
# 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
cfn_tls_inspection_configuration_props = networkfirewall.CfnTLSInspectionConfigurationProps(
tls_inspection_configuration=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"
)]
)]
),
tls_inspection_configuration_name="tlsInspectionConfigurationName",
# the properties below are optional
description="description",
tags=[CfnTag(
key="key",
value="value"
)]
)
// 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.*;
CfnTLSInspectionConfigurationProps cfnTLSInspectionConfigurationProps = CfnTLSInspectionConfigurationProps.builder()
.tlsInspectionConfiguration(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())
.tlsInspectionConfigurationName("tlsInspectionConfigurationName")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.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 cfnTLSInspectionConfigurationProps = new CfnTLSInspectionConfigurationProps {
TlsInspectionConfiguration = 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"
} }
} }
},
TlsInspectionConfigurationName = "tlsInspectionConfigurationName",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
// 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"
cfnTLSInspectionConfigurationProps := &CfnTLSInspectionConfigurationProps{
TlsInspectionConfiguration: &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"),
},
},
},
},
},
TlsInspectionConfigurationName: jsii.String("tlsInspectionConfigurationName"),
// the properties below are optional
Description: jsii.String("description"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #tlsInspectionConfigurationIResolvable | CfnTLSInspectionConfiguration.tls_inspection_configurationtyping.Union[IResolvable, TLSInspectionConfigurationProperty]tlsInspectionConfigurationIResolvableTlsInspectionConfigurationIResolvableTlsInspectionConfigurationinterface{} required #notes
AWS Network Firewall uses TLS inspection configurations to decrypt your firewall's inbound and outbound SSL/TLS traffic. After decryption, AWS Network Firewall inspects the traffic according to your firewall policy's stateful rules, and then re-encrypts it before sending it to its destination. You can enable inspection of your firewall's inbound traffic, outbound traffic, or both. To use TLS inspection with your firewall, you must first import or provision certificates using Certificate Manager , create a TLS inspection configuration, add that configuration to a new firewall policy, and then associate that policy with your 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 .
tlsInspectionConfigurationNamestringtls_inspection_configuration_namestrtlsInspectionConfigurationNameStringTlsInspectionConfigurationNamestringTlsInspectionConfigurationName*string required #You can't change the name of a TLS inspection configuration after you create it.