I had a codepipeline with a cloudformation template. I\'m creating a AWS::ApiGateway::Resource and AWS::ApiGateway::Method to access S3 bucket. First time it creates the method