AWSIoTCreatePolicyVersionRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSIoTModel.h
AWSIoTModel.m

Overview

The input for the CreatePolicyVersion operation.

Required parameters: [policyName, policyDocument]

  policyDocument

The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespaces

@property (nonatomic, strong) NSString *policyDocument

Declared In

AWSIoTModel.h

  policyName

The policy name.

@property (nonatomic, strong) NSString *policyName

Declared In

AWSIoTModel.h

  setAsDefault

Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

@property (nonatomic, strong) NSNumber *setAsDefault

Declared In

AWSIoTModel.h