#[derive(Construct)]
{
// Attributes available to this derive:
#[construct]
}
Expand description
Used to generate an implementation of [tf_bindgen::Construct
]. Requires to fields to be
annotated with #[id]
and #[scope]
.
ยงUsage
#[derive(tf_codegen::Construct)]
#[construct(crate = "::tf_codegen")] // optional
pub struct Custom {
#[construct(scope)]
__m_scope: Rc<dyn ::tf_bindgen::Construct>,
#[construct(id)]
__m_name: String
}