module Stratosphere.DataSync.LocationEFS (
        module Exports, LocationEFS(..), mkLocationEFS
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataSync.LocationEFS.Ec2ConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data LocationEFS
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html>
    LocationEFS {LocationEFS -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-accesspointarn>
                 LocationEFS -> Maybe (Value Text)
accessPointArn :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-ec2config>
                 LocationEFS -> Ec2ConfigProperty
ec2Config :: Ec2ConfigProperty,
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-efsfilesystemarn>
                 LocationEFS -> Maybe (Value Text)
efsFilesystemArn :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-filesystemaccessrolearn>
                 LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-intransitencryption>
                 LocationEFS -> Maybe (Value Text)
inTransitEncryption :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-subdirectory>
                 LocationEFS -> Maybe (Value Text)
subdirectory :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-tags>
                 LocationEFS -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (LocationEFS -> LocationEFS -> Bool
(LocationEFS -> LocationEFS -> Bool)
-> (LocationEFS -> LocationEFS -> Bool) -> Eq LocationEFS
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: LocationEFS -> LocationEFS -> Bool
== :: LocationEFS -> LocationEFS -> Bool
$c/= :: LocationEFS -> LocationEFS -> Bool
/= :: LocationEFS -> LocationEFS -> Bool
Prelude.Eq, Int -> LocationEFS -> ShowS
[LocationEFS] -> ShowS
LocationEFS -> String
(Int -> LocationEFS -> ShowS)
-> (LocationEFS -> String)
-> ([LocationEFS] -> ShowS)
-> Show LocationEFS
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LocationEFS -> ShowS
showsPrec :: Int -> LocationEFS -> ShowS
$cshow :: LocationEFS -> String
show :: LocationEFS -> String
$cshowList :: [LocationEFS] -> ShowS
showList :: [LocationEFS] -> ShowS
Prelude.Show)
mkLocationEFS :: Ec2ConfigProperty -> LocationEFS
mkLocationEFS :: Ec2ConfigProperty -> LocationEFS
mkLocationEFS Ec2ConfigProperty
ec2Config
  = LocationEFS
      {haddock_workaround_ :: ()
haddock_workaround_ = (), ec2Config :: Ec2ConfigProperty
ec2Config = Ec2ConfigProperty
ec2Config,
       accessPointArn :: Maybe (Value Text)
accessPointArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       efsFilesystemArn :: Maybe (Value Text)
efsFilesystemArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       fileSystemAccessRoleArn :: Maybe (Value Text)
fileSystemAccessRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       inTransitEncryption :: Maybe (Value Text)
inTransitEncryption = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       subdirectory :: Maybe (Value Text)
subdirectory = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties LocationEFS where
  toResourceProperties :: LocationEFS -> ResourceProperties
toResourceProperties LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DataSync::LocationEFS",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Ec2Config" Key -> Ec2ConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Ec2ConfigProperty
ec2Config]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AccessPointArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
accessPointArn,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EfsFilesystemArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
efsFilesystemArn,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FileSystemAccessRoleArn"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
fileSystemAccessRoleArn,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InTransitEncryption" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
inTransitEncryption,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Subdirectory" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
subdirectory,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON LocationEFS where
  toJSON :: LocationEFS -> Value
toJSON LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Ec2Config" Key -> Ec2ConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Ec2ConfigProperty
ec2Config]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AccessPointArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
accessPointArn,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EfsFilesystemArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
efsFilesystemArn,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FileSystemAccessRoleArn"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
fileSystemAccessRoleArn,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InTransitEncryption" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
inTransitEncryption,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Subdirectory" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
subdirectory,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "AccessPointArn" LocationEFS where
  type PropertyType "AccessPointArn" LocationEFS = Value Prelude.Text
  set :: PropertyType "AccessPointArn" LocationEFS
-> LocationEFS -> LocationEFS
set PropertyType "AccessPointArn" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {accessPointArn :: Maybe (Value Text)
accessPointArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AccessPointArn" LocationEFS
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: ()
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Ec2Config" LocationEFS where
  type PropertyType "Ec2Config" LocationEFS = Ec2ConfigProperty
  set :: PropertyType "Ec2Config" LocationEFS -> LocationEFS -> LocationEFS
set PropertyType "Ec2Config" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {ec2Config :: Ec2ConfigProperty
ec2Config = PropertyType "Ec2Config" LocationEFS
Ec2ConfigProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "EfsFilesystemArn" LocationEFS where
  type PropertyType "EfsFilesystemArn" LocationEFS = Value Prelude.Text
  set :: PropertyType "EfsFilesystemArn" LocationEFS
-> LocationEFS -> LocationEFS
set PropertyType "EfsFilesystemArn" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {efsFilesystemArn :: Maybe (Value Text)
efsFilesystemArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EfsFilesystemArn" LocationEFS
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "FileSystemAccessRoleArn" LocationEFS where
  type PropertyType "FileSystemAccessRoleArn" LocationEFS = Value Prelude.Text
  set :: PropertyType "FileSystemAccessRoleArn" LocationEFS
-> LocationEFS -> LocationEFS
set PropertyType "FileSystemAccessRoleArn" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {fileSystemAccessRoleArn :: Maybe (Value Text)
fileSystemAccessRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FileSystemAccessRoleArn" LocationEFS
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "InTransitEncryption" LocationEFS where
  type PropertyType "InTransitEncryption" LocationEFS = Value Prelude.Text
  set :: PropertyType "InTransitEncryption" LocationEFS
-> LocationEFS -> LocationEFS
set PropertyType "InTransitEncryption" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {inTransitEncryption :: Maybe (Value Text)
inTransitEncryption = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InTransitEncryption" LocationEFS
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Subdirectory" LocationEFS where
  type PropertyType "Subdirectory" LocationEFS = Value Prelude.Text
  set :: PropertyType "Subdirectory" LocationEFS
-> LocationEFS -> LocationEFS
set PropertyType "Subdirectory" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {subdirectory :: Maybe (Value Text)
subdirectory = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Subdirectory" LocationEFS
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" LocationEFS where
  type PropertyType "Tags" LocationEFS = [Tag]
  set :: PropertyType "Tags" LocationEFS -> LocationEFS -> LocationEFS
set PropertyType "Tags" LocationEFS
newValue LocationEFS {Maybe [Tag]
Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: LocationEFS -> ()
accessPointArn :: LocationEFS -> Maybe (Value Text)
ec2Config :: LocationEFS -> Ec2ConfigProperty
efsFilesystemArn :: LocationEFS -> Maybe (Value Text)
fileSystemAccessRoleArn :: LocationEFS -> Maybe (Value Text)
inTransitEncryption :: LocationEFS -> Maybe (Value Text)
subdirectory :: LocationEFS -> Maybe (Value Text)
tags :: LocationEFS -> Maybe [Tag]
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = LocationEFS {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" LocationEFS
newValue, Maybe (Value Text)
()
Ec2ConfigProperty
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
haddock_workaround_ :: ()
accessPointArn :: Maybe (Value Text)
ec2Config :: Ec2ConfigProperty
efsFilesystemArn :: Maybe (Value Text)
fileSystemAccessRoleArn :: Maybe (Value Text)
inTransitEncryption :: Maybe (Value Text)
subdirectory :: Maybe (Value Text)
..}