public modifyAttribute ( Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string $attribute, mixed $value ) : boolean | ||
$attribute | Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string | The attribute name. |
$value | mixed | The attribute value can be string, boolean, array or object depends on attribute name. |
리턴 | boolean | Returns TRUE on success |
public function modifyAttribute($attribute, $value)
{
$this->throwExceptionIfNotInitialized();
return $this->getEc2()->instance->modifyAttribute($this->instanceId, $attribute, $value);
}