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

com.faendir.awscdkkt.generated.services.s3.BucketPolicyDsl.kt Maven / Gradle / Ivy

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

import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.s3.BucketPolicy
import software.amazon.awscdk.services.s3.BucketPolicyProps
import software.constructs.Construct

@Generated
public fun Construct.bucketPolicy(
  id: String,
  props: BucketPolicyProps,
  initializer: @AwsCdkDsl BucketPolicy.() -> Unit = {},
): BucketPolicy = BucketPolicy(this, id, props).apply(initializer)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy