Class CfnServerCertificatePropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.core.Mixin
software.amazon.awscdk.mixins.preview.services.iam.mixins.CfnServerCertificatePropsMixin
All Implemented Interfaces:
IMixin, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:26.856Z") @Stability(Stable) public class CfnServerCertificatePropsMixin extends Mixin implements IMixin
Uploads a server certificate entity for the AWS account .

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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::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 to AWS::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.

      Specified by:
      applyTo in interface IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnServerCertificateMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected PropertyMergeStrategy getStrategy()