@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.745Z") @Stability(value=Stable) public interface CfnServerCertificateProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
CfnServerCertificateProps cfnServerCertificateProps = CfnServerCertificateProps.builder()
.certificateBody("certificateBody")
.certificateChain("certificateChain")
.path("path")
.privateKey("privateKey")
.serverCertificateName("serverCertificateName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnServerCertificateProps.Builder
A builder for
CfnServerCertificateProps |
static class |
CfnServerCertificateProps.Jsii$Proxy
An implementation for
CfnServerCertificateProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnServerCertificateProps.Builder |
builder() |
default String |
getCertificateBody()
The contents of the public key certificate.
|
default String |
getCertificateChain()
The contents of the public key certificate chain.
|
default String |
getPath()
The path for the server certificate.
|
default String |
getPrivateKey()
The contents of the private key in PEM-encoded format.
|
default String |
getServerCertificateName()
The name for the server certificate.
|
default List<CfnTag> |
getTags()
A list of tags that are attached to the server certificate.
|
@Stability(value=Stable) @Nullable default String getCertificateBody()
@Stability(value=Stable) @Nullable default String getCertificateChain()
@Stability(value=Stable) @Nullable default String getPath()
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/).
@Stability(value=Stable) @Nullable default String getPrivateKey()
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 )@Stability(value=Stable) @Nullable default String getServerCertificateName()
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: _+=,.@-
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information about tagging, see Tagging IAM resources in the IAM User Guide .
@Stability(value=Stable) static CfnServerCertificateProps.Builder builder()
CfnServerCertificateProps.Builder of CfnServerCertificatePropsCopyright © 2022. All rights reserved.