AWSIoTAttachPrincipalPolicyRequest

@interface AWSIoTAttachPrincipalPolicyRequest

The input for the AttachPrincipalPolicy operation.

Required parameters: [policyName, principal]

  • The policy name.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) NSString *_Nullable principal;

    Swift

    var principal: String? { get set }