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

cloudshift.awscdk.dsl.alexa.ask._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.alexa.ask

import software.amazon.awscdk.alexa.ask.CfnSkill
import kotlin.Unit

/**
 * Login with Amazon (LWA) configuration used to authenticate with the Alexa service.
 */
public inline fun CfnSkill.setAuthenticationConfiguration(
    block: CfnSkillAuthenticationConfigurationPropertyDsl.() -> Unit =
        {}
) {
    val builder = CfnSkillAuthenticationConfigurationPropertyDsl()
    builder.apply(block)
    return setAuthenticationConfiguration(builder.build())
}

/**
 * Configuration for the skill package that contains the components of the Alexa skill.
 */
public inline fun CfnSkill.setSkillPackage(block: CfnSkillSkillPackagePropertyDsl.() -> Unit = {}) {
    val builder = CfnSkillSkillPackagePropertyDsl()
    builder.apply(block)
    return setSkillPackage(builder.build())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy