AWSEC2ImportKeyPairRequest

@interface AWSEC2ImportKeyPairRequest
  • Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • A unique name for the key pair.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyName;

    Swift

    var keyName: String? { get set }
  • The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSData *_Nullable publicKeyMaterial;

    Swift

    var publicKeyMaterial: Data? { get set }
  • The tags to apply to the imported key pair.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }