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

io.burkard.cdk.services.ssmincidents.CfnResponsePlan.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnResponsePlan {

  def apply(
    internalResourceId: String,
    name: String,
    incidentTemplate: software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.IncidentTemplateProperty,
    displayName: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    chatChannel: Option[software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.ChatChannelProperty] = None,
    engagements: Option[List[String]] = None,
    actions: Option[List[_]] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.ssmincidents.CfnResponsePlan =
    software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.Builder
      .create(stackCtx, internalResourceId)
      .name(name)
      .incidentTemplate(incidentTemplate)
      .displayName(displayName.orNull)
      .tags(tags.map(_.asJava).orNull)
      .chatChannel(chatChannel.orNull)
      .engagements(engagements.map(_.asJava).orNull)
      .actions(actions.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy