[−][src]Struct cfn_custom_resource::CustomResourceResponse
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
impl RefUnwindSafe for CustomResourceResponse
impl Send for CustomResourceResponse
impl Sync for CustomResourceResponse
impl Unpin for CustomResourceResponse
impl UnwindSafe for CustomResourceResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,