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

com.pulumi.aws.sagemaker.kotlin.inputs.UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.sagemaker.kotlin.inputs

import com.pulumi.aws.sagemaker.inputs.UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property assumableRoleArns An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different AWS account than the SageMaker domain.
 * @property executionRoleArns An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other AWS services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other AWS services based on the particular workload requirements.
 */
public data class UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs(
    public val assumableRoleArns: Output>? = null,
    public val executionRoleArns: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.sagemaker.inputs.UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs =
        com.pulumi.aws.sagemaker.inputs.UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs.builder()
            .assumableRoleArns(assumableRoleArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .executionRoleArns(executionRoleArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs].
 */
@PulumiTagMarker
public class UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgsBuilder internal constructor() {
    private var assumableRoleArns: Output>? = null

    private var executionRoleArns: Output>? = null

    /**
     * @param value An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different AWS account than the SageMaker domain.
     */
    @JvmName("qknjumhgbymmmcte")
    public suspend fun assumableRoleArns(`value`: Output>) {
        this.assumableRoleArns = value
    }

    @JvmName("ilwvletqiypkvsmm")
    public suspend fun assumableRoleArns(vararg values: Output) {
        this.assumableRoleArns = Output.all(values.asList())
    }

    /**
     * @param values An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different AWS account than the SageMaker domain.
     */
    @JvmName("ttjcxyondlliaejr")
    public suspend fun assumableRoleArns(values: List>) {
        this.assumableRoleArns = Output.all(values)
    }

    /**
     * @param value An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other AWS services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other AWS services based on the particular workload requirements.
     */
    @JvmName("ywjsdnbggpemlcck")
    public suspend fun executionRoleArns(`value`: Output>) {
        this.executionRoleArns = value
    }

    @JvmName("mvtnmocxblfikpyk")
    public suspend fun executionRoleArns(vararg values: Output) {
        this.executionRoleArns = Output.all(values.asList())
    }

    /**
     * @param values An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other AWS services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other AWS services based on the particular workload requirements.
     */
    @JvmName("cujsubkunvanotea")
    public suspend fun executionRoleArns(values: List>) {
        this.executionRoleArns = Output.all(values)
    }

    /**
     * @param value An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different AWS account than the SageMaker domain.
     */
    @JvmName("iernsvcnnsvtmmyc")
    public suspend fun assumableRoleArns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.assumableRoleArns = mapped
    }

    /**
     * @param values An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different AWS account than the SageMaker domain.
     */
    @JvmName("vycnninisnuwmxau")
    public suspend fun assumableRoleArns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.assumableRoleArns = mapped
    }

    /**
     * @param value An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other AWS services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other AWS services based on the particular workload requirements.
     */
    @JvmName("hclhcvayhluxxtms")
    public suspend fun executionRoleArns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.executionRoleArns = mapped
    }

    /**
     * @param values An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other AWS services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other AWS services based on the particular workload requirements.
     */
    @JvmName("oocghlknjqgtyste")
    public suspend fun executionRoleArns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.executionRoleArns = mapped
    }

    internal fun build(): UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs =
        UserProfileUserSettingsJupyterLabAppSettingsEmrSettingsArgs(
            assumableRoleArns = assumableRoleArns,
            executionRoleArns = executionRoleArns,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy