![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.resiliencehub.kotlin.outputs.GetAppResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.resiliencehub.kotlin.outputs
import com.pulumi.awsnative.resiliencehub.kotlin.enums.AppAssessmentSchedule
import com.pulumi.awsnative.resiliencehub.kotlin.enums.AppDriftStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property appArn Amazon Resource Name (ARN) of the App.
* @property appAssessmentSchedule Assessment execution schedule.
* @property appTemplateBody A string containing full ResilienceHub app template body.
* @property description App description.
* @property driftStatus Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
* @property eventSubscriptions The list of events you would like to subscribe and get notification for.
* @property permissionModel Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
* @property resiliencyPolicyArn Amazon Resource Name (ARN) of the Resiliency Policy.
* @property resourceMappings An array of ResourceMapping objects.
* @property tags Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
*/
public data class GetAppResult(
public val appArn: String? = null,
public val appAssessmentSchedule: AppAssessmentSchedule? = null,
public val appTemplateBody: String? = null,
public val description: String? = null,
public val driftStatus: AppDriftStatus? = null,
public val eventSubscriptions: List? = null,
public val permissionModel: AppPermissionModel? = null,
public val resiliencyPolicyArn: String? = null,
public val resourceMappings: List? = null,
public val tags: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.resiliencehub.outputs.GetAppResult): GetAppResult = GetAppResult(
appArn = javaType.appArn().map({ args0 -> args0 }).orElse(null),
appAssessmentSchedule = javaType.appAssessmentSchedule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resiliencehub.kotlin.enums.AppAssessmentSchedule.Companion.toKotlin(args0)
})
}).orElse(null),
appTemplateBody = javaType.appTemplateBody().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
driftStatus = javaType.driftStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resiliencehub.kotlin.enums.AppDriftStatus.Companion.toKotlin(args0)
})
}).orElse(null),
eventSubscriptions = javaType.eventSubscriptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resiliencehub.kotlin.outputs.AppEventSubscription.Companion.toKotlin(args0)
})
}),
permissionModel = javaType.permissionModel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resiliencehub.kotlin.outputs.AppPermissionModel.Companion.toKotlin(args0)
})
}).orElse(null),
resiliencyPolicyArn = javaType.resiliencyPolicyArn().map({ args0 -> args0 }).orElse(null),
resourceMappings = javaType.resourceMappings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.resiliencehub.kotlin.outputs.AppResourceMapping.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy