All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.acmpca.CfnCertificate.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.acmpca

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnCertificate {

  def apply(
    internalResourceId: String,
    certificateAuthorityArn: String,
    signingAlgorithm: String,
    certificateSigningRequest: String,
    validity: software.amazon.awscdk.services.acmpca.CfnCertificate.ValidityProperty,
    apiPassthrough: Option[software.amazon.awscdk.services.acmpca.CfnCertificate.ApiPassthroughProperty] = None,
    validityNotBefore: Option[software.amazon.awscdk.services.acmpca.CfnCertificate.ValidityProperty] = None,
    templateArn: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.acmpca.CfnCertificate =
    software.amazon.awscdk.services.acmpca.CfnCertificate.Builder
      .create(stackCtx, internalResourceId)
      .certificateAuthorityArn(certificateAuthorityArn)
      .signingAlgorithm(signingAlgorithm)
      .certificateSigningRequest(certificateSigningRequest)
      .validity(validity)
      .apiPassthrough(apiPassthrough.orNull)
      .validityNotBefore(validityNotBefore.orNull)
      .templateArn(templateArn.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy