mllrsohn / grunt-invalidate-cloudfront

Sends a invalidation request to amazon cloudfront
MIT License
26 stars 13 forks source link

How to config proxy in this module? #12

Open jpges opened 9 years ago

jpges commented 9 years ago

I need configurate proxy url in AWS.Config proxy like httpOptions, but i don't find this option.

External options are:

    options = @options(
        key: '',
        secret: '',
        region: 'eu-west-1'
        distribution: ''
    )

And then, code constructs AWS.Config like

cf = new AWS.CloudFront(new AWS.Config({accessKeyId:options.key, secretAccessKey: options.secret, region:options.region}))

I need something similar to:

cf = new AWS.CloudFront(new AWS.Config({accessKeyId:options.key, secretAccessKey: options.secret, region:options.region, httpOptions: options.httpOptions}))

Is this possible?

I'm going to try a fork, some annotation?