com.faendir.awscdkkt.generated.services.cloudfront.origins.S3OriginDsl.kt Maven / Gradle / Ivy
@file:Suppress("DEPRECATION")
package com.faendir.awscdkkt.generated.services.cloudfront.origins
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Deprecated
import kotlin.Suppress
import kotlin.Unit
import software.amazon.awscdk.services.cloudfront.origins.S3Origin
import software.amazon.awscdk.services.s3.IBucket
@Deprecated(message =
"software.amazon.awscdk.services.cloudfront.origins.S3Origin is deprecated in CDK.")
@Generated
public fun buildS3Origin(bucket: IBucket, initializer: @AwsCdkDsl S3Origin.Builder.() -> Unit = {}):
S3Origin = S3Origin.Builder.create(bucket).apply(initializer).build()