module Stratosphere.ECR.PullThroughCacheRule (
PullThroughCacheRule(..), mkPullThroughCacheRule
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data PullThroughCacheRule
=
PullThroughCacheRule {PullThroughCacheRule -> ()
haddock_workaround_ :: (),
PullThroughCacheRule -> Maybe (Value Text)
credentialArn :: (Prelude.Maybe (Value Prelude.Text)),
PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: (Prelude.Maybe (Value Prelude.Text)),
PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: (Prelude.Maybe (Value Prelude.Text)),
PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: (Prelude.Maybe (Value Prelude.Text)),
PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (PullThroughCacheRule -> PullThroughCacheRule -> Bool
(PullThroughCacheRule -> PullThroughCacheRule -> Bool)
-> (PullThroughCacheRule -> PullThroughCacheRule -> Bool)
-> Eq PullThroughCacheRule
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PullThroughCacheRule -> PullThroughCacheRule -> Bool
== :: PullThroughCacheRule -> PullThroughCacheRule -> Bool
$c/= :: PullThroughCacheRule -> PullThroughCacheRule -> Bool
/= :: PullThroughCacheRule -> PullThroughCacheRule -> Bool
Prelude.Eq, Int -> PullThroughCacheRule -> ShowS
[PullThroughCacheRule] -> ShowS
PullThroughCacheRule -> String
(Int -> PullThroughCacheRule -> ShowS)
-> (PullThroughCacheRule -> String)
-> ([PullThroughCacheRule] -> ShowS)
-> Show PullThroughCacheRule
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PullThroughCacheRule -> ShowS
showsPrec :: Int -> PullThroughCacheRule -> ShowS
$cshow :: PullThroughCacheRule -> String
show :: PullThroughCacheRule -> String
$cshowList :: [PullThroughCacheRule] -> ShowS
showList :: [PullThroughCacheRule] -> ShowS
Prelude.Show)
mkPullThroughCacheRule :: PullThroughCacheRule
mkPullThroughCacheRule :: PullThroughCacheRule
mkPullThroughCacheRule
= PullThroughCacheRule
{haddock_workaround_ :: ()
haddock_workaround_ = (), credentialArn :: Maybe (Value Text)
credentialArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
customRoleArn :: Maybe (Value Text)
customRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
ecrRepositoryPrefix :: Maybe (Value Text)
ecrRepositoryPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
upstreamRegistry :: Maybe (Value Text)
upstreamRegistry = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRegistryUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
upstreamRepositoryPrefix :: Maybe (Value Text)
upstreamRepositoryPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PullThroughCacheRule where
toResourceProperties :: PullThroughCacheRule -> ResourceProperties
toResourceProperties PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::ECR::PullThroughCacheRule",
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 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
"CredentialArn" (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)
credentialArn,
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
"CustomRoleArn" (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)
customRoleArn,
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
"EcrRepositoryPrefix" (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)
ecrRepositoryPrefix,
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
"UpstreamRegistry" (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)
upstreamRegistry,
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
"UpstreamRegistryUrl" (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)
upstreamRegistryUrl,
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
"UpstreamRepositoryPrefix"
(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)
upstreamRepositoryPrefix])}
instance JSON.ToJSON PullThroughCacheRule where
toJSON :: PullThroughCacheRule -> Value
toJSON PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: 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 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
"CredentialArn" (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)
credentialArn,
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
"CustomRoleArn" (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)
customRoleArn,
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
"EcrRepositoryPrefix" (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)
ecrRepositoryPrefix,
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
"UpstreamRegistry" (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)
upstreamRegistry,
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
"UpstreamRegistryUrl" (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)
upstreamRegistryUrl,
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
"UpstreamRepositoryPrefix"
(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)
upstreamRepositoryPrefix]))
instance Property "CredentialArn" PullThroughCacheRule where
type PropertyType "CredentialArn" PullThroughCacheRule = Value Prelude.Text
set :: PropertyType "CredentialArn" PullThroughCacheRule
-> PullThroughCacheRule -> PullThroughCacheRule
set PropertyType "CredentialArn" PullThroughCacheRule
newValue PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= PullThroughCacheRule {credentialArn :: Maybe (Value Text)
credentialArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CredentialArn" PullThroughCacheRule
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
instance Property "CustomRoleArn" PullThroughCacheRule where
type PropertyType "CustomRoleArn" PullThroughCacheRule = Value Prelude.Text
set :: PropertyType "CustomRoleArn" PullThroughCacheRule
-> PullThroughCacheRule -> PullThroughCacheRule
set PropertyType "CustomRoleArn" PullThroughCacheRule
newValue PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= PullThroughCacheRule {customRoleArn :: Maybe (Value Text)
customRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomRoleArn" PullThroughCacheRule
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
instance Property "EcrRepositoryPrefix" PullThroughCacheRule where
type PropertyType "EcrRepositoryPrefix" PullThroughCacheRule = Value Prelude.Text
set :: PropertyType "EcrRepositoryPrefix" PullThroughCacheRule
-> PullThroughCacheRule -> PullThroughCacheRule
set PropertyType "EcrRepositoryPrefix" PullThroughCacheRule
newValue PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= PullThroughCacheRule
{ecrRepositoryPrefix :: Maybe (Value Text)
ecrRepositoryPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EcrRepositoryPrefix" PullThroughCacheRule
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
instance Property "UpstreamRegistry" PullThroughCacheRule where
type PropertyType "UpstreamRegistry" PullThroughCacheRule = Value Prelude.Text
set :: PropertyType "UpstreamRegistry" PullThroughCacheRule
-> PullThroughCacheRule -> PullThroughCacheRule
set PropertyType "UpstreamRegistry" PullThroughCacheRule
newValue PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= PullThroughCacheRule
{upstreamRegistry :: Maybe (Value Text)
upstreamRegistry = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UpstreamRegistry" PullThroughCacheRule
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
instance Property "UpstreamRegistryUrl" PullThroughCacheRule where
type PropertyType "UpstreamRegistryUrl" PullThroughCacheRule = Value Prelude.Text
set :: PropertyType "UpstreamRegistryUrl" PullThroughCacheRule
-> PullThroughCacheRule -> PullThroughCacheRule
set PropertyType "UpstreamRegistryUrl" PullThroughCacheRule
newValue PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= PullThroughCacheRule
{upstreamRegistryUrl :: Maybe (Value Text)
upstreamRegistryUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UpstreamRegistryUrl" PullThroughCacheRule
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
instance Property "UpstreamRepositoryPrefix" PullThroughCacheRule where
type PropertyType "UpstreamRepositoryPrefix" PullThroughCacheRule = Value Prelude.Text
set :: PropertyType "UpstreamRepositoryPrefix" PullThroughCacheRule
-> PullThroughCacheRule -> PullThroughCacheRule
set PropertyType "UpstreamRepositoryPrefix" PullThroughCacheRule
newValue PullThroughCacheRule {Maybe (Value Text)
()
haddock_workaround_ :: PullThroughCacheRule -> ()
credentialArn :: PullThroughCacheRule -> Maybe (Value Text)
customRoleArn :: PullThroughCacheRule -> Maybe (Value Text)
ecrRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistry :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRegistryUrl :: PullThroughCacheRule -> Maybe (Value Text)
upstreamRepositoryPrefix :: PullThroughCacheRule -> Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
upstreamRepositoryPrefix :: Maybe (Value Text)
..}
= PullThroughCacheRule
{upstreamRepositoryPrefix :: Maybe (Value Text)
upstreamRepositoryPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UpstreamRepositoryPrefix" PullThroughCacheRule
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
haddock_workaround_ :: ()
credentialArn :: Maybe (Value Text)
customRoleArn :: Maybe (Value Text)
ecrRepositoryPrefix :: Maybe (Value Text)
upstreamRegistry :: Maybe (Value Text)
upstreamRegistryUrl :: Maybe (Value Text)
..}