module Stratosphere.ECS.TaskDefinition.VolumeProperty (
module Exports, VolumeProperty(..), mkVolumeProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ECS.TaskDefinition.DockerVolumeConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.TaskDefinition.EFSVolumeConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.TaskDefinition.FSxWindowsFileServerVolumeConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.TaskDefinition.HostVolumePropertiesProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data VolumeProperty
=
VolumeProperty {VolumeProperty -> ()
haddock_workaround_ :: (),
VolumeProperty -> Maybe (Value Bool)
configuredAtLaunch :: (Prelude.Maybe (Value Prelude.Bool)),
VolumeProperty -> Maybe DockerVolumeConfigurationProperty
dockerVolumeConfiguration :: (Prelude.Maybe DockerVolumeConfigurationProperty),
VolumeProperty -> Maybe EFSVolumeConfigurationProperty
eFSVolumeConfiguration :: (Prelude.Maybe EFSVolumeConfigurationProperty),
VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: (Prelude.Maybe FSxWindowsFileServerVolumeConfigurationProperty),
VolumeProperty -> Maybe HostVolumePropertiesProperty
host :: (Prelude.Maybe HostVolumePropertiesProperty),
VolumeProperty -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (VolumeProperty -> VolumeProperty -> Bool
(VolumeProperty -> VolumeProperty -> Bool)
-> (VolumeProperty -> VolumeProperty -> Bool) -> Eq VolumeProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VolumeProperty -> VolumeProperty -> Bool
== :: VolumeProperty -> VolumeProperty -> Bool
$c/= :: VolumeProperty -> VolumeProperty -> Bool
/= :: VolumeProperty -> VolumeProperty -> Bool
Prelude.Eq, Int -> VolumeProperty -> ShowS
[VolumeProperty] -> ShowS
VolumeProperty -> String
(Int -> VolumeProperty -> ShowS)
-> (VolumeProperty -> String)
-> ([VolumeProperty] -> ShowS)
-> Show VolumeProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VolumeProperty -> ShowS
showsPrec :: Int -> VolumeProperty -> ShowS
$cshow :: VolumeProperty -> String
show :: VolumeProperty -> String
$cshowList :: [VolumeProperty] -> ShowS
showList :: [VolumeProperty] -> ShowS
Prelude.Show)
mkVolumeProperty :: VolumeProperty
mkVolumeProperty :: VolumeProperty
mkVolumeProperty
= VolumeProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), configuredAtLaunch :: Maybe (Value Bool)
configuredAtLaunch = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
dockerVolumeConfiguration = Maybe DockerVolumeConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
eFSVolumeConfiguration = Maybe EFSVolumeConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration = Maybe FSxWindowsFileServerVolumeConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
host :: Maybe HostVolumePropertiesProperty
host = Maybe HostVolumePropertiesProperty
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VolumeProperty where
toResourceProperties :: VolumeProperty -> ResourceProperties
toResourceProperties VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::ECS::TaskDefinition.Volume",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConfiguredAtLaunch" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
configuredAtLaunch,
Key -> DockerVolumeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DockerVolumeConfiguration"
(DockerVolumeConfigurationProperty -> (Key, Value))
-> Maybe DockerVolumeConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DockerVolumeConfigurationProperty
dockerVolumeConfiguration,
Key -> EFSVolumeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EFSVolumeConfiguration"
(EFSVolumeConfigurationProperty -> (Key, Value))
-> Maybe EFSVolumeConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EFSVolumeConfigurationProperty
eFSVolumeConfiguration,
Key
-> FSxWindowsFileServerVolumeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FSxWindowsFileServerVolumeConfiguration"
(FSxWindowsFileServerVolumeConfigurationProperty -> (Key, Value))
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FSxWindowsFileServerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration,
Key -> HostVolumePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Host" (HostVolumePropertiesProperty -> (Key, Value))
-> Maybe HostVolumePropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe HostVolumePropertiesProperty
host,
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
"Name" (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)
name])}
instance JSON.ToJSON VolumeProperty where
toJSON :: VolumeProperty -> Value
toJSON VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConfiguredAtLaunch" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
configuredAtLaunch,
Key -> DockerVolumeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DockerVolumeConfiguration"
(DockerVolumeConfigurationProperty -> (Key, Value))
-> Maybe DockerVolumeConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DockerVolumeConfigurationProperty
dockerVolumeConfiguration,
Key -> EFSVolumeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EFSVolumeConfiguration"
(EFSVolumeConfigurationProperty -> (Key, Value))
-> Maybe EFSVolumeConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EFSVolumeConfigurationProperty
eFSVolumeConfiguration,
Key
-> FSxWindowsFileServerVolumeConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FSxWindowsFileServerVolumeConfiguration"
(FSxWindowsFileServerVolumeConfigurationProperty -> (Key, Value))
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FSxWindowsFileServerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration,
Key -> HostVolumePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Host" (HostVolumePropertiesProperty -> (Key, Value))
-> Maybe HostVolumePropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe HostVolumePropertiesProperty
host,
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
"Name" (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)
name]))
instance Property "ConfiguredAtLaunch" VolumeProperty where
type PropertyType "ConfiguredAtLaunch" VolumeProperty = Value Prelude.Bool
set :: PropertyType "ConfiguredAtLaunch" VolumeProperty
-> VolumeProperty -> VolumeProperty
set PropertyType "ConfiguredAtLaunch" VolumeProperty
newValue VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= VolumeProperty {configuredAtLaunch :: Maybe (Value Bool)
configuredAtLaunch = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConfiguredAtLaunch" VolumeProperty
Value Bool
newValue, Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: ()
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
haddock_workaround_ :: ()
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
instance Property "DockerVolumeConfiguration" VolumeProperty where
type PropertyType "DockerVolumeConfiguration" VolumeProperty = DockerVolumeConfigurationProperty
set :: PropertyType "DockerVolumeConfiguration" VolumeProperty
-> VolumeProperty -> VolumeProperty
set PropertyType "DockerVolumeConfiguration" VolumeProperty
newValue VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= VolumeProperty
{dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
dockerVolumeConfiguration = DockerVolumeConfigurationProperty
-> Maybe DockerVolumeConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DockerVolumeConfiguration" VolumeProperty
DockerVolumeConfigurationProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
instance Property "EFSVolumeConfiguration" VolumeProperty where
type PropertyType "EFSVolumeConfiguration" VolumeProperty = EFSVolumeConfigurationProperty
set :: PropertyType "EFSVolumeConfiguration" VolumeProperty
-> VolumeProperty -> VolumeProperty
set PropertyType "EFSVolumeConfiguration" VolumeProperty
newValue VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= VolumeProperty
{eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
eFSVolumeConfiguration = EFSVolumeConfigurationProperty
-> Maybe EFSVolumeConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EFSVolumeConfiguration" VolumeProperty
EFSVolumeConfigurationProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
instance Property "FSxWindowsFileServerVolumeConfiguration" VolumeProperty where
type PropertyType "FSxWindowsFileServerVolumeConfiguration" VolumeProperty = FSxWindowsFileServerVolumeConfigurationProperty
set :: PropertyType
"FSxWindowsFileServerVolumeConfiguration" VolumeProperty
-> VolumeProperty -> VolumeProperty
set PropertyType
"FSxWindowsFileServerVolumeConfiguration" VolumeProperty
newValue VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= VolumeProperty
{fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration = FSxWindowsFileServerVolumeConfigurationProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"FSxWindowsFileServerVolumeConfiguration" VolumeProperty
FSxWindowsFileServerVolumeConfigurationProperty
newValue,
Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
instance Property "Host" VolumeProperty where
type PropertyType "Host" VolumeProperty = HostVolumePropertiesProperty
set :: PropertyType "Host" VolumeProperty
-> VolumeProperty -> VolumeProperty
set PropertyType "Host" VolumeProperty
newValue VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= VolumeProperty {host :: Maybe HostVolumePropertiesProperty
host = HostVolumePropertiesProperty -> Maybe HostVolumePropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Host" VolumeProperty
HostVolumePropertiesProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
()
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
name :: Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
name :: Maybe (Value Text)
..}
instance Property "Name" VolumeProperty where
type PropertyType "Name" VolumeProperty = Value Prelude.Text
set :: PropertyType "Name" VolumeProperty
-> VolumeProperty -> VolumeProperty
set PropertyType "Name" VolumeProperty
newValue VolumeProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: VolumeProperty -> ()
configuredAtLaunch :: VolumeProperty -> Maybe (Value Bool)
dockerVolumeConfiguration :: VolumeProperty -> Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: VolumeProperty -> Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: VolumeProperty
-> Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: VolumeProperty -> Maybe HostVolumePropertiesProperty
name :: VolumeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
name :: Maybe (Value Text)
..}
= VolumeProperty {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" VolumeProperty
Value Text
newValue, Maybe (Value Bool)
Maybe DockerVolumeConfigurationProperty
Maybe EFSVolumeConfigurationProperty
Maybe FSxWindowsFileServerVolumeConfigurationProperty
Maybe HostVolumePropertiesProperty
()
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
haddock_workaround_ :: ()
configuredAtLaunch :: Maybe (Value Bool)
dockerVolumeConfiguration :: Maybe DockerVolumeConfigurationProperty
eFSVolumeConfiguration :: Maybe EFSVolumeConfigurationProperty
fSxWindowsFileServerVolumeConfiguration :: Maybe FSxWindowsFileServerVolumeConfigurationProperty
host :: Maybe HostVolumePropertiesProperty
..}