You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::CreatePolicyRequestWhen passing CreatePolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
policy_name: "PolicyName", policy_document: "PolicyDocument", tags: [
{
key: "TagKey", value: "TagValue",
},
],
}
The input for the CreatePolicy operation.
Instance Attribute Summary collapseThe JSON document that describes the policy.
The policy name.
Metadata which can be used to manage the policy.
The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.
#tags ⇒ Array<Types::Tag>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...\"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4