Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin
import com.pulumi.awsnative.connect.SecurityProfileArgs.builder
import com.pulumi.awsnative.connect.kotlin.inputs.SecurityProfileApplicationArgs
import com.pulumi.awsnative.connect.kotlin.inputs.SecurityProfileApplicationArgsBuilder
import com.pulumi.awsnative.connect.kotlin.inputs.SecurityProfileTagArgs
import com.pulumi.awsnative.connect.kotlin.inputs.SecurityProfileTagArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Connect::SecurityProfile
* @property allowedAccessControlHierarchyGroupId The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
* @property allowedAccessControlTags The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
* @property applications A list of third-party applications that the security profile will give access to.
* @property description The description of the security profile.
* @property hierarchyRestrictedResources The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
* @property instanceArn The identifier of the Amazon Connect instance.
* @property permissions Permissions assigned to the security profile.
* @property securityProfileName The name of the security profile.
* @property tagRestrictedResources The list of resources that a security profile applies tag restrictions to in Amazon Connect.
* @property tags The tags used to organize, track, or control access for this resource.
*/
public data class SecurityProfileArgs(
public val allowedAccessControlHierarchyGroupId: Output? = null,
public val allowedAccessControlTags: Output>? = null,
public val applications: Output>? = null,
public val description: Output? = null,
public val hierarchyRestrictedResources: Output>? = null,
public val instanceArn: Output? = null,
public val permissions: Output>? = null,
public val securityProfileName: Output? = null,
public val tagRestrictedResources: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.SecurityProfileArgs =
com.pulumi.awsnative.connect.SecurityProfileArgs.builder()
.allowedAccessControlHierarchyGroupId(
allowedAccessControlHierarchyGroupId?.applyValue({ args0 ->
args0
}),
)
.allowedAccessControlTags(
allowedAccessControlTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.applications(
applications?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.hierarchyRestrictedResources(
hierarchyRestrictedResources?.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
)
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.permissions(permissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.securityProfileName(securityProfileName?.applyValue({ args0 -> args0 }))
.tagRestrictedResources(
tagRestrictedResources?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SecurityProfileArgs].
*/
@PulumiTagMarker
public class SecurityProfileArgsBuilder internal constructor() {
private var allowedAccessControlHierarchyGroupId: Output? = null
private var allowedAccessControlTags: Output>? = null
private var applications: Output>? = null
private var description: Output? = null
private var hierarchyRestrictedResources: Output>? = null
private var instanceArn: Output? = null
private var permissions: Output>? = null
private var securityProfileName: Output? = null
private var tagRestrictedResources: Output>? = null
private var tags: Output>? = null
/**
* @param value The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
*/
@JvmName("ifcymibuogbyeqem")
public suspend fun allowedAccessControlHierarchyGroupId(`value`: Output) {
this.allowedAccessControlHierarchyGroupId = value
}
/**
* @param value The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
*/
@JvmName("bfcdrtbhtfcteyty")
public suspend fun allowedAccessControlTags(`value`: Output>) {
this.allowedAccessControlTags = value
}
@JvmName("wqdkminrqghgoyih")
public suspend fun allowedAccessControlTags(vararg values: Output) {
this.allowedAccessControlTags = Output.all(values.asList())
}
/**
* @param values The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
*/
@JvmName("einjjjpqcrymllsl")
public suspend fun allowedAccessControlTags(values: List