Fugue.AWS.RDS.Validation.SQLServer

Module Members

runValidations

(Function)

Type Signature

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

validAllocatedStorage

(Function)

Type Signature

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

validDatabaseName

(Function)

Type Signature

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

validInstanceClass

(Function)

Type Signature

 fun (DBInstanceClass) -> Validation
Argument: instanceClass
Type: DBInstanceClass
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

validateAllocateStorage

(Function)

Type Signature

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

validateDatabaseName

(Function)

Type Signature

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

validateInstanceClass

(Function)

Type Signature

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

validateMasterUsername

(Function)

Type Signature

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

validatePort

(Function)

Type Signature

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

allowedInstanceClasses

(Value)

allowedInstanceClasses:
  [DB_M1_SMALL
  ,DB_M1_MEDIUM
  ,DB_M1_LARGE
  ,DB_M1_XLARGE
  ,DB_M2_XLARGE
  ,DB_M2_2XLARGE
  ,DB_M2_4XLARGE
  ,DB_M3_MEDIUM
  ,DB_M3_LARGE
  ,DB_M3_XLARGE
  ,DB_M3_2XLARGE
  ,DB_M4_LARGE
  ,DB_M4_XLARGE
  ,DB_M4_2XLARGE
  ,DB_M4_4XLARGE
  ,DB_M4_10XLARGE
  ,DB_M4_16XLARGE
  ,DB_R3_LARGE
  ,DB_R3_XLARGE
  ,DB_R3_2XLARGE
  ,DB_R3_4XLARGE
  ,DB_R3_8XLARGE
  ,DB_R4_LARGE
  ,DB_R4_XLARGE
  ,DB_R4_2XLARGE
  ,DB_R4_4XLARGE
  ,DB_R4_8XLARGE
  ,DB_R4_16XLARGE
  ,DB_T2_MICRO
  ,DB_T2_SMALL
  ,DB_T2_MEDIUM
  ,DB_T2_LARGE]

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html

engine

(Value)

engine:
  "SQL Server"

excludedPortRanges

(Value)

excludedPortRanges:
  [min: 49152
   max: 49156]

excludedPorts

(Value)

excludedPorts:
  [1434,3389,47001,49152]

masterUsernameConditions

(Value)

masterUsernameConditions:
  "Must be 1 to 128 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,127}$")

masterUsernameReservedWords

(Value)

masterUsernameReservedWords:
  []

portConditions

(Value)

portConditions:
  " in the range 1150-65535 except for 1434 , 3389 , 47001 , 49152 , and 49152 through 49156"