AWSIoTCreatePolicyRequest

Objective-C

@interface AWSIoTCreatePolicyRequest

Swift

class AWSIoTCreatePolicyRequest

The input for the CreatePolicy operation.

Required parameters: [policyName, policyDocument]

  • The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyDocument;

    Swift

    var policyDocument: String? { get set }
  • The policy name.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyName;

    Swift

    var policyName: String? { get set }