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

com.pulumi.awsnative.lightsail.kotlin.outputs.ContainerPrivateRegistryAccessEcrImagePullerRoleProperties.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lightsail.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
 * @property isActive A Boolean value that indicates whether to activate the role.
 * @property principalArn The Amazon Resource Name (ARN) of the role, if it is activated.
 */
public data class ContainerPrivateRegistryAccessEcrImagePullerRoleProperties(
    public val isActive: Boolean? = null,
    public val principalArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lightsail.outputs.ContainerPrivateRegistryAccessEcrImagePullerRoleProperties): ContainerPrivateRegistryAccessEcrImagePullerRoleProperties =
            ContainerPrivateRegistryAccessEcrImagePullerRoleProperties(
                isActive = javaType.isActive().map({ args0 -> args0 }).orElse(null),
                principalArn = javaType.principalArn().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy