com.pulumi.aws.ecs.kotlin.outputs.ServiceServiceRegistries.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
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.aws.ecs.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property containerName Container name value, already specified in the task definition, to be used for your service discovery service.
* @property containerPort Port value, already specified in the task definition, to be used for your service discovery service.
* @property port Port value used if your Service Discovery service specified an SRV record.
* @property registryArn ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`aws.servicediscovery.Service`). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)
*/
public data class ServiceServiceRegistries(
public val containerName: String? = null,
public val containerPort: Int? = null,
public val port: Int? = null,
public val registryArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.ecs.outputs.ServiceServiceRegistries): ServiceServiceRegistries = ServiceServiceRegistries(
containerName = javaType.containerName().map({ args0 -> args0 }).orElse(null),
containerPort = javaType.containerPort().map({ args0 -> args0 }).orElse(null),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
registryArn = javaType.registryArn(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy