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

com.pulumi.awsnative.batch.kotlin.outputs.JobDefinitionSecret.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.batch.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name The name of the secret.
 * @property valueFrom The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
 * > If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
 */
public data class JobDefinitionSecret(
    public val name: String,
    public val valueFrom: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.batch.outputs.JobDefinitionSecret): JobDefinitionSecret = JobDefinitionSecret(
            name = javaType.name(),
            valueFrom = javaType.valueFrom(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy