com.faendir.awscdkkt.generated.services.logs.CfnResourcePolicyDsl.kt Maven / Gradle / Ivy
package com.faendir.awscdkkt.generated.services.logs
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.logs.CfnResourcePolicy
import software.amazon.awscdk.services.logs.CfnResourcePolicyProps
import software.constructs.Construct
@Generated
public fun Construct.cfnResourcePolicy(
id: String,
props: CfnResourcePolicyProps,
initializer: @AwsCdkDsl CfnResourcePolicy.() -> Unit = {},
): CfnResourcePolicy = CfnResourcePolicy(this, id, props).apply(initializer)
@Generated
public fun Construct.buildCfnResourcePolicy(id: String, initializer: @AwsCdkDsl
CfnResourcePolicy.Builder.() -> Unit = {}): CfnResourcePolicy =
CfnResourcePolicy.Builder.create(this, id).apply(initializer).build()