コード例 #1
0
 public Ec2ImageDeregisterer(AwsImageDescribeOptionsValues options, AwsImageDeregisterOptionsValues deregisterOptions)
 {
     _client                = new AmazonEC2Client(options.Credentials, options.RegionEndpoint);
     _imageHandler          = new Ec2ImageHandler(_client);
     this.options           = options;
     this.deregisterOptions = deregisterOptions;
 }
コード例 #2
0
        public Ec2ImageCreator(AwsImageCreateOptionsValues options)
        {
            _client  = new AmazonEC2Client(options.Credentials, options.RegionEndpoint);
            _options = options;

            _imageHandler = new Ec2ImageHandler(_client);
        }