AWSIoTAttachPrincipalPolicyRequest
Objective-C
@interface AWSIoTAttachPrincipalPolicyRequest
Swift
class AWSIoTAttachPrincipalPolicyRequest
The input for the AttachPrincipalPolicy operation.
Required parameters: [policyName, principal]
-
The policy name.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable policyName;
Swift
var policyName: String? { get set }
-
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable principal;
Swift
var principal: String? { get set }