{"action":"closed","issue":{"url":"https://api.github.com/repos/awslabs/aws-cdk/issues/895","repository_url":"https://api.github.com/repos/awslabs/aws-cdk","labels_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/895/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/895/comments","events_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/895/events","html_url":"https://github.com/awslabs/aws-cdk/issues/895","id":368998490,"node_id":"MDU6SXNzdWUzNjg5OTg0OTA=","number":895,"title":"RestApiResource.withPolicy() does not accept a PolicyDocument in Java","user":{"login":"leepa","id":9469,"node_id":"MDQ6VXNlcjk0Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/9469?v=4","gravatar_id":"","url":"https://api.github.com/users/leepa","html_url":"https://github.com/leepa","followers_url":"https://api.github.com/users/leepa/followers","following_url":"https://api.github.com/users/leepa/following{/other_user}","gists_url":"https://api.github.com/users/leepa/gists{/gist_id}","starred_url":"https://api.github.com/users/leepa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leepa/subscriptions","organizations_url":"https://api.github.com/users/leepa/orgs","repos_url":"https://api.github.com/users/leepa/repos","events_url":"https://api.github.com/users/leepa/events{/privacy}","received_events_url":"https://api.github.com/users/leepa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-11T08:02:39Z","updated_at":"2018-10-11T08:52:29Z","closed_at":"2018-10-11T08:52:28Z","author_association":"CONTRIBUTOR","body":"```\r\nERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project infrastructure: Compilation failure\r\n[ERROR] /Users/leepac/Code/LeePacDotFishing/infrastructure/src/main/java/fishing/lee/infrastructure/ShopBackend.java:[207,17] no suitable method found for withPolicy(software.amazon.awscdk.PolicyDocument)\r\n[ERROR]     method software.amazon.awscdk.services.apigateway.cloudformation.RestApiResourceProps.Builder.withPolicy(com.fasterxml.jackson.databind.node.ObjectNode) is not applicable\r\n[ERROR]       (argument mismatch; software.amazon.awscdk.PolicyDocument cannot be converted to com.fasterxml.jackson.databind.node.ObjectNode)\r\n[ERROR]     method software.amazon.awscdk.services.apigateway.cloudformation.RestApiResourceProps.Builder.withPolicy(software.amazon.awscdk.CloudFormationToken) is not applicable\r\n[ERROR]       (argument mismatch; software.amazon.awscdk.PolicyDocument cannot be converted to software.amazon.awscdk.CloudFormationToken)\r\n```\r\n"}}
{"actor":{"display_login":"eladb"}}