pub struct ResourceFactory { /* private fields */ }
Expand description
A factory for getting metadata when building resources
Implementations§
Source§impl ResourceFactory
impl ResourceFactory
pub fn new( project_name: String, secrets: BTreeMap<String, Secret<String>>, env: Environment, ) -> Self
pub fn get_secrets(&self) -> BTreeMap<String, Secret<String>>
pub fn get_metadata(&self) -> DeploymentMetadata
Auto Trait Implementations§
impl Freeze for ResourceFactory
impl RefUnwindSafe for ResourceFactory
impl Send for ResourceFactory
impl Sync for ResourceFactory
impl Unpin for ResourceFactory
impl UnwindSafe for ResourceFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more