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

com.pulumi.aws.codebuild.kotlin.outputs.GetFleetResult.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.codebuild.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getFleet.
 * @property arn ARN of the Fleet.
 * @property baseCapacity Number of machines allocated to the fleet.
 * @property computeType Compute resources the compute fleet uses.
 * @property created Creation time of the fleet.
 * @property environmentType Environment type of the compute fleet.
 * @property fleetServiceRole The service role associated with the compute fleet.
 * @property id ARN of the Fleet.
 * @property imageId The Amazon Machine Image (AMI) of the compute fleet.
 * @property lastModified Last modification time of the fleet.
 * @property name
 * @property overflowBehavior Overflow behavior for compute fleet.
 * @property scalingConfigurations Nested attribute containing information about the scaling configuration.
 * @property statuses Nested attribute containing information about the current status of the fleet.
 * @property tags Mapping of Key-Value tags for the resource.
 * @property vpcConfigs Nested attribute containing information about the VPC configuration.
 */
public data class GetFleetResult(
    public val arn: String,
    public val baseCapacity: Int,
    public val computeType: String,
    public val created: String,
    public val environmentType: String,
    public val fleetServiceRole: String,
    public val id: String,
    public val imageId: String,
    public val lastModified: String,
    public val name: String,
    public val overflowBehavior: String,
    public val scalingConfigurations: List,
    public val statuses: List,
    public val tags: Map,
    public val vpcConfigs: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.codebuild.outputs.GetFleetResult): GetFleetResult =
            GetFleetResult(
                arn = javaType.arn(),
                baseCapacity = javaType.baseCapacity(),
                computeType = javaType.computeType(),
                created = javaType.created(),
                environmentType = javaType.environmentType(),
                fleetServiceRole = javaType.fleetServiceRole(),
                id = javaType.id(),
                imageId = javaType.imageId(),
                lastModified = javaType.lastModified(),
                name = javaType.name(),
                overflowBehavior = javaType.overflowBehavior(),
                scalingConfigurations = javaType.scalingConfigurations().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.codebuild.kotlin.outputs.GetFleetScalingConfiguration.Companion.toKotlin(args0)
                    })
                }),
                statuses = javaType.statuses().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.codebuild.kotlin.outputs.GetFleetStatus.Companion.toKotlin(args0)
                    })
                }),
                tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                vpcConfigs = javaType.vpcConfigs().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.codebuild.kotlin.outputs.GetFleetVpcConfig.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy