pub struct InstanceMetadataDefaultsArgs {
pub http_endpoint: Output<Option<String>>,
pub http_put_response_hop_limit: Output<Option<i32>>,
pub http_tokens: Output<Option<String>>,
pub instance_metadata_tags: Output<Option<String>>,
}
Fields§
§http_endpoint: Output<Option<String>>
Whether the metadata service is available. Can be "enabled"
, "disabled"
, or "no-preference"
. Default: "no-preference"
.
http_put_response_hop_limit: Output<Option<i32>>
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1
to 64
, or -1
to indicate no preference. Default: -1
.
http_tokens: Output<Option<String>>
Whether the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"
, "required"
, or "no-preference"
. Default: "no-preference"
.
Enables or disables access to instance tags from the instance metadata service. Can be "enabled"
, "disabled"
, or "no-preference"
. Default: "no-preference"
.
Implementations§
source§impl InstanceMetadataDefaultsArgs
impl InstanceMetadataDefaultsArgs
sourcepub fn builder() -> InstanceMetadataDefaultsArgsBuilder
pub fn builder() -> InstanceMetadataDefaultsArgsBuilder
Create an instance of InstanceMetadataDefaultsArgs
using the builder syntax
Trait Implementations§
source§impl Clone for InstanceMetadataDefaultsArgs
impl Clone for InstanceMetadataDefaultsArgs
source§fn clone(&self) -> InstanceMetadataDefaultsArgs
fn clone(&self) -> InstanceMetadataDefaultsArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for InstanceMetadataDefaultsArgs
impl RefUnwindSafe for InstanceMetadataDefaultsArgs
impl Send for InstanceMetadataDefaultsArgs
impl Sync for InstanceMetadataDefaultsArgs
impl Unpin for InstanceMetadataDefaultsArgs
impl UnwindSafe for InstanceMetadataDefaultsArgs
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
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)
clone_to_uninit
)