title: Invalid parameter value error of YAML file
body: <p>I am working on AWS organization : currently creating scp policies under AWS organization as below:</p>
  
  <p><strong>Python file:</strong></p>
  
  <pre><code>policies = config['policies']
  
  for policy in policies:
   try:
     OUPolicy = client.create_policy(
        Description=policy['description'],
        Name= policy['Name'],
        Content=policy['content'],
        Type='SERVICE_CONTROL_POLICY'
      )
  </code></pre>
  
  <p><strong>YAML file:</strong></p>
  
  <pre class="lang-none prettyprint-override"><code> policies:
   - Name: xyz
     description: Service Control Policies for xyz
     content:
       Version: 2012-10-17
       Statement:
       - Effect: Allow
         Resource: "*"
         Action: "*"
       - Effect: Deny
         Resource: "*"
         Action: "*
  </code></pre>
  
  <p>I verified the YAML template and It is in proper format but still getting error as below:</p>
  
  <pre class="lang-none prettyprint-override"><code>Parameter validation failed:
  Invalid type for parameter Content, value: {'Version': datetime.date(2012, 10, 17), 'Statement': [{'Effect': 'Allow', 'Resource': '*', 'Action': '*'}, {'Effect': 'Deny', 'Resource': '*', 'Action': '*'}]}, type: &lt;class 'dict'&gt;, valid types: &lt;class 'str'&gt;
  </code></pre>