Struct cfn::Outputs
[−]
[src]
pub struct Outputs(_);
Declares output values that you can import into other stacks (to create cross-stack references), return in response (to describe stack calls), or view on the AWS CloudFormation console.
For example, you can output the S3 bucket name for a stack to make the bucket easier to find.
Methods
impl Outputs
[src]
pub fn get<T: DeserializeValue>(&self, id: &str) -> Result<Output<T>, Error>
[src]
Get the output identified by the logical id.
If the output does not exist, or has a different type, an error is returned.
pub fn has(&self, id: &str) -> bool
[src]
Checks if the output identified by the logical id exists.
pub fn set<T: SerializeValue>(&mut self, id: &str, output: Output<T>)
[src]
Insert an output with the provided logical id.
Trait Implementations
impl Debug for Outputs
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more