@Stability(value=Stable) public static final class CfnServerCertificate.Builder extends Object implements software.amazon.jsii.Builder<CfnServerCertificate>
CfnServerCertificate.| Modifier and Type | Method and Description |
|---|---|
CfnServerCertificate |
build() |
CfnServerCertificate.Builder |
certificateBody(String certificateBody)
The contents of the public key certificate.
|
CfnServerCertificate.Builder |
certificateChain(String certificateChain)
The contents of the public key certificate chain.
|
static CfnServerCertificate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnServerCertificate.Builder |
path(String path)
The path for the server certificate.
|
CfnServerCertificate.Builder |
privateKey(String privateKey)
The contents of the private key in PEM-encoded format.
|
CfnServerCertificate.Builder |
serverCertificateName(String serverCertificateName)
The name for the server certificate.
|
CfnServerCertificate.Builder |
tags(List<? extends CfnTag> tags)
A list of tags that are attached to the server certificate.
|
@Stability(value=Stable) public static CfnServerCertificate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnServerCertificate.Builder.@Stability(value=Stable) public CfnServerCertificate.Builder certificateBody(String certificateBody)
certificateBody - The contents of the public key certificate. This parameter is required.this@Stability(value=Stable) public CfnServerCertificate.Builder certificateChain(String certificateChain)
certificateChain - The contents of the public key certificate chain. This parameter is required.this@Stability(value=Stable) public CfnServerCertificate.Builder path(String path)
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
pathparameter. The path must begin with/cloudfrontand must include a trailing slash (for example,/cloudfront/test/).
path - The path for the server certificate. This parameter is required.this@Stability(value=Stable) public CfnServerCertificate.Builder privateKey(String privateKey)
The regex pattern used to validate this parameter is a string of characters consisting of the following:
\ u0020 ) through the end of the ASCII character range\ u00FF )\ u0009 ), line feed ( \ u000A ), and carriage return ( \ u000D )privateKey - The contents of the private key in PEM-encoded format. This parameter is required.this@Stability(value=Stable) public CfnServerCertificate.Builder serverCertificateName(String serverCertificateName)
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: _+=,.@-
serverCertificateName - The name for the server certificate. This parameter is required.this@Stability(value=Stable) public CfnServerCertificate.Builder tags(List<? extends CfnTag> tags)
For more information about tagging, see Tagging IAM resources in the IAM User Guide .
tags - A list of tags that are attached to the server certificate. This parameter is required.this@Stability(value=Stable) public CfnServerCertificate build()
build in interface software.amazon.jsii.Builder<CfnServerCertificate>Copyright © 2022. All rights reserved.