nm_iam_configuration_statement_create_condition()

DESCRIPTION

Create a condition for a statement

DECLARATION

struct nm_iam_condition* nm_iam_configuration_statement_create_condition(struct nm_iam_statement* statement, enum nm_iam_condition_operator op, const char* key)

PARAMETERS

statement:
[in] Statement to create condition in
op:
[in] Operator to use for value matching
key:
[in] Attribute key to match values to. String is copied into condition.

RETURN VALUES

condition reference to use when adding values. Reference is valid for the lifetime of the policy. NULL if the condition could not be created

EXAMPLES

None.