Fugue.AWS.RDS.Validation.AuroraCommon

Module Members

restrictedClusterInstanceField

(Function)

Type Signature

 fun (DBInstance, Bool, String, String) -> Validation
Argument: dbInstance
Type: DBInstance
Argument: provided
Type: Bool
Argument: field
Type: String
Argument: details
Type: String
Returns:
Type: Validation

runClusterInstanceValidations

(Function)

Type Signature

 fun (DBInstance) -> Bool
Argument: dbInstance
Type: DBInstance
Returns:
Type: Bool

validDatabaseName

(Function)

Type Signature

 fun (Optional<String>) -> Validation
Argument: maybeDatabaseName
Type: Optional<String>
Returns:
Type: Validation

validMasterUsername

(Function)

Type Signature

 fun (Optional<String>) -> Validation
Argument: maybeMasterUsername
Type: Optional<String>
Returns:
Type: Validation

validPort

(Function)

Type Signature

 fun (Optional<Int>) -> Validation
Argument: maybePort
Type: Optional<Int>
Returns:
Type: Validation

validateClusterBackupRetentionPeriod

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterDatabaseName

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterEnableIAMDatabaseAuthorization

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterEngine

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterFinalSnapshotIdentifier

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterIdentifier

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterMasterUsername

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterPort

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterPreferredBackupWindow

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterPreferredMaintenanceWindow

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterSecurityGroups

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterSnapshotIdentifier

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateClusterTags

(Function)

Type Signature

 fun (DBCluster) -> Validation
Argument: dbCluster
Type: DBCluster
Returns:
Type: Validation

validateEngineMatches

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceAllocatedStorage

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceBackupRetentionPeriod

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceCharacterSet

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceEngineVersion

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceKmsKey

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceMasterUserPassword

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceMasterUsername

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstancePreferredBackupWindow

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceSecurityGroups

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateNoInstanceStorageEncrypted

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

validateSubnetGroupMatches

(Function)

Type Signature

 fun (DBInstance) -> Validation
Argument: dbInstance
Type: DBInstance
Returns:
Type: Validation

databaseNameConditions

(Value)

databaseNameConditions:
  "Must contain 1 to 64 letters or numbers. Cannot be a word reserved by the specified database engine"

databaseNameRegex

(Value)

databaseNameRegex:
  new(pattern: "^[:alnum:]{1,64}$")

databaseNameReservedWords

(Value)

databaseNameReservedWords:
  []

engine

(Value)

engine:
  "AuroraCommon"

masterUsernameConditions

(Value)

masterUsernameConditions:
  "Must be 1 to 16 letters or numbers. First character must be a letter. Cannot be a reserved word for the chosen database engine."

masterUsernameRegex

(Value)

masterUsernameRegex:
  new(pattern: "^[A-Za-z][:alnum:]{0,15}$")

masterUsernameReservedWords

(Value)

masterUsernameReservedWords:
  []

portConditions

(Value)

portConditions:
  " in the range 1150-65535"