Fugue.AWS.RDS.Compliance

Module Members

isFedrampCompliantEngine

(Function)

For list of authorized engines see: https://aws.amazon.com/blogs/security/fedramp-compliance-update-aws-govcloud-us-region-receives-a-jab-issued-fedramp-high-baseline-p-ato-for-three-new-services/

Type Signature

 fun (Engine, Optional<String>) -> Bool
Argument: engine
Type: Engine
Argument: __version
Type: Optional<String>
Returns:
Type: Bool

isHipaaCompliantEngine

(Function)

Type Signature

 fun (Engine, Optional<String>) -> Bool
Argument: engine
Type: Engine
Argument: __version
Type: Optional<String>
Returns:
Type: Bool

requireEncryptionForCluster

(Function)

Type Signature

 fun { references: Optional<List<String>> } -> fun (DBCluster) -> Validation
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBCluster) -> Validation

requireEncryptionForInstance

(Function)

Type Signature

 fun { references: Optional<List<String>> } -> fun (DBInstance) -> Validation
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBInstance) -> Validation

requireEngineForCluster

(Function)

Check that the DB engine in a DB cluster satisfies a predicate.

Example:

import Fugue.AWS.RDS.Compliance

validate Fugue.AWS.RDS.Compliance.requireEngineForCluster {
  predicate: Fugue.AWS.RDS.Compliance.isFedrampCompliantEngine
}

Type Signature

 fun { predicate: fun (Engine, Optional<String>) -> Bool,
       message: Optional<String>,
       references: Optional<List<String>> } -> fun (DBCluster) -> Validation
Argument: predicate
Type: fun ( Engine, Optional<String>) -> Bool
Argument: message
Type: Optional<String>
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBCluster) -> Validation

requireEngineForInstance

(Function)

Check that the DB engine in a DB instance satisfies a predicate.

Example:

import Fugue.AWS.RDS.Compliance

validate Fugue.AWS.RDS.Compliance.requireEngineForInstance {
  predicate: Fugue.AWS.RDS.Compliance.isFedrampCompliantEngine
}

Type Signature

 fun { predicate: fun (Engine, Optional<String>) -> Bool,
       references: Optional<List<String>> } -> fun (DBInstance) -> Validation
Argument: predicate
Type: fun ( Engine, Optional<String>) -> Bool
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBInstance) -> Validation

requireKmsKeyForCluster

(Function)

Type Signature

 fun { references: Optional<List<String>> } -> fun (DBCluster) -> Validation
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBCluster) -> Validation

requireKmsKeyForInstance

(Function)

Type Signature

 fun { references: Optional<List<String>> } -> fun (DBInstance) -> Validation
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBInstance) -> Validation

requireMultiAZ

(Function)

Require that multiAZ is enabled for database instances.

Type Signature

 fun { references: Optional<List<String>> } -> fun (DBInstance) -> Validation
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBInstance) -> Validation

requireSubnetsInMultipleAZs

(Function)

Type Signature

 fun { references: Optional<List<String>> } -> fun (DBSubnetGroup) -> Validation
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( DBSubnetGroup) -> Validation