
com.pulumi.awsnative.securityhub.kotlin.outputs.GetOrganizationConfigurationResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.securityhub.kotlin.outputs
import com.pulumi.awsnative.securityhub.kotlin.enums.OrganizationConfigurationAutoEnableStandards
import com.pulumi.awsnative.securityhub.kotlin.enums.OrganizationConfigurationConfigurationType
import com.pulumi.awsnative.securityhub.kotlin.enums.OrganizationConfigurationStatus
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property autoEnable Whether to automatically enable Security Hub in new member accounts when they join the organization.
* @property autoEnableStandards Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
* @property configurationType Indicates whether the organization uses local or central configuration.
* @property memberAccountLimitReached Whether the maximum number of allowed member accounts are already associated with the Security Hub administrator account.
* @property organizationConfigurationIdentifier The identifier of the OrganizationConfiguration being created and assigned as the unique identifier.
* @property status Describes whether central configuration could be enabled as the ConfigurationType for the organization.
* @property statusMessage Provides an explanation if the value of Status is equal to FAILED when ConfigurationType is equal to CENTRAL.
*/
public data class GetOrganizationConfigurationResult(
public val autoEnable: Boolean? = null,
public val autoEnableStandards: OrganizationConfigurationAutoEnableStandards? = null,
public val configurationType: OrganizationConfigurationConfigurationType? = null,
public val memberAccountLimitReached: Boolean? = null,
public val organizationConfigurationIdentifier: String? = null,
public val status: OrganizationConfigurationStatus? = null,
public val statusMessage: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.GetOrganizationConfigurationResult): GetOrganizationConfigurationResult = GetOrganizationConfigurationResult(
autoEnable = javaType.autoEnable().map({ args0 -> args0 }).orElse(null),
autoEnableStandards = javaType.autoEnableStandards().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.OrganizationConfigurationAutoEnableStandards.Companion.toKotlin(args0)
})
}).orElse(null),
configurationType = javaType.configurationType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.OrganizationConfigurationConfigurationType.Companion.toKotlin(args0)
})
}).orElse(null),
memberAccountLimitReached = javaType.memberAccountLimitReached().map({ args0 ->
args0
}).orElse(null),
organizationConfigurationIdentifier = javaType.organizationConfigurationIdentifier().map({ args0 ->
args0
}).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.OrganizationConfigurationStatus.Companion.toKotlin(args0)
})
}).orElse(null),
statusMessage = javaType.statusMessage().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy