pub struct KeyPairArgs {
pub key_name: Output<Option<String>>,
pub key_name_prefix: Output<Option<String>>,
pub public_key: Output<String>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§key_name: Output<Option<String>>
The name for the key pair. If neither key_name
nor key_name_prefix
is provided, the provider will create a unique key name.
key_name_prefix: Output<Option<String>>
Creates a unique name beginning with the specified prefix. Conflicts with key_name
. If neither key_name
nor key_name_prefix
is provided, the provider will create a unique key name.
public_key: Output<String>
The public key material.
Key-value map of resource tags. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementations§
source§impl KeyPairArgs
impl KeyPairArgs
sourcepub fn builder() -> KeyPairArgsBuilder
pub fn builder() -> KeyPairArgsBuilder
Create an instance of KeyPairArgs
using the builder syntax
Trait Implementations§
source§impl Clone for KeyPairArgs
impl Clone for KeyPairArgs
source§fn clone(&self) -> KeyPairArgs
fn clone(&self) -> KeyPairArgs
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 KeyPairArgs
impl RefUnwindSafe for KeyPairArgs
impl Send for KeyPairArgs
impl Sync for KeyPairArgs
impl Unpin for KeyPairArgs
impl UnwindSafe for KeyPairArgs
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
)