Class CfnServerCertificatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerCertificatePropsMixin>
- Enclosing class:
CfnServerCertificatePropsMixin
CfnServerCertificatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()certificateBody(String certificateBody) The contents of the public key certificate.certificateChain(String certificateChain) The contents of the public key certificate chain.create()create(CfnPropertyMixinOptions options) The path for the server certificate.privateKey(String privateKey) The contents of the private key in PEM-encoded format.serverCertificateName(String serverCertificateName) The name for the server certificate.A list of tags that are attached to the server certificate.
-
Method Details
-
create
@Stability(Stable) public static CfnServerCertificatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServerCertificatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServerCertificatePropsMixin.Builder.
-
certificateBody
@Stability(Stable) public CfnServerCertificatePropsMixin.Builder certificateBody(String certificateBody) The contents of the public key certificate.- Parameters:
certificateBody- The contents of the public key certificate. This parameter is required.- Returns:
this- See Also:
-
certificateChain
@Stability(Stable) public CfnServerCertificatePropsMixin.Builder certificateChain(String certificateChain) The contents of the public key certificate chain.- Parameters:
certificateChain- The contents of the public key certificate chain. This parameter is required.- Returns:
this- See Also:
-
path
The path for the server certificate.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 ! (
!) through the DEL character (), 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/).- Parameters:
path- The path for the server certificate. This parameter is required.- Returns:
this- See Also:
-
privateKey
The contents of the private key in PEM-encoded format.The regex pattern used to validate this parameter is a string of characters consisting of the following:
- Any printable ASCII character ranging from the space character (
) through the end of the ASCII character range - The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ΓΏ) - The special characters tab (
), line feed (), and carriage return ()
- Parameters:
privateKey- The contents of the private key in PEM-encoded format. This parameter is required.- Returns:
this- See Also:
- Any printable ASCII character ranging from the space character (
-
serverCertificateName
@Stability(Stable) public CfnServerCertificatePropsMixin.Builder serverCertificateName(String serverCertificateName) The name for the server certificate.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: _+=,.@-
- Parameters:
serverCertificateName- The name for the server certificate. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags that are attached to the server certificate.For more information about tagging, see Tagging IAM resources in the IAM User Guide .
- Parameters:
tags- A list of tags that are attached to the server certificate. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerCertificatePropsMixin>- Returns:
- a newly built instance of
CfnServerCertificatePropsMixin.
-