OBSPolicyStatement Class Reference

Inherits from OBSBaseEntity : OBSAbstractModel : OBSMTLModel
Declared in OBSServiceCommonEntities.h
OBSServiceCommonEntities.m

Overview

Policy statement

Other Methods

– initWithSid:effect:

Initialize a policy statement.

- (instancetype)initWithSid:(NSString *)sid effect:(OBSPolicyEffect)effect

Parameters

sid

Statement ID

effect

Statement effect

Return Value

Policy statement

Declared In

OBSServiceCommonEntities.h

Other Methods

  sid

Statement ID, which is a character string identifying the statement

@property (nonatomic, strong, nonnull) NSString *sid

Declared In

OBSServiceCommonEntities.h

  effect

Statement effect

@property (nonatomic, assign) OBSPolicyEffect effect

Discussion

OBSPolicyEffectAllow,

OBSPolicyEffectDeny,

Declared In

OBSServiceCommonEntities.h

  principal

Principal

@property (nonatomic, strong, nonnull) OBSPolicyPrincipal *principal

Declared In

OBSServiceCommonEntities.h

  notPrincipal

@property (nonatomic, strong, nonnull) OBSPolicyPrincipal *notPrincipal

Declared In

OBSServiceCommonEntities.h

  condition

Conditions to make the statement effective

@property (nonatomic, strong, nonnull) OBSPolicyCondition *condition

Declared In

OBSServiceCommonEntities.h

  actionList

List of actions included in the statement

@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *actionList

Declared In

OBSServiceCommonEntities.h

  notActionList

List of actions excluded in the statement

@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *notActionList

Declared In

OBSServiceCommonEntities.h

  resourceList

List of resources to which the statement applies

@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *resourceList

Declared In

OBSServiceCommonEntities.h

  notResourceList

List of resources to which the statement will not apply

@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *notResourceList

Declared In

OBSServiceCommonEntities.h