title: Does AWS CloudWatch Events Rule supports any wildcards in S3 bucket/key names
body: <p>I am trying to create an event rule that is triggered by a change in a file in S3 bucket in different AWS account. Detail description is <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEvents-CrossAccountEventDelivery.html" rel="noreferrer">here</a></p>
  
  <p>So far the rule works fine with exact file names, but I need to make it work with filename prefixes. In the working example, the file name is an exact string in the non-working example the file name is a wildcard. Does CloudWatch Events Rule JSON pattern supports wildcards?</p>
  
  <p>Working configuration:</p>
  
  <pre><code>{
    "source": ["aws.s3"],
    "account": ["1111111xxxxx"],
    "detail": {
      "eventSource": ["s3.amazonaws.com"],
      "eventName": ["PutObject"],
      "requestParameters": { "bucketName": ["mybucket"], "key": ["myfile-20180301.csv"] }
    }
  }
  </code></pre>
  
  <p>Non-working configuration:</p>
  
  <pre><code>{
    "source": ["aws.s3"],
    "account": ["1111111xxxxx"],
    "detail": {
      "eventSource": ["s3.amazonaws.com"],
      "eventName": ["PutObject"],
      "requestParameters": { "bucketName": ["mybucket"], "key": ["myfile-*"] }
    }
  }
  </code></pre>