module Stratosphere.Cloud9.EnvironmentEC2 (
        module Exports, EnvironmentEC2(..), mkEnvironmentEC2
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Cloud9.EnvironmentEC2.RepositoryProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data EnvironmentEC2
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html>
    EnvironmentEC2 {EnvironmentEC2 -> ()
haddock_workaround_ :: (),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-automaticstoptimeminutes>
                    EnvironmentEC2 -> Maybe (Value Integer)
automaticStopTimeMinutes :: (Prelude.Maybe (Value Prelude.Integer)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-connectiontype>
                    EnvironmentEC2 -> Maybe (Value Text)
connectionType :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-description>
                    EnvironmentEC2 -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-imageid>
                    EnvironmentEC2 -> Value Text
imageId :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-instancetype>
                    EnvironmentEC2 -> Value Text
instanceType :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-name>
                    EnvironmentEC2 -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-ownerarn>
                    EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-repositories>
                    EnvironmentEC2 -> Maybe [RepositoryProperty]
repositories :: (Prelude.Maybe [RepositoryProperty]),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-subnetid>
                    EnvironmentEC2 -> Maybe (Value Text)
subnetId :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-tags>
                    EnvironmentEC2 -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (EnvironmentEC2 -> EnvironmentEC2 -> Bool
(EnvironmentEC2 -> EnvironmentEC2 -> Bool)
-> (EnvironmentEC2 -> EnvironmentEC2 -> Bool) -> Eq EnvironmentEC2
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EnvironmentEC2 -> EnvironmentEC2 -> Bool
== :: EnvironmentEC2 -> EnvironmentEC2 -> Bool
$c/= :: EnvironmentEC2 -> EnvironmentEC2 -> Bool
/= :: EnvironmentEC2 -> EnvironmentEC2 -> Bool
Prelude.Eq, Int -> EnvironmentEC2 -> ShowS
[EnvironmentEC2] -> ShowS
EnvironmentEC2 -> String
(Int -> EnvironmentEC2 -> ShowS)
-> (EnvironmentEC2 -> String)
-> ([EnvironmentEC2] -> ShowS)
-> Show EnvironmentEC2
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EnvironmentEC2 -> ShowS
showsPrec :: Int -> EnvironmentEC2 -> ShowS
$cshow :: EnvironmentEC2 -> String
show :: EnvironmentEC2 -> String
$cshowList :: [EnvironmentEC2] -> ShowS
showList :: [EnvironmentEC2] -> ShowS
Prelude.Show)
mkEnvironmentEC2 ::
  Value Prelude.Text -> Value Prelude.Text -> EnvironmentEC2
mkEnvironmentEC2 :: Value Text -> Value Text -> EnvironmentEC2
mkEnvironmentEC2 Value Text
imageId Value Text
instanceType
  = EnvironmentEC2
      {haddock_workaround_ :: ()
haddock_workaround_ = (), imageId :: Value Text
imageId = Value Text
imageId,
       instanceType :: Value Text
instanceType = Value Text
instanceType,
       automaticStopTimeMinutes :: Maybe (Value Integer)
automaticStopTimeMinutes = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       connectionType :: Maybe (Value Text)
connectionType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, ownerArn :: Maybe (Value Text)
ownerArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       repositories :: Maybe [RepositoryProperty]
repositories = Maybe [RepositoryProperty]
forall a. Maybe a
Prelude.Nothing, subnetId :: Maybe (Value Text)
subnetId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EnvironmentEC2 where
  toResourceProperties :: EnvironmentEC2 -> ResourceProperties
toResourceProperties EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Cloud9::EnvironmentEC2",
         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
"ImageId" 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..= Value Text
imageId, Key
"InstanceType" 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..= Value Text
instanceType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutomaticStopTimeMinutes"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
automaticStopTimeMinutes,
                               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
"ConnectionType" (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)
connectionType,
                               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
"Description" (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)
description,
                               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,
                               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
"OwnerArn" (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)
ownerArn,
                               Key -> [RepositoryProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Repositories" ([RepositoryProperty] -> (Key, Value))
-> Maybe [RepositoryProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [RepositoryProperty]
repositories,
                               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
"SubnetId" (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)
subnetId,
                               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 EnvironmentEC2 where
  toJSON :: EnvironmentEC2 -> Value
toJSON EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: 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
"ImageId" 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..= Value Text
imageId, Key
"InstanceType" 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..= Value Text
instanceType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutomaticStopTimeMinutes"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
automaticStopTimeMinutes,
                  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
"ConnectionType" (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)
connectionType,
                  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
"Description" (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)
description,
                  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,
                  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
"OwnerArn" (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)
ownerArn,
                  Key -> [RepositoryProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Repositories" ([RepositoryProperty] -> (Key, Value))
-> Maybe [RepositoryProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [RepositoryProperty]
repositories,
                  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
"SubnetId" (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)
subnetId,
                  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 "AutomaticStopTimeMinutes" EnvironmentEC2 where
  type PropertyType "AutomaticStopTimeMinutes" EnvironmentEC2 = Value Prelude.Integer
  set :: PropertyType "AutomaticStopTimeMinutes" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "AutomaticStopTimeMinutes" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2
        {automaticStopTimeMinutes :: Maybe (Value Integer)
automaticStopTimeMinutes = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutomaticStopTimeMinutes" EnvironmentEC2
Value Integer
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "ConnectionType" EnvironmentEC2 where
  type PropertyType "ConnectionType" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "ConnectionType" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "ConnectionType" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {connectionType :: Maybe (Value Text)
connectionType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConnectionType" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Description" EnvironmentEC2 where
  type PropertyType "Description" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "Description" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "Description" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "ImageId" EnvironmentEC2 where
  type PropertyType "ImageId" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "ImageId" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "ImageId" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {imageId :: Value Text
imageId = PropertyType "ImageId" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "InstanceType" EnvironmentEC2 where
  type PropertyType "InstanceType" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "InstanceType" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "InstanceType" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {instanceType :: Value Text
instanceType = PropertyType "InstanceType" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Name" EnvironmentEC2 where
  type PropertyType "Name" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "Name" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "Name" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {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" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "OwnerArn" EnvironmentEC2 where
  type PropertyType "OwnerArn" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "OwnerArn" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "OwnerArn" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {ownerArn :: Maybe (Value Text)
ownerArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OwnerArn" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Repositories" EnvironmentEC2 where
  type PropertyType "Repositories" EnvironmentEC2 = [RepositoryProperty]
  set :: PropertyType "Repositories" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "Repositories" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {repositories :: Maybe [RepositoryProperty]
repositories = [RepositoryProperty] -> Maybe [RepositoryProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [RepositoryProperty]
PropertyType "Repositories" EnvironmentEC2
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "SubnetId" EnvironmentEC2 where
  type PropertyType "SubnetId" EnvironmentEC2 = Value Prelude.Text
  set :: PropertyType "SubnetId" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "SubnetId" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {subnetId :: Maybe (Value Text)
subnetId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubnetId" EnvironmentEC2
Value Text
newValue, Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
tags :: Maybe [Tag]
..}
instance Property "Tags" EnvironmentEC2 where
  type PropertyType "Tags" EnvironmentEC2 = [Tag]
  set :: PropertyType "Tags" EnvironmentEC2
-> EnvironmentEC2 -> EnvironmentEC2
set PropertyType "Tags" EnvironmentEC2
newValue EnvironmentEC2 {Maybe [Tag]
Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EnvironmentEC2 -> ()
automaticStopTimeMinutes :: EnvironmentEC2 -> Maybe (Value Integer)
connectionType :: EnvironmentEC2 -> Maybe (Value Text)
description :: EnvironmentEC2 -> Maybe (Value Text)
imageId :: EnvironmentEC2 -> Value Text
instanceType :: EnvironmentEC2 -> Value Text
name :: EnvironmentEC2 -> Maybe (Value Text)
ownerArn :: EnvironmentEC2 -> Maybe (Value Text)
repositories :: EnvironmentEC2 -> Maybe [RepositoryProperty]
subnetId :: EnvironmentEC2 -> Maybe (Value Text)
tags :: EnvironmentEC2 -> Maybe [Tag]
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = EnvironmentEC2 {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" EnvironmentEC2
newValue, Maybe [RepositoryProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
haddock_workaround_ :: ()
automaticStopTimeMinutes :: Maybe (Value Integer)
connectionType :: Maybe (Value Text)
description :: Maybe (Value Text)
imageId :: Value Text
instanceType :: Value Text
name :: Maybe (Value Text)
ownerArn :: Maybe (Value Text)
repositories :: Maybe [RepositoryProperty]
subnetId :: Maybe (Value Text)
..}