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

cloudshift.awscdk.dsl.services.m2._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.m2

import kotlin.Unit
import software.amazon.awscdk.services.m2.CfnApplication
import software.amazon.awscdk.services.m2.CfnEnvironment

/**
 * Defines the details of a high availability configuration.
 */
public inline
    fun CfnEnvironment.setHighAvailabilityConfig(block: CfnEnvironmentHighAvailabilityConfigPropertyDsl.() -> Unit
    = {}) {
  val builder = CfnEnvironmentHighAvailabilityConfigPropertyDsl()
  builder.apply(block)
  return setHighAvailabilityConfig(builder.build())
}

/**
 * The application definition for a particular application.
 *
 * You can specify either inline JSON or an Amazon S3 bucket location.
 */
public inline fun CfnApplication.setDefinition(block: CfnApplicationDefinitionPropertyDsl.() -> Unit
    = {}) {
  val builder = CfnApplicationDefinitionPropertyDsl()
  builder.apply(block)
  return setDefinition(builder.build())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy