OBSPolicyStatement Class Reference
| Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
|---|---|
| Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
Other Methods
– initWithSid:effect:
Initialize a policy statement.
- (instancetype)initWithSid:(NSString *)sid effect:(OBSPolicyEffect)effectParameters
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 *sidDeclared In
OBSServiceCommonEntities.h
effect
Statement effect
@property (nonatomic, assign) OBSPolicyEffect effectDiscussion
OBSPolicyEffectAllow,
OBSPolicyEffectDeny,
Declared In
OBSServiceCommonEntities.h
principal
Principal
@property (nonatomic, strong, nonnull) OBSPolicyPrincipal *principalDeclared In
OBSServiceCommonEntities.h
notPrincipal
Nonprincipal
@property (nonatomic, strong, nonnull) OBSPolicyPrincipal *notPrincipalDeclared In
OBSServiceCommonEntities.h
condition
Conditions to make the statement effective
@property (nonatomic, strong, nonnull) OBSPolicyCondition *conditionDeclared In
OBSServiceCommonEntities.h
actionList
List of actions included in the statement
@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *actionListDeclared In
OBSServiceCommonEntities.h
notActionList
List of actions excluded in the statement
@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *notActionListDeclared In
OBSServiceCommonEntities.h
resourceList
List of resources to which the statement applies
@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *resourceListDeclared In
OBSServiceCommonEntities.h
notResourceList
List of resources to which the statement will not apply
@property (nonatomic, strong, nonnull) NSMutableArray<NSString*> *notResourceListDeclared In
OBSServiceCommonEntities.h