pub struct InstanceIdentity {
pub document: Option<String>,
pub signature: Option<String>,
}
Expand description
Identity information for the EC2 instance that is hosting the task runner. You can get this value by calling a metadata URI from the EC2 instance. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.
Fields§
§document: Option<String>
A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.
signature: Option<String>
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.
Trait Implementations§
Source§impl Clone for InstanceIdentity
impl Clone for InstanceIdentity
Source§fn clone(&self) -> InstanceIdentity
fn clone(&self) -> InstanceIdentity
Returns a copy 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 InstanceIdentity
impl Debug for InstanceIdentity
Source§impl Default for InstanceIdentity
impl Default for InstanceIdentity
Source§fn default() -> InstanceIdentity
fn default() -> InstanceIdentity
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstanceIdentity
impl PartialEq for InstanceIdentity
Source§impl Serialize for InstanceIdentity
impl Serialize for InstanceIdentity
impl StructuralPartialEq for InstanceIdentity
Auto Trait Implementations§
impl Freeze for InstanceIdentity
impl RefUnwindSafe for InstanceIdentity
impl Send for InstanceIdentity
impl Sync for InstanceIdentity
impl Unpin for InstanceIdentity
impl UnwindSafe for InstanceIdentity
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