Class BooleanCondition


  • public class BooleanCondition
    extends Condition
    AWS access control policy condition that allows an access control statement to be conditionally applied based on a comparison of boolean values.
    • Constructor Detail

      • BooleanCondition

        public BooleanCondition​(String key,
                                boolean value)
        Constructs a new access policy condition that performs a boolean comparison.
        Parameters:
        key - The access policy condition key specifying where to get the first boolean value for the comparison (ex: aws:SecureTransport).
        value - The boolean to compare against.