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

src.index.inputs.EventDestinationTargetArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok.inputs

final case class EventDestinationTargetArgs private(
  cloudwatchLogs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EventDestinationTargetCloudwatchLogArgs]]],
  debugs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EventDestinationTargetDebugArgs]]],
  firehoses: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EventDestinationTargetFirehoseArgs]]],
  kineses: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EventDestinationTargetKineseArgs]]]
)

object EventDestinationTargetArgs:
  def apply(
    cloudwatchLogs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EventDestinationTargetCloudwatchLogArgs]]] = scala.None,
    debugs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EventDestinationTargetDebugArgs]]] = scala.None,
    firehoses: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EventDestinationTargetFirehoseArgs]]] = scala.None,
    kineses: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EventDestinationTargetKineseArgs]]] = scala.None
  )(using besom.types.Context): EventDestinationTargetArgs =
    new EventDestinationTargetArgs(
      cloudwatchLogs = cloudwatchLogs.asOptionOutput(isSecret = false),
      debugs = debugs.asOptionOutput(isSecret = false),
      firehoses = firehoses.asOptionOutput(isSecret = false),
      kineses = kineses.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[EventDestinationTargetArgs] =
    besom.internal.Encoder.derived[EventDestinationTargetArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EventDestinationTargetArgs] =
    besom.internal.ArgsEncoder.derived[EventDestinationTargetArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy