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

cloudshift.awscdk.dsl.services.devopsguru._BuildableLastArgumentExtensions.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.devopsguru

import kotlin.Unit
import software.amazon.awscdk.services.devopsguru.CfnNotificationChannel
import software.amazon.awscdk.services.devopsguru.CfnResourceCollection

/**
 * A `NotificationChannelConfig` object that contains information about configured notification
 * channels.
 */
public inline
    fun CfnNotificationChannel.setConfig(block: CfnNotificationChannelNotificationChannelConfigPropertyDsl.() -> Unit
    = {}) {
  val builder = CfnNotificationChannelNotificationChannelConfigPropertyDsl()
  builder.apply(block)
  return setConfig(builder.build())
}

/**
 * Information about a filter used to specify which AWS resources are analyzed for anomalous
 * behavior by DevOps Guru.
 */
public inline
    fun CfnResourceCollection.setResourceCollectionFilter(block: CfnResourceCollectionResourceCollectionFilterPropertyDsl.() -> Unit
    = {}) {
  val builder = CfnResourceCollectionResourceCollectionFilterPropertyDsl()
  builder.apply(block)
  return setResourceCollectionFilter(builder.build())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy