title: CodePipeline - S3 bucket name is not DNS-compliant
body: <p>I am using a folder in S3 bucket as the trigger to my code pipeline. Without folder with just bucket name everything works fine, but with folder it throws bucket name is not DNS compliant.</p>
  <p>I tried to give below mentioned names:</p>
  <pre><code>s3://sales/north/
  or 
  sales/north/
  </code></pre>
  <p>Does it look for only bucket name and a folder inside bucket can not be used ? Or the format in which I am proving the bucket name (with folder) is incorrect ?</p>