pub fn key_policies(
            mut self,
            k: impl Into<std::string::String>,
            v: impl Into<std::string::String>,
        ) -> Self {
            let mut hash_map = self.key_policies.unwrap_or_default();
            hash_map.insert(k.into(), v.into());
            self.key_policies = Some(hash_map);
            self
        }
/// Adds a key-value pair to `key_policies`.
///
/// To override the contents of this collection use [`set_key_policies`](Self::set_key_policies).
///
/// <p>Resource policy configuration for the KMS key. The only valid value for the name of the key policy is <code>default</code>. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default">Default key policy</a>.</p>
Adds a key-value pair to `key_policies`.
To override the contents of this collection use [`set_key_policies`](Self::set_key_policies).

Resource policy configuration for the KMS key. The only valid value for the name of the key policy is default. For more information, see Default key policy.
Adds a key - value pair to ` key_policies ` . To override the contents of this collection use [ ` set_key_policies ` ] ( Self :: set_key_policies ) . Resource policy configuration for the KMS key . The only valid value for the name of the key policy is default . For more information see Default key policy .
pub fn key_policies(
            mut self,
            k: impl Into<std::string::String>,
            v: impl Into<std::string::String>,
        ) -> Self {
            let mut hash_map = self.key_policies.unwrap_or_default();
            hash_map.insert(k.into(), v.into());
            self.key_policies = Some(hash_map);
            self
        }
pub fn key_policies ( mut self , k : impl Into < std :: string :: String > , v : impl Into < std :: string :: String > , ) -> Self { let mut hash_map = self . key_policies . unwrap_or_default ( ) ; hash_map . insert ( k . into ( ) , v . into ( ) ) ; self . key_policies = Some ( hash_map ) ; self }
Adds a key-value pair to `key_policies`.
Adds a key - value pair to ` key_policies ` .
mut self
k
impl Into<std::string::String>
v
impl Into<std::string::String>
mut self
k
impl Into<std::string::String>
v
impl Into<std::string::String>