public Ec2Instance(AmazonEC2Client client, Config config, string name, InstanceSpecification specification) { this.Client = client; this.config = config; this.Name = name; this.Specification = specification; this.uniqueKey = Guid.NewGuid().ToString(); this.state = CreationState.DoesntExist; this.Logger = new StubLogger(); }