Show / Hide Table of Contents

Class KeyPairAttributes

Attributes of a Key Pair.

Inheritance
object
KeyPairAttributes
Implements
IKeyPairAttributes
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeyPairAttributes : IKeyPairAttributes
Syntax (vb)
Public Class KeyPairAttributes Implements IKeyPairAttributes
Remarks

ExampleMetadata: infused

Examples
var keyPair = KeyPair.FromKeyPairAttributes(this, "KeyPair", new KeyPairAttributes {
                KeyPairName = "the-keypair-name",
                Type = KeyPairType.RSA
            });

Synopsis

Constructors

KeyPairAttributes()

Attributes of a Key Pair.

Properties

KeyPairName

The unique name of the key pair.

Type

The type of the key pair.

Constructors

KeyPairAttributes()

Attributes of a Key Pair.

public KeyPairAttributes()
Remarks

ExampleMetadata: infused

Examples
var keyPair = KeyPair.FromKeyPairAttributes(this, "KeyPair", new KeyPairAttributes {
                KeyPairName = "the-keypair-name",
                Type = KeyPairType.RSA
            });

Properties

KeyPairName

The unique name of the key pair.

public string KeyPairName { get; set; }
Property Value

string

Remarks

ExampleMetadata: infused

Type

The type of the key pair.

public KeyPairType? Type { get; set; }
Property Value

KeyPairType?

Remarks

Default: no type specified

Implements

IKeyPairAttributes
Back to top Generated by DocFX