| Package | Description |
|---|---|
| com.amazonaws.auth.policy.conditions |
Collection of AWS access control policy conditions.
|
| Modifier and Type | Method and Description |
|---|---|
static StringCondition.StringComparisonType |
StringCondition.StringComparisonType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringCondition.StringComparisonType[] |
StringCondition.StringComparisonType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Condition |
ConditionFactory.newRefererCondition(StringCondition.StringComparisonType comparisonType,
String value)
Constructs a new access control policy condition that tests the incoming
request's referer field against the specified value, using the specified
comparison type.
|
static Condition |
ConditionFactory.newUserAgentCondition(StringCondition.StringComparisonType comparisonType,
String value)
Constructs a new access control policy condition that tests the incoming
request's user agent field against the specified value, using the
specified comparison type.
|
| Constructor and Description |
|---|
StringCondition(StringCondition.StringComparisonType type,
String key,
String value)
Constructs a new access control policy condition that compares two
strings.
|
Copyright © 2022. All rights reserved.