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

com.faendir.awscdkkt.generated.services.apigateway.RestApiDsl.kt Maven / Gradle / Ivy

There is a newer version: 2.167.1-1.0.1
Show newest version
package com.faendir.awscdkkt.generated.services.apigateway

import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.apigateway.RestApi
import software.amazon.awscdk.services.apigateway.RestApiProps
import software.constructs.Construct

@Generated
public fun Construct.restApi(id: String, initializer: @AwsCdkDsl RestApi.() -> Unit = {}): RestApi =
    RestApi(this, id).apply(initializer)

@Generated
public fun Construct.restApi(
  id: String,
  props: RestApiProps,
  initializer: @AwsCdkDsl RestApi.() -> Unit = {},
): RestApi = RestApi(this, id, props).apply(initializer)

@Generated
public fun Construct.buildRestApi(id: String, initializer: @AwsCdkDsl RestApi.Builder.() -> Unit =
    {}): RestApi = RestApi.Builder.create(this, id).apply(initializer).build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy