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 }
-
Metadata which can be used to manage the policy.
For URI Request parameters use format: …key1=value1&key2=value2…
For the CLI command-line parameter use format: &&tags “key1=value1&key2=value2…”
For the cli-input-json file use format: “tags”: “key1=value1&key2=value2…”