module Stratosphere.NetworkFirewall.TLSInspectionConfiguration.TLSInspectionConfigurationProperty ( module Exports, TLSInspectionConfigurationProperty(..), mkTLSInspectionConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.NetworkFirewall.TLSInspectionConfiguration.ServerCertificateConfigurationProperty as Exports import Stratosphere.ResourceProperties data TLSInspectionConfigurationProperty = -- | See: TLSInspectionConfigurationProperty {haddock_workaround_ :: (), -- | See: serverCertificateConfigurations :: (Prelude.Maybe [ServerCertificateConfigurationProperty])} deriving stock (Prelude.Eq, Prelude.Show) mkTLSInspectionConfigurationProperty :: TLSInspectionConfigurationProperty mkTLSInspectionConfigurationProperty = TLSInspectionConfigurationProperty {haddock_workaround_ = (), serverCertificateConfigurations = Prelude.Nothing} instance ToResourceProperties TLSInspectionConfigurationProperty where toResourceProperties TLSInspectionConfigurationProperty {..} = ResourceProperties {awsType = "AWS::NetworkFirewall::TLSInspectionConfiguration.TLSInspectionConfiguration", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "ServerCertificateConfigurations" Prelude.<$> serverCertificateConfigurations])} instance JSON.ToJSON TLSInspectionConfigurationProperty where toJSON TLSInspectionConfigurationProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "ServerCertificateConfigurations" Prelude.<$> serverCertificateConfigurations])) instance Property "ServerCertificateConfigurations" TLSInspectionConfigurationProperty where type PropertyType "ServerCertificateConfigurations" TLSInspectionConfigurationProperty = [ServerCertificateConfigurationProperty] set newValue TLSInspectionConfigurationProperty {..} = TLSInspectionConfigurationProperty {serverCertificateConfigurations = Prelude.pure newValue, ..}