pub fn alarms(mut self, input: impl Into<std::string::String>) -> Self {
            let mut v = self.alarms.unwrap_or_default();
            v.push(input.into());
            self.alarms = Some(v);
            self
        }
/// Appends an item to `alarms`.
///
/// To override the contents of this collection use [`set_alarms`](Self::set_alarms).
///
/// <p>Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.</p> <note>
/// <p>To use custom alarms, you must update your service role to allow <code>cloudwatch:DescribeAlarms</code>. You can either have AWS OpsWorks Stacks update the role for you when you first use this feature or you can edit the role manually. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-servicerole.html">Allowing AWS OpsWorks Stacks to Act on Your Behalf</a>.</p>
/// </note>
Appends an item to `alarms`.
To override the contents of this collection use [`set_alarms`](Self::set_alarms).

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack. 
To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms. You can either have AWS OpsWorks Stacks update the role for you when you first use this feature or you can edit the role manually. For more information, see Allowing AWS OpsWorks Stacks to Act on Your Behalf.

Appends an item to ` alarms ` . To override the contents of this collection use [ ` set_alarms ` ] ( Self :: set_alarms ) . Custom Cloudwatch auto scaling alarms to be used as thresholds . This parameter takes a list of up to five alarm names which are case sensitive and must be in the same region as the stack . To use custom alarms you must update your service role to allow cloudwatch : DescribeAlarms . You can either have AWS OpsWorks Stacks update the role for you when you first use this feature or you can edit the role manually . For more information see Allowing AWS OpsWorks Stacks to Act on Your Behalf .
pub fn alarms(mut self, input: impl Into<std::string::String>) -> Self {
            let mut v = self.alarms.unwrap_or_default();
            v.push(input.into());
            self.alarms = Some(v);
            self
        }
pub fn alarms ( mut self , input : impl Into < std :: string :: String > ) -> Self { let mut v = self . alarms . unwrap_or_default ( ) ; v . push ( input . into ( ) ) ; self . alarms = Some ( v ) ; self }
Appends an item to `alarms`.
Appends an item to ` alarms ` .
mut self
input
impl Into<std::string::String>
mut self
input
impl Into<std::string::String>