content: module Stratosphere.SageMaker.MonitoringSchedule.VpcConfigProperty (
          VpcConfigProperty(..), mkVpcConfigProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data VpcConfigProperty
    = VpcConfigProperty {securityGroupIds :: (ValueList Prelude.Text),
                         subnets :: (ValueList Prelude.Text)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkVpcConfigProperty ::
    ValueList Prelude.Text
    -> ValueList Prelude.Text -> VpcConfigProperty
  mkVpcConfigProperty securityGroupIds subnets
    = VpcConfigProperty
        {securityGroupIds = securityGroupIds, subnets = subnets}
  instance ToResourceProperties VpcConfigProperty where
    toResourceProperties VpcConfigProperty {..}
      = ResourceProperties
          {awsType = "AWS::SageMaker::MonitoringSchedule.VpcConfig",
           supportsTags = Prelude.False,
           properties = ["SecurityGroupIds" JSON..= securityGroupIds,
                         "Subnets" JSON..= subnets]}
  instance JSON.ToJSON VpcConfigProperty where
    toJSON VpcConfigProperty {..}
      = JSON.object
          ["SecurityGroupIds" JSON..= securityGroupIds,
           "Subnets" JSON..= subnets]
  instance Property "SecurityGroupIds" VpcConfigProperty where
    type PropertyType "SecurityGroupIds" VpcConfigProperty = ValueList Prelude.Text
    set newValue VpcConfigProperty {..}
      = VpcConfigProperty {securityGroupIds = newValue, ..}
  instance Property "Subnets" VpcConfigProperty where
    type PropertyType "Subnets" VpcConfigProperty = ValueList Prelude.Text
    set newValue VpcConfigProperty {..}
      = VpcConfigProperty {subnets = newValue, ..}