pub struct AMIReference {
pub id: Option<String>,
pub eks_optimized_lookup_type: Option<EKSAMILookupType>,
}
Expand description
AMIReference is a reference to a specific AWS resource by ID, ARN, or filters. Only one of ID, ARN or Filters may be specified. Specifying more than one will result in a validation error.
Fields§
§id: Option<String>
ID of resource
eks_optimized_lookup_type: Option<EKSAMILookupType>
EKSOptimizedLookupType If specified, will look up an EKS Optimized image in SSM Parameter store +kubebuilder:validation:Enum:=AmazonLinux;AmazonLinuxGPU
Trait Implementations§
Source§impl Clone for AMIReference
impl Clone for AMIReference
Source§fn clone(&self) -> AMIReference
fn clone(&self) -> AMIReference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AMIReference
impl Debug for AMIReference
Source§impl Default for AMIReference
impl Default for AMIReference
Source§fn default() -> AMIReference
fn default() -> AMIReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AMIReference
impl<'de> Deserialize<'de> for AMIReference
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
Auto Trait Implementations§
impl Freeze for AMIReference
impl RefUnwindSafe for AMIReference
impl Send for AMIReference
impl Sync for AMIReference
impl Unpin for AMIReference
impl UnwindSafe for AMIReference
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