pub struct GetInstancesArgs {
pub filters: Output<Option<Vec<GetInstancesFilter>>>,
pub instance_state_names: Output<Option<Vec<String>>>,
pub instance_tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§filters: Output<Option<Vec<GetInstancesFilter>>>
One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
instance_state_names: Output<Option<Vec<String>>>
List of instance states that should be applicable to the desired instances. The permitted values are: pending, running, shutting-down, stopped, stopping, terminated
. The default value is running
.
Map of tags, each pair of which must exactly match a pair on desired instances.
Implementations§
source§impl GetInstancesArgs
impl GetInstancesArgs
sourcepub fn builder() -> GetInstancesArgsBuilder
pub fn builder() -> GetInstancesArgsBuilder
Create an instance of GetInstancesArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetInstancesArgs
impl Clone for GetInstancesArgs
source§fn clone(&self) -> GetInstancesArgs
fn clone(&self) -> GetInstancesArgs
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 moreAuto Trait Implementations§
impl Freeze for GetInstancesArgs
impl RefUnwindSafe for GetInstancesArgs
impl Send for GetInstancesArgs
impl Sync for GetInstancesArgs
impl Unpin for GetInstancesArgs
impl UnwindSafe for GetInstancesArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)