Constructs a new access control policy condition that compares two
strings.
Declaration Syntax
C# |
public static Condition NewCondition( ConditionFactory..::..StringComparisonType type, string key, string value )
Parameters
- type (ConditionFactory..::..StringComparisonType)
- The type of comparison to perform
- key (String)
- The access policy condition key specifying where to get the first string for the comparison (ex: aws:UserAgent).
- value (String)
- The second string to compare against. When using StringComparisonType.StringLike or StringComparisonType.StringNotLike this may contain the multi-character wildcard (*) or the single-character wildcard (?).