Table of Contents

Class CfnServerCertificateProps

Namespace
Amazon.CDK.AWS.IAM
Assembly
Amazon.CDK.AWS.IAM.dll

Properties for defining a CfnServerCertificate.

public class CfnServerCertificateProps : ICfnServerCertificateProps
Inheritance
CfnServerCertificateProps
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.IAM;

             var cfnServerCertificateProps = new CfnServerCertificateProps {
                 CertificateBody = "certificateBody",
                 CertificateChain = "certificateChain",
                 Path = "path",
                 PrivateKey = "privateKey",
                 ServerCertificateName = "serverCertificateName",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Remarks

Constructors

CfnServerCertificateProps()

public CfnServerCertificateProps()

Properties

CertificateBody

The contents of the public key certificate.

public string? CertificateBody { get; set; }

Property Value

string

Remarks

CertificateChain

The contents of the public key certificate chain.

public string? CertificateChain { get; set; }

Property Value

string

Remarks

Path

The path for the server certificate.

public string? Path { get; set; }

Property Value

string

Remarks

For more information about paths, see IAM identifiers in the IAM User Guide .

This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( \ u0021 ) through the DEL character ( \ u007F ), including most punctuation characters, digits, and upper and lowercased letters.

If you are uploading a server certificate specifically for use with Amazon CloudFront distributions, you must specify a path using the <code>path</code> parameter. The path must begin with <code>/cloudfront</code> and must include a trailing slash (for example, <code>/cloudfront/test/</code> ).

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servercertificate.html#cfn-iam-servercertificate-path

PrivateKey

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

public string? PrivateKey { get; set; }

Property Value

string

Remarks

ServerCertificateName

The name for the server certificate.

public string? ServerCertificateName { get; set; }

Property Value

string

Remarks

Do not include the path in this value. The name of the certificate cannot contain any spaces.

This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servercertificate.html#cfn-iam-servercertificate-servercertificatename

Tags

A list of tags that are attached to the server certificate.

public ICfnTag[]? Tags { get; set; }

Property Value

ICfnTag[]

Remarks