This is a list of controls that can be placed into an IAM policy document. All content comes from AWS documentation.
Something wrong? Try looking here.
Table of Contents generated with DocToc
```yaml | |
- name: Provision a compute instance | |
hosts: localhost | |
gather_facts: no | |
become: no | |
vars: | |
os_config_file: "{{ lookup('env', 'OS_CLIENT_CONFIG_FILE') }}" | |
os_auth: | |
project_name: "{{ lookup('env', 'OS_PROJECT') }}" | |
auth_url: "{{ lookup('env', 'OS_AUTH_URL') }}" |
module Main where | |
import qualified System.Directory as Directory | |
import qualified System.FilePath as FilePath | |
import Control.Monad (forM, forM_, liftM) | |
import qualified Data.HashMap.Strict as HashMap | |
import Text.Printf (printf) | |
isFile :: FilePath -> IO Bool | |
isFile = Directory.doesFileExist |
#!/usr/bin/env bash | |
# | |
# This is sp, the command-line Spotify controller. It talks to a running | |
# instance of the Spotify Linux client over dbus, providing an interface not | |
# unlike mpc. | |
# | |
# Put differently, it allows you to control Spotify without leaving the comfort | |
# of your command line, and without a custom client or Premium subscription. | |
# |
module Example () where | |
import Network.HTTP | |
-- Non HTTPS | |
-- 1. Perform a basic HTTP get request and return the body | |
get :: String -> IO String | |
get url = simpleHTTP (getRequest url) >>= getResponseBody |