Struct rusoto_lightsail::MonitoredResourceInfo [−][src]
pub struct MonitoredResourceInfo { pub arn: Option<String>, pub name: Option<String>, pub resource_type: Option<String>, }
Expand description
Describes resource being monitored by an alarm.
An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail.
Fields
arn: Option<String>
The Amazon Resource Name (ARN) of the resource being monitored.
name: Option<String>
The name of the Lightsail resource being monitored.
resource_type: Option<String>
The Lightsail resource type of the resource being monitored.
Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MonitoredResourceInfo
impl Send for MonitoredResourceInfo
impl Sync for MonitoredResourceInfo
impl Unpin for MonitoredResourceInfo
impl UnwindSafe for MonitoredResourceInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self