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

io.burkard.cdk.services.guardduty.CfnMember.scala Maven / Gradle / Ivy

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

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

  def apply(
    internalResourceId: String,
    detectorId: String,
    email: String,
    memberId: String,
    disableEmailNotification: Option[Boolean] = None,
    status: Option[String] = None,
    message: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.guardduty.CfnMember =
    software.amazon.awscdk.services.guardduty.CfnMember.Builder
      .create(stackCtx, internalResourceId)
      .detectorId(detectorId)
      .email(email)
      .memberId(memberId)
      .disableEmailNotification(disableEmailNotification.map(Boolean.box).orNull)
      .status(status.orNull)
      .message(message.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy