Container for the parameters to the UploadServerCertificate operation.

Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.

For information about the number of server certificates you can upload, see Limitations on IAM Entities in Using AWS Identity and Access Management .

NOTE:Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For more information, see Making Query Requests in Using AWS Identity and Access Management.

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class UploadServerCertificateRequest : AmazonWebServiceRequest
Public Class UploadServerCertificateRequest _
	Inherits AmazonWebServiceRequest
public ref class UploadServerCertificateRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
UploadServerCertificateRequest()()()()
Initializes a new instance of the UploadServerCertificateRequest class
CertificateBody
The contents of the public key certificate in PEM-encoded format.

Constraints:

Length
1 - 16384
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]+

CertificateChain
The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

Constraints:

Length
1 - 2097152
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]*

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Path
The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).

Constraints:

Length
1 - 512
Pattern
(\u002F)|(\u002F[\u0021-\u007F]+\u002F)

PrivateKey
The contents of the private key in PEM-encoded format.

Constraints:

Length
1 - 16384
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]*

ServerCertificateName
The name for the server certificate. Do not include the path in this value.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithCertificateBody(String)
Sets the CertificateBody property
WithCertificateChain(String)
Sets the CertificateChain property
WithPath(String)
Sets the Path property
WithPrivateKey(String)
Sets the PrivateKey property
WithServerCertificateName(String)
Sets the ServerCertificateName property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.IdentityManagement.Model..::..UploadServerCertificateRequest

See Also