Struct cfn::Resources
[−]
[src]
pub struct Resources(_);
Specifies the stack resources and their properties, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket.
Methods
impl Resources
[src]
pub fn get<R: Resource>(&self, id: &str) -> Result<R, Error>
[src]
Get the resource identified by the logical id.
If the resource does not exist, or has a different type, an error is returned.
pub fn has(&self, id: &str) -> bool
[src]
Checks if a resource with the provided logical id exists.
pub fn set<R: Resource>(&mut self, id: &str, resource: R)
[src]
Insert a resource with the provided logical id.
Trait Implementations
impl Debug for Resources
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more