Class BooleanCondition
java.lang.Object
com.amazonaws.auth.policy.Condition
com.amazonaws.auth.policy.conditions.BooleanCondition
AWS access control policy condition that allows an access control statement to be
conditionally applied based on a comparison of boolean values.
-
Field Summary
Fields inherited from class com.amazonaws.auth.policy.Condition
conditionKey, type, values
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanCondition
(String key, boolean value) Constructs a new access policy condition that performs a boolean comparison. -
Method Summary
Methods inherited from class com.amazonaws.auth.policy.Condition
getConditionKey, getType, getValues, setConditionKey, setType, setValues, withConditionKey, withType, withValues, withValues
-
Constructor Details
-
BooleanCondition
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.
-