AWSIoTTestAuthorizationRequest
Objective-C
@interface AWSIoTTestAuthorizationRequest
Swift
class AWSIoTTestAuthorizationRequest
-
A list of authorization info objects. Simulating authorization will create a response for each
authInfoobject in the list.Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSIoTAuthInfo *> *_Nullable authInfos;Swift
var authInfos: [AWSIoTAuthInfo]? { get set } -
The MQTT client ID.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable clientId;Swift
var clientId: String? { get set } -
The Cognito identity pool ID.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable cognitoIdentityPoolId;Swift
var cognitoIdentityPoolId: String? { get set } -
When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable policyNamesToAdd;Swift
var policyNamesToAdd: [String]? { get set } -
When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable policyNamesToSkip;Swift
var policyNamesToSkip: [String]? { get set } -
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable principal;Swift
var principal: String? { get set }
View on GitHub
Install in Dash
AWSIoTTestAuthorizationRequest Class Reference