pub struct CustomExternalBinding {
pub service: String,
pub type_: CustomResourceType,
pub extra: Map<String, Value>,
}Expand description
A binding to an existing resource of a type an extension defines, such as a DNS zone the
customer already has. Its fields are the resource’s outputs, as the type’s descriptor declares
them in schemas.outputs.
JSON schema
{
"description": "A binding to an existing resource of a type an extension defines, such as a DNS zone the\ncustomer already has. Its fields are the resource's outputs, as the type's descriptor declares\nthem in `schemas.outputs`.",
"type": "object",
"required": [
"service",
"type"
],
"properties": {
"service": {
"description": "The service the existing resource lives in, such as `route53`.",
"type": "string"
},
"type": {
"$ref": "#/components/schemas/CustomResourceType"
}
},
"additionalProperties": {
"description": "The resource's outputs, such as its `zoneId`."
}
}Fields§
§service: StringThe service the existing resource lives in, such as route53.
type_: CustomResourceType§extra: Map<String, Value>Implementations§
Source§impl CustomExternalBinding
impl CustomExternalBinding
pub fn builder() -> CustomExternalBinding
Trait Implementations§
Source§impl Clone for CustomExternalBinding
impl Clone for CustomExternalBinding
Source§impl Debug for CustomExternalBinding
impl Debug for CustomExternalBinding
Source§impl<'de> Deserialize<'de> for CustomExternalBinding
impl<'de> Deserialize<'de> for CustomExternalBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CustomExternalBinding> for CustomExternalBinding
impl From<&CustomExternalBinding> for CustomExternalBinding
Source§fn from(value: &CustomExternalBinding) -> Self
fn from(value: &CustomExternalBinding) -> Self
Converts to this type from the input type.
Source§impl From<CustomExternalBinding> for ExternalBinding
impl From<CustomExternalBinding> for ExternalBinding
Source§fn from(value: CustomExternalBinding) -> Self
fn from(value: CustomExternalBinding) -> Self
Converts to this type from the input type.
Source§impl From<CustomExternalBinding> for CustomExternalBinding
impl From<CustomExternalBinding> for CustomExternalBinding
Source§fn from(value: CustomExternalBinding) -> Self
fn from(value: CustomExternalBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for CustomExternalBinding
impl Serialize for CustomExternalBinding
Source§impl TryFrom<CustomExternalBinding> for CustomExternalBinding
impl TryFrom<CustomExternalBinding> for CustomExternalBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CustomExternalBinding) -> Result<Self, ConversionError>
fn try_from(value: CustomExternalBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for CustomExternalBinding
impl Freeze for CustomExternalBinding
impl Move for CustomExternalBinding
impl RefUnwindSafe for CustomExternalBinding
impl Send for CustomExternalBinding
impl Sync for CustomExternalBinding
impl Unpin for CustomExternalBinding
impl UnsafeUnpin for CustomExternalBinding
impl UnwindSafe for CustomExternalBinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more