AWSConnectRule

Objective-C

@interface AWSConnectRule

Swift

class AWSConnectRule

Information about a rule.

Required parameters: [Name, RuleId, RuleArn, TriggerEventSource, Function, Actions, PublishStatus, CreatedTime, LastUpdatedTime, LastUpdatedBy]

  • A list of actions to be run when the rule is triggered.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSConnectRuleAction *> *_Nullable actions;

    Swift

    var actions: [AWSConnectRuleAction]? { get set }
  • The timestamp for when the rule was created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable createdTime;

    Swift

    var createdTime: Date? { get set }
  • The conditions of the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable function;

    Swift

    var function: String? { get set }
  • The Amazon Resource Name (ARN) of the user who last updated the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable lastUpdatedBy;

    Swift

    var lastUpdatedBy: String? { get set }
  • The timestamp for the when the rule was last updated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastUpdatedTime;

    Swift

    var lastUpdatedTime: Date? { get set }
  • The name of the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • The publish status of the rule.

    Declaration

    Objective-C

    @property (nonatomic) AWSConnectRulePublishStatus publishStatus;

    Swift

    var publishStatus: AWSConnectRulePublishStatus { get set }
  • The Amazon Resource Name (ARN) of the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable ruleArn;

    Swift

    var ruleArn: String? { get set }
  • A unique identifier for the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable ruleId;

    Swift

    var ruleId: String? { get set }
  • The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable tags;

    Swift

    var tags: [String : String]? { get set }
  • The event source to trigger the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSConnectRuleTriggerEventSource *_Nullable triggerEventSource;

    Swift

    var triggerEventSource: AWSConnectRuleTriggerEventSource? { get set }