I would not recommend putting freshly cut bamboo into any aquarium. Some Bamboo contains toxins & is not good for your fish. Anything that still contains the sap & is not a live plant should not be placed in an aquarium containing fish. If you have some dead & dried pieces of the bamboo, that is safe to use as long as the plant was not exposed to any poisons when it was alive.
I read on another forum that people used polyurethane (I think) to seal the bamboo first. They made sure that the inside was well-coated too. I'd never need to waste money on driftwood if I was sure I could use the bamboo because I have a ton of that evil junk in my yard.
You can seal bamboo with marine grade polyurethane varnish but it still needs to be dead & dry otherwise the varnish will peel over time causing all sorts of problems for fish & plants. Dead dry (sap free) Bamboo does not need to be sealed at all so there is little point in the practice.