[][src]Struct cfn_custom_resource::CustomResourceResponse

pub struct CustomResourceResponse { /* fields omitted */ }

Define a response payload for the execution of a cloud formation custom resource data that is sent back to cloud formation after the process of executing the custom resource is complete.

Implementations

impl CustomResourceResponse[src]

pub fn set_no_echo(self, value: bool) -> Self[src]

Indicates whether to mask the output of the custom resource when retrieved by using the Fn::GetAtt function. If set to true, all returned values are masked with asterisks (*****), except for those stored in the Metadata section of the template. Cloud Formation does not transform, modify, or redact any information you include in the Metadata section. The default value is false.

pub fn add_data(self, key: &str, value: &str) -> Self[src]

Writes a new key value pair to the data section of the response.

The custom resource provider-defined name-value pairs to send with the response. You can access the values provided here by name in the template with Fn::GetAtt.

pub async fn finish(self) -> Result<(), Error>[src]

Sends the response object (self) to the response url of the custom resource.

This finishes the cloudformation object change (create/update/delete).

Errors

When the request fails to execute the request

Trait Implementations

impl Debug for CustomResourceResponse[src]

impl Serialize for CustomResourceResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,