Show / Hide Table of Contents

Class CfnServerCertificateProps

Properties for defining a CfnServerCertificate.

Inheritance
object
CfnServerCertificateProps
Implements
ICfnServerCertificateProps
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.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServerCertificateProps : ICfnServerCertificateProps
Syntax (vb)
Public Class CfnServerCertificateProps Implements ICfnServerCertificateProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servercertificate.html

ExampleMetadata: fixture=_generated

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"
                 } }
             };

Synopsis

Constructors

CfnServerCertificateProps()

Properties for defining a CfnServerCertificate.

Properties

CertificateBody

The contents of the public key certificate.

CertificateChain

The contents of the public key certificate chain.

Path

The path for the server certificate.

PrivateKey

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

ServerCertificateName

The name for the server certificate.

Tags

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

Constructors

CfnServerCertificateProps()

Properties for defining a CfnServerCertificate.

public CfnServerCertificateProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servercertificate.html

ExampleMetadata: fixture=_generated

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"
                 } }
             };

Properties

CertificateBody

The contents of the public key certificate.

public string? CertificateBody { get; set; }
Property Value

string

Remarks

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

CertificateChain

The contents of the public key certificate chain.

public string? CertificateChain { get; set; }
Property Value

string

Remarks

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

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> ).

See: 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

The regex pattern used to validate this parameter is a string of characters consisting of the following:

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

    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: _+=,.@-

    See: 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

    For more information about tagging, see Tagging IAM resources in the IAM User Guide .

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

    Implements

    ICfnServerCertificateProps
    Back to top Generated by DocFX