Policy

sealed class Policy

An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class SecurityHub(val value: SecurityHubPolicy) : Policy

The Amazon Web Services service that the configuration policy applies to.

Functions

Link copied to clipboard

Casts this Policy as a SecurityHub and retrieves its aws.sdk.kotlin.services.securityhub.model.SecurityHubPolicy value. Throws an exception if the Policy is not a SecurityHub.

Link copied to clipboard