{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-cdk/issues/467","repository_url":"https://api.github.com/repos/awslabs/aws-cdk","labels_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/467/comments","events_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/467/events","html_url":"https://github.com/awslabs/aws-cdk/issues/467","id":346571976,"node_id":"MDU6SXNzdWUzNDY1NzE5NzY=","number":467,"title":"Java - \"Malformed enum value\"","user":{"login":"maciejwalkowiak","id":1357927,"node_id":"MDQ6VXNlcjEzNTc5Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1357927?v=4","gravatar_id":"","url":"https://api.github.com/users/maciejwalkowiak","html_url":"https://github.com/maciejwalkowiak","followers_url":"https://api.github.com/users/maciejwalkowiak/followers","following_url":"https://api.github.com/users/maciejwalkowiak/following{/other_user}","gists_url":"https://api.github.com/users/maciejwalkowiak/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejwalkowiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejwalkowiak/subscriptions","organizations_url":"https://api.github.com/users/maciejwalkowiak/orgs","repos_url":"https://api.github.com/users/maciejwalkowiak/repos","events_url":"https://api.github.com/users/maciejwalkowiak/events{/privacy}","received_events_url":"https://api.github.com/users/maciejwalkowiak/received_events","type":"User","site_admin":false},"labels":[{"id":710749115,"node_id":"MDU6TGFiZWw3MTA3NDkxMTU=","url":"https://api.github.com/repos/awslabs/aws-cdk/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-01T12:08:38Z","updated_at":"2018-08-02T07:04:50Z","closed_at":null,"author_association":"NONE","body":"Using version \"0.8.0\", creating VPC stack does not work:\r\n\r\n<!--java -->\r\n \r\n    VpcNetwork vpc = new VpcNetwork(this,\r\n                \"MyCdkVpc\",\r\n                VpcNetworkProps.builder()\r\n                               .withCidr(\"10.0.0.0/16\")\r\n                               .withMaxAZs(3)\r\n                               .withSubnetConfiguration(Arrays.asList(\r\n                                       SubnetConfiguration.builder()\r\n                                                          .withSubnetType(SubnetType.Private)\r\n                                                          .withName(\"my-private-subnet-1\")\r\n                                                          .withCidrMask(24)\r\n                                                          .build()))    \r\n                               .withNatGateways(1)\r\n                               .build());\r\n\r\nResults in following error:\r\n\r\n    Malformed enum value: @aws-cdk/aws-ec2.SubnetType/Private\r\n    Error: Malformed enum value: @aws-cdk/aws-ec2.SubnetType/Private\r\n\r\nwhen executing `cdk deploy`.\r\n\r\nSame applies to other enums like `DefaultInstanceTenancy`."},"comment":{"url":"https://api.github.com/repos/awslabs/aws-cdk/issues/comments/409827785","html_url":"https://github.com/awslabs/aws-cdk/issues/467#issuecomment-409827785","issue_url":"https://api.github.com/repos/awslabs/aws-cdk/issues/467","id":409827785,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTgyNzc4NQ==","user":{"login":"rix0rrr","id":524162,"node_id":"MDQ6VXNlcjUyNDE2Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/524162?v=4","gravatar_id":"","url":"https://api.github.com/users/rix0rrr","html_url":"https://github.com/rix0rrr","followers_url":"https://api.github.com/users/rix0rrr/followers","following_url":"https://api.github.com/users/rix0rrr/following{/other_user}","gists_url":"https://api.github.com/users/rix0rrr/gists{/gist_id}","starred_url":"https://api.github.com/users/rix0rrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rix0rrr/subscriptions","organizations_url":"https://api.github.com/users/rix0rrr/orgs","repos_url":"https://api.github.com/users/rix0rrr/repos","events_url":"https://api.github.com/users/rix0rrr/events{/privacy}","received_events_url":"https://api.github.com/users/rix0rrr/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T07:04:50Z","updated_at":"2018-08-02T07:04:50Z","author_association":"CONTRIBUTOR","body":"I'm honestly not sure, but it doesn't seem like something you should have been able to break. So don't worry about it.\r\n\r\nThanks for offering though!"}}
{"actor":{"display_login":"rix0rrr"}}