All Implemented Interfaces:
FromSourceLocation, ToNode, TypeCheck, ToCondition, ToExpression

public final class AwsPartition extends LibraryFunction
An AWS rule-set function for mapping a region string to a partition.
  • Field Details

    • ID

      public static final String ID
      See Also:
    • NAME

      public static final Identifier NAME
    • DNS_SUFFIX

      public static final Identifier DNS_SUFFIX
    • DUAL_STACK_DNS_SUFFIX

      public static final Identifier DUAL_STACK_DNS_SUFFIX
    • SUPPORTS_FIPS

      public static final Identifier SUPPORTS_FIPS
    • SUPPORTS_DUAL_STACK

      public static final Identifier SUPPORTS_DUAL_STACK
    • IMPLICIT_GLOBAL_REGION

      public static final Identifier IMPLICIT_GLOBAL_REGION
    • INFERRED

      public static final Identifier INFERRED
  • Method Details

    • getDefinition

      public static AwsPartition.Definition getDefinition()
      Gets the FunctionDefinition implementation.
      Returns:
      the function definition.
    • ofExpressions

      public static AwsPartition ofExpressions(ToExpression arg1)
      Creates a AwsPartition function from the given expressions.
      Parameters:
      arg1 - the region to retrieve partition information from.
      Returns:
      The resulting AwsPartition function.
    • accept

      public <T> T accept(ExpressionVisitor<T> visitor)
      Description copied from class: Expression
      Invoke the ExpressionVisitor functions for this expression.
      Specified by:
      accept in class Expression
      Type Parameters:
      T - the visitor return type.
      Parameters:
      visitor - the visitor to be invoked.
      Returns:
      the return value of the visitor.