Fugue.AWS.Partition

Module Members

Partition

(Type)

type Partition:
  | Standard
  | GovCloud

GovCloud

(Constructor)

The AWS GovCloud (US) partition.

Standard

(Constructor)

The AWS Standard partition.

Partition

partition

(Value)

partition:
  case getEnv("FUGUE_RUNTIME_AWS_PARTITION") of | Optional "aws-us-gov" -> GovCloud
                                                | Optional "aws" -> Standard
                                                | None -> Standard
                                                | Optional p -> error(++("Unknown partition: '", ++(p, "'")))

The AWS partition the composition is be evaluated in. Note that a conductor only operates in a single partition.