Class CfnServerCertificatePropsMixin
- All Implemented Interfaces:
IMixin,software.amazon.jsii.JsiiSerializable
The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.
We recommend that you use Certificate Manager to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to AWS resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the Certificate Manager User Guide .
For more information about working with server certificates, see Working with server certificates in the IAM User Guide . This topic includes a list of AWS services that can use the server certificates that you manage with IAM.
For information about the number of server certificates you can upload, see IAM and AWS STS quotas in the IAM User Guide .
Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling
UploadServerCertificate. For information about setting up signatures and authorization through the API, see Signing AWS API requests in the AWS General Reference . For general information about using the Query API with IAM, see Calling the API by making HTTP query requests in the IAM User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.mixins.*;
import software.amazon.awscdk.mixins.preview.services.iam.mixins.*;
CfnServerCertificatePropsMixin cfnServerCertificatePropsMixin = CfnServerCertificatePropsMixin.Builder.create(CfnServerCertificateMixinProps.builder()
.certificateBody("certificateBody")
.certificateChain("certificateChain")
.path("path")
.privateKey("privateKey")
.serverCertificateName("serverCertificateName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(PropertyMergeStrategy.OVERRIDE)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnServerCertificatePropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.mixins.preview.core.IMixin
IMixin.Jsii$Default, IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::IAM::ServerCertificate.CfnServerCertificatePropsMixin(CfnServerCertificateMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::IAM::ServerCertificate.protectedCfnServerCertificatePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnServerCertificatePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.constructs.IConstructapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnServerCertificateMixinPropsgetProps()protected PropertyMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnServerCertificatePropsMixin
protected CfnServerCertificatePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnServerCertificatePropsMixin
protected CfnServerCertificatePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnServerCertificatePropsMixin
@Stability(Stable) public CfnServerCertificatePropsMixin(@NotNull CfnServerCertificateMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::IAM::ServerCertificate.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnServerCertificatePropsMixin
@Stability(Stable) public CfnServerCertificatePropsMixin(@NotNull CfnServerCertificateMixinProps props) Create a mixin to apply properties toAWS::IAM::ServerCertificate.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) @NotNull public software.constructs.IConstruct applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-