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

com.faendir.awscdkkt.generated.services.logs.ResourcePolicyDsl.kt Maven / Gradle / Ivy

There is a newer version: 2.167.1-1.0.1
Show newest version
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.ResourcePolicy
import software.amazon.awscdk.services.logs.ResourcePolicyProps
import software.constructs.Construct

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

@Generated
public fun Construct.resourcePolicy(
  id: String,
  props: ResourcePolicyProps,
  initializer: @AwsCdkDsl ResourcePolicy.() -> Unit = {},
): ResourcePolicy = ResourcePolicy(this, id, props).apply(initializer)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy