/// <summary> /// Constructs a new access control policy condition that compares ARNs (Amazon Resource Names). /// </summary> /// <param name="key"> The access policy condition key specifying where to get the first ARN for the comparison</param> /// <param name="type">The type of comparison to perform.</param> /// <param name="value">The second ARN to compare against. When using ArnLike or ArnNotLike this may contain the /// multi-character wildcard (*) or the single-character wildcard</param> public static Condition NewCondition(ArnComparisonType type, string key, string value) { return(new Condition(type.ToString(), key, value)); }
/// <summary> /// Constructs a new access control policy condition that compares ARNs (Amazon Resource Names). /// </summary> /// <param name="key"> The access policy condition key specifying where to get the first ARN for the comparison</param> /// <param name="type">The type of comparison to perform.</param> /// <param name="value">The second ARN to compare against. When using ArnLike or ArnNotLike this may contain the /// multi-character wildcard (*) or the single-character wildcard</param> public static Condition NewCondition(ArnComparisonType type, string key, string value) { return new Condition(type.ToString(), key, value); }