module Stratosphere.EKS.PodIdentityAssociation (
        PodIdentityAssociation(..), mkPodIdentityAssociation
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data PodIdentityAssociation
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html>
    PodIdentityAssociation {PodIdentityAssociation -> ()
haddock_workaround_ :: (),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-clustername>
                            PodIdentityAssociation -> Value Text
clusterName :: (Value Prelude.Text),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-disablesessiontags>
                            PodIdentityAssociation -> Maybe (Value Bool)
disableSessionTags :: (Prelude.Maybe (Value Prelude.Bool)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-namespace>
                            PodIdentityAssociation -> Value Text
namespace :: (Value Prelude.Text),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-rolearn>
                            PodIdentityAssociation -> Value Text
roleArn :: (Value Prelude.Text),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-serviceaccount>
                            PodIdentityAssociation -> Value Text
serviceAccount :: (Value Prelude.Text),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-tags>
                            PodIdentityAssociation -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-targetrolearn>
                            PodIdentityAssociation -> Maybe (Value Text)
targetRoleArn :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (PodIdentityAssociation -> PodIdentityAssociation -> Bool
(PodIdentityAssociation -> PodIdentityAssociation -> Bool)
-> (PodIdentityAssociation -> PodIdentityAssociation -> Bool)
-> Eq PodIdentityAssociation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PodIdentityAssociation -> PodIdentityAssociation -> Bool
== :: PodIdentityAssociation -> PodIdentityAssociation -> Bool
$c/= :: PodIdentityAssociation -> PodIdentityAssociation -> Bool
/= :: PodIdentityAssociation -> PodIdentityAssociation -> Bool
Prelude.Eq, Int -> PodIdentityAssociation -> ShowS
[PodIdentityAssociation] -> ShowS
PodIdentityAssociation -> String
(Int -> PodIdentityAssociation -> ShowS)
-> (PodIdentityAssociation -> String)
-> ([PodIdentityAssociation] -> ShowS)
-> Show PodIdentityAssociation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PodIdentityAssociation -> ShowS
showsPrec :: Int -> PodIdentityAssociation -> ShowS
$cshow :: PodIdentityAssociation -> String
show :: PodIdentityAssociation -> String
$cshowList :: [PodIdentityAssociation] -> ShowS
showList :: [PodIdentityAssociation] -> ShowS
Prelude.Show)
mkPodIdentityAssociation ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> Value Prelude.Text -> PodIdentityAssociation
mkPodIdentityAssociation :: Value Text
-> Value Text -> Value Text -> Value Text -> PodIdentityAssociation
mkPodIdentityAssociation
  Value Text
clusterName
  Value Text
namespace
  Value Text
roleArn
  Value Text
serviceAccount
  = PodIdentityAssociation
      {haddock_workaround_ :: ()
haddock_workaround_ = (), clusterName :: Value Text
clusterName = Value Text
clusterName,
       namespace :: Value Text
namespace = Value Text
namespace, roleArn :: Value Text
roleArn = Value Text
roleArn,
       serviceAccount :: Value Text
serviceAccount = Value Text
serviceAccount,
       disableSessionTags :: Maybe (Value Bool)
disableSessionTags = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       targetRoleArn :: Maybe (Value Text)
targetRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PodIdentityAssociation where
  toResourceProperties :: PodIdentityAssociation -> ResourceProperties
toResourceProperties PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EKS::PodIdentityAssociation",
         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
"ClusterName" 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
clusterName, Key
"Namespace" 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
namespace,
                            Key
"RoleArn" 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
roleArn, Key
"ServiceAccount" 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
serviceAccount]
                           ([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
"DisableSessionTags" (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)
disableSessionTags,
                               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,
                               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
"TargetRoleArn" (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)
targetRoleArn]))}
instance JSON.ToJSON PodIdentityAssociation where
  toJSON :: PodIdentityAssociation -> Value
toJSON PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = [(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
"ClusterName" 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
clusterName, Key
"Namespace" 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
namespace,
               Key
"RoleArn" 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
roleArn, Key
"ServiceAccount" 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
serviceAccount]
              ([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
"DisableSessionTags" (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)
disableSessionTags,
                  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,
                  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
"TargetRoleArn" (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)
targetRoleArn])))
instance Property "ClusterName" PodIdentityAssociation where
  type PropertyType "ClusterName" PodIdentityAssociation = Value Prelude.Text
  set :: PropertyType "ClusterName" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "ClusterName" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation {clusterName :: Value Text
clusterName = PropertyType "ClusterName" PodIdentityAssociation
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
instance Property "DisableSessionTags" PodIdentityAssociation where
  type PropertyType "DisableSessionTags" PodIdentityAssociation = Value Prelude.Bool
  set :: PropertyType "DisableSessionTags" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "DisableSessionTags" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation
        {disableSessionTags :: Maybe (Value Bool)
disableSessionTags = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisableSessionTags" PodIdentityAssociation
Value Bool
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
instance Property "Namespace" PodIdentityAssociation where
  type PropertyType "Namespace" PodIdentityAssociation = Value Prelude.Text
  set :: PropertyType "Namespace" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "Namespace" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation {namespace :: Value Text
namespace = PropertyType "Namespace" PodIdentityAssociation
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
instance Property "RoleArn" PodIdentityAssociation where
  type PropertyType "RoleArn" PodIdentityAssociation = Value Prelude.Text
  set :: PropertyType "RoleArn" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "RoleArn" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation {roleArn :: Value Text
roleArn = PropertyType "RoleArn" PodIdentityAssociation
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
instance Property "ServiceAccount" PodIdentityAssociation where
  type PropertyType "ServiceAccount" PodIdentityAssociation = Value Prelude.Text
  set :: PropertyType "ServiceAccount" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "ServiceAccount" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation {serviceAccount :: Value Text
serviceAccount = PropertyType "ServiceAccount" PodIdentityAssociation
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
instance Property "Tags" PodIdentityAssociation where
  type PropertyType "Tags" PodIdentityAssociation = [Tag]
  set :: PropertyType "Tags" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "Tags" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation {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" PodIdentityAssociation
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
targetRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
targetRoleArn :: Maybe (Value Text)
..}
instance Property "TargetRoleArn" PodIdentityAssociation where
  type PropertyType "TargetRoleArn" PodIdentityAssociation = Value Prelude.Text
  set :: PropertyType "TargetRoleArn" PodIdentityAssociation
-> PodIdentityAssociation -> PodIdentityAssociation
set PropertyType "TargetRoleArn" PodIdentityAssociation
newValue PodIdentityAssociation {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: PodIdentityAssociation -> ()
clusterName :: PodIdentityAssociation -> Value Text
disableSessionTags :: PodIdentityAssociation -> Maybe (Value Bool)
namespace :: PodIdentityAssociation -> Value Text
roleArn :: PodIdentityAssociation -> Value Text
serviceAccount :: PodIdentityAssociation -> Value Text
tags :: PodIdentityAssociation -> Maybe [Tag]
targetRoleArn :: PodIdentityAssociation -> Maybe (Value Text)
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
targetRoleArn :: Maybe (Value Text)
..}
    = PodIdentityAssociation
        {targetRoleArn :: Maybe (Value Text)
targetRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TargetRoleArn" PodIdentityAssociation
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
clusterName :: Value Text
disableSessionTags :: Maybe (Value Bool)
namespace :: Value Text
roleArn :: Value Text
serviceAccount :: Value Text
tags :: Maybe [Tag]
..}